/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | BitmapTest.java | 82 Bitmap bitmap1 = Robolectric.newInstanceOf(Bitmap.class); in shouldReceiveDescriptionWhenDrawingToCanvas() local 83 shadowOf(bitmap1).appendDescription("Bitmap One"); in shouldReceiveDescriptionWhenDrawingToCanvas() 88 Canvas canvas = new Canvas(bitmap1); in shouldReceiveDescriptionWhenDrawingToCanvas() 91 assertEquals("Bitmap One\nBitmap Two", shadowOf(bitmap1).getDescription()); in shouldReceiveDescriptionWhenDrawingToCanvas() 96 Bitmap bitmap1 = Robolectric.newInstanceOf(Bitmap.class); in shouldReceiveDescriptionWhenDrawingToCanvasWithBitmapAndMatrixAndPaint() local 97 shadowOf(bitmap1).appendDescription("Bitmap One"); in shouldReceiveDescriptionWhenDrawingToCanvasWithBitmapAndMatrixAndPaint() 102 Canvas canvas = new Canvas(bitmap1); in shouldReceiveDescriptionWhenDrawingToCanvasWithBitmapAndMatrixAndPaint() 105 … assertEquals("Bitmap One\nBitmap Two transformed by matrix", shadowOf(bitmap1).getDescription()); in shouldReceiveDescriptionWhenDrawingToCanvasWithBitmapAndMatrixAndPaint() 110 Bitmap bitmap1 = Robolectric.newInstanceOf(Bitmap.class); in shouldReceiveDescriptionWhenDrawABitmapToCanvasWithAPaintEffect() local 111 shadowOf(bitmap1).appendDescription("Bitmap One"); in shouldReceiveDescriptionWhenDrawABitmapToCanvasWithAPaintEffect() [all …]
|
/external/kernel-headers/original/linux/ |
D | bitmap.h | 85 extern int __bitmap_equal(const unsigned long *bitmap1, 93 extern void __bitmap_and(unsigned long *dst, const unsigned long *bitmap1, 95 extern void __bitmap_or(unsigned long *dst, const unsigned long *bitmap1, 97 extern void __bitmap_xor(unsigned long *dst, const unsigned long *bitmap1, 99 extern void __bitmap_andnot(unsigned long *dst, const unsigned long *bitmap1, 101 extern int __bitmap_intersects(const unsigned long *bitmap1, 103 extern int __bitmap_subset(const unsigned long *bitmap1,
|
/external/chromium_org/chrome/browser/prerender/ |
D | prerender_tab_helper.cc | 126 double CompareBitmaps(SkBitmap* bitmap1, SkBitmap* bitmap2) { in CompareBitmaps() argument 127 if (!bitmap1 || !bitmap2) { in CompareBitmaps() 130 if (bitmap1->width() != bitmap2->width() || in CompareBitmaps() 131 bitmap1->height() != bitmap2->height()) { in CompareBitmaps() 134 int pixels = bitmap1->width() * bitmap1->height(); in CompareBitmaps() 136 for (int y = 0; y < bitmap1->height(); ++y) { in CompareBitmaps() 137 for (int x = 0; x < bitmap1->width(); ++x) { in CompareBitmaps() 138 if (bitmap1->getColor(x, y) == bitmap2->getColor(x, y)) in CompareBitmaps()
|
/external/chromium_org/ui/gfx/ |
D | skia_util.cc | 141 bool BitmapsAreEqual(const SkBitmap& bitmap1, const SkBitmap& bitmap2) { in BitmapsAreEqual() argument 147 bitmap1.lockPixels(); in BitmapsAreEqual() 148 addr1 = bitmap1.getAddr32(0, 0); in BitmapsAreEqual() 149 size1 = bitmap1.getSize(); in BitmapsAreEqual() 150 bitmap1.unlockPixels(); in BitmapsAreEqual() 157 return (size1 == size2) && (0 == memcmp(addr1, addr2, bitmap1.getSize())); in BitmapsAreEqual()
|
D | skia_util.h | 64 GFX_EXPORT bool BitmapsAreEqual(const SkBitmap& bitmap1,
|
/external/valgrind/main/drd/ |
D | drd_bitmap.c | 356 const struct bitmap1* const p1 = &bm2->bm1; in DRD_() 390 const struct bitmap1* const p1 = &bm2->bm1; in DRD_() 443 const struct bitmap1* const p1 = &bm2->bm1; in DRD_() 498 const struct bitmap1* const p1 = &bm2->bm1; in DRD_() 541 const struct bitmap1* p1; in DRD_() 831 const struct bitmap1* const p1 = &bm2->bm1; in DRD_() 1171 const struct bitmap1* bm1l; in DRD_() 1172 const struct bitmap1* bm1r; in DRD_() 1225 const struct bitmap1* bm1; in bm2_print()
|
D | drd_bitmap.h | 223 struct bitmap1 struct 336 struct bitmap1 bm1;
|
/external/chromium_org/ui/gfx/image/ |
D | image_unittest_util.h | 47 bool IsEqual(const SkBitmap& bitmap1, const SkBitmap& bitmap2);
|
D | image_unittest.cc | 152 const SkBitmap* bitmap1 = image.ToSkBitmap(); in TEST_F() local 154 EXPECT_TRUE(bitmap1); in TEST_F() 155 EXPECT_FALSE(bitmap1->isNull()); in TEST_F() 156 EXPECT_EQ(bitmap1, bitmap2); in TEST_F()
|
/external/chromium_org/chrome/browser/extensions/api/extension_action/ |
D | browser_action_apitest.cc | 64 SkBitmap bitmap1 = i1.GetRepresentation(scale).sk_bitmap(); in ImagesAreEqualAtScale() local 66 return gfx::BitmapsAreEqual(bitmap1, bitmap2); in ImagesAreEqualAtScale()
|
/external/mesa3d/src/mesa/drivers/common/ |
D | meta.c | 2623 const GLubyte *bitmap1) in _mesa_meta_Bitmap() argument 2646 _swrast_Bitmap(ctx, x, y, width, height, unpack, bitmap1); in _mesa_meta_Bitmap() 2739 bitmap1 = _mesa_map_pbo_source(ctx, &unpackSave, bitmap1); in _mesa_meta_Bitmap() 2740 if (!bitmap1) { in _mesa_meta_Bitmap() 2748 _mesa_expand_bitmap(width, height, &unpackSave, bitmap1, in _mesa_meta_Bitmap()
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/common/ |
D | meta.c | 2623 const GLubyte *bitmap1) in _mesa_meta_Bitmap() argument 2646 _swrast_Bitmap(ctx, x, y, width, height, unpack, bitmap1); in _mesa_meta_Bitmap() 2739 bitmap1 = _mesa_map_pbo_source(ctx, &unpackSave, bitmap1); in _mesa_meta_Bitmap() 2740 if (!bitmap1) { in _mesa_meta_Bitmap() 2748 _mesa_expand_bitmap(width, height, &unpackSave, bitmap1, in _mesa_meta_Bitmap()
|