/external/chromium_org/ui/gfx/image/ |
image_util_unittest.cc | 46 SkBitmap bitmap2; local 47 bitmap2.allocN32Pixels(16, 16); 48 bitmap2.eraseColor(SK_ColorTRANSPARENT); 49 gfx::ImageSkia img_transparent = gfx::ImageSkia::CreateFrom1xBitmap(bitmap2);
|
image_unittest.cc | 149 const SkBitmap* bitmap2 = image.ToSkBitmap(); local 152 EXPECT_EQ(bitmap1, bitmap2); 514 const SkBitmap* bitmap2 = from_platform.ToSkBitmap(); local 515 SkAutoLockPixels auto_lock(*bitmap2); 518 gt::CheckColors(bitmap2->getColor(10, 10), SK_ColorRED); 519 gt::CheckColors(bitmap2->getColor(10, 40), SK_ColorGREEN); 555 const SkBitmap* bitmap2 = from_platform.ToSkBitmap(); local 556 SkAutoLockPixels auto_lock(*bitmap2); 559 gt::CheckColors(bitmap2->getColor(10, 10), SK_ColorRED);
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/ |
ActivityTestBase.java | 136 Bitmap bitmap2; local 139 bitmap2 = bitmap1; 143 !Arrays.equals(getBitmapPixels(bitmap2), getBitmapPixels(bitmap1))); 168 protected void assertBitmapsAreSimilar(Bitmap bitmap1, Bitmap bitmap2, 175 Allocation givenAllocation = Allocation.createFromBitmap(mRenderScript, bitmap2, 181 bitmap2.getPixels(mHardwareArray, 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 | 63 SkBitmap bitmap2 = i2.GetRepresentation(scale).sk_bitmap(); local 64 return gfx::BitmapsAreEqual(bitmap1, bitmap2);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
BitmapTest.java | 85 Bitmap bitmap2 = Robolectric.newInstanceOf(Bitmap.class); local 86 shadowOf(bitmap2).appendDescription("Bitmap Two"); 89 canvas.drawBitmap(bitmap2, 0, 0, null); 99 Bitmap bitmap2 = Robolectric.newInstanceOf(Bitmap.class); local 100 shadowOf(bitmap2).appendDescription("Bitmap Two"); 103 canvas.drawBitmap(bitmap2, new Matrix(), null); 113 Bitmap bitmap2 = Robolectric.newInstanceOf(Bitmap.class); local 114 shadowOf(bitmap2).appendDescription("Bitmap Two"); 119 canvas.drawBitmap(bitmap2, new Matrix(), paint);
|
/cts/tests/tests/view/src/android/view/cts/ |
ViewTest.java | 1053 Bitmap bitmap2 = view.getDrawingCache(); local [all...] |