HomeSort by relevance Sort by last modified time
    Searched defs:bitmap1 (Results 1 - 8 of 8) sorted by null

  /frameworks/base/graphics/tests/graphicstests/src/android/graphics/
BitmapFactoryTest.java 33 Bitmap bitmap1 = Bitmap.createBitmap( local
36 bitmap1.compress(Bitmap.CompressFormat.PNG, 100, out);
  /development/samples/devbytes/animation/CrossFading/src/com/example/android/crossfading/
CrossFading.java 49 Bitmap bitmap1 = Bitmap.createBitmap(500, 500, Bitmap.Config.ARGB_8888); local
52 canvas = new Canvas(bitmap1);
56 drawables[1] = new BitmapDrawable(getResources(), bitmap1);
  /external/chromium_org/ui/gfx/image/
image_util_unittest.cc 32 SkBitmap bitmap1; local
33 bitmap1.allocN32Pixels(16, 16);
34 bitmap1.eraseColor(SK_ColorTRANSPARENT);
35 bitmap1.eraseArea(SkIRect::MakeLTRB(3, 3, 14, 14), SK_ColorYELLOW);
36 gfx::ImageSkia img = gfx::ImageSkia::CreateFrom1xBitmap(bitmap1);
image_unittest.cc 148 const SkBitmap* bitmap1 = image.ToSkBitmap(); local
150 EXPECT_TRUE(bitmap1);
151 EXPECT_FALSE(bitmap1->isNull());
152 EXPECT_EQ(bitmap1, bitmap2);
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
ActivityTestBase.java 135 Bitmap bitmap1 = takeScreenshotImpl(); local
139 bitmap2 = bitmap1;
140 bitmap1 = takeScreenshotImpl();
143 !Arrays.equals(getBitmapPixels(bitmap2), getBitmapPixels(bitmap1)));
144 return bitmap1;
168 protected void assertBitmapsAreSimilar(Bitmap bitmap1, Bitmap bitmap2,
173 Allocation idealAllocation = Allocation.createFromBitmap(mRenderScript, bitmap1,
180 bitmap1.getPixels(mSoftwareArray, 0, TEST_WIDTH, 0, 0, TEST_WIDTH, TEST_HEIGHT);
187 BitmapDumper.dumpBitmaps(bitmap1, bitmap2, getName(), this.getClass().getSimpleName(),
  /external/chromium_org/chrome/browser/extensions/api/extension_action/
browser_action_apitest.cc 62 SkBitmap bitmap1 = i1.GetRepresentation(scale).sk_bitmap(); local
64 return gfx::BitmapsAreEqual(bitmap1, bitmap2);
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
BitmapTest.java 82 Bitmap bitmap1 = Robolectric.newInstanceOf(Bitmap.class); local
83 shadowOf(bitmap1).appendDescription("Bitmap One");
88 Canvas canvas = new Canvas(bitmap1);
91 assertEquals("Bitmap One\nBitmap Two", shadowOf(bitmap1).getDescription());
96 Bitmap bitmap1 = Robolectric.newInstanceOf(Bitmap.class); local
97 shadowOf(bitmap1).appendDescription("Bitmap One");
102 Canvas canvas = new Canvas(bitmap1);
105 assertEquals("Bitmap One\nBitmap Two transformed by matrix", shadowOf(bitmap1).getDescription());
110 Bitmap bitmap1 = Robolectric.newInstanceOf(Bitmap.class); local
111 shadowOf(bitmap1).appendDescription("Bitmap One")
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
ViewTest.java 1043 Bitmap bitmap1 = view.getDrawingCache(); local
    [all...]

Completed in 1591 milliseconds