Searched refs:bitmap1 (Results 1 - 12 of 12) sorted by relevance

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DBitmapTest.java82 Bitmap bitmap1 = Robolectric.newInstanceOf(Bitmap.class);
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);
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);
111 shadowOf(bitmap1)
[all...]
/external/chromium_org/chrome/browser/prerender/
H A Dprerender_tab_helper.cc124 double CompareBitmaps(SkBitmap* bitmap1, SkBitmap* bitmap2) { argument
125 if (!bitmap1 || !bitmap2) {
128 if (bitmap1->width() != bitmap2->width() ||
129 bitmap1->height() != bitmap2->height()) {
132 int pixels = bitmap1->width() * bitmap1->height();
134 for (int y = 0; y < bitmap1->height(); ++y) {
135 for (int x = 0; x < bitmap1->width(); ++x) {
136 if (bitmap1->getColor(x, y) == bitmap2->getColor(x, y))
/external/kernel-headers/original/linux/
H A Dbitmap.h85 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/ui/gfx/
H A Dskia_util.cc141 bool BitmapsAreEqual(const SkBitmap& bitmap1, const SkBitmap& bitmap2) { argument
147 bitmap1.lockPixels();
148 addr1 = bitmap1.getAddr32(0, 0);
149 size1 = bitmap1.getSize();
150 bitmap1.unlockPixels();
157 return (size1 == size2) && (0 == memcmp(addr1, addr2, bitmap1.getSize()));
H A Dskia_util.h64 UI_EXPORT bool BitmapsAreEqual(const SkBitmap& bitmap1,
/external/chromium_org/ui/gfx/image/
H A Dimage_unittest_util.h48 bool IsEqual(const SkBitmap& bitmap1, const SkBitmap& bitmap2);
H A Dimage_unittest.cc143 const SkBitmap* bitmap1 = image.ToSkBitmap(); local
145 EXPECT_TRUE(bitmap1);
146 EXPECT_FALSE(bitmap1->isNull());
147 EXPECT_EQ(bitmap1, bitmap2);
/external/valgrind/main/drd/
H A Ddrd_bitmap.c356 const struct bitmap1* const p1 = &bm2->bm1;
390 const struct bitmap1* const p1 = &bm2->bm1;
443 const struct bitmap1* const p1 = &bm2->bm1;
498 const struct bitmap1* const p1 = &bm2->bm1;
541 const struct bitmap1* p1;
831 const struct bitmap1* const p1 = &bm2->bm1;
1171 const struct bitmap1* bm1l;
1172 const struct bitmap1* bm1r;
1225 const struct bitmap1* bm1;
H A Ddrd_bitmap.h218 /* Functions for manipulating a struct bitmap1. */
223 struct bitmap1
336 struct bitmap1 bm1;
/external/chromium_org/chrome/browser/extensions/api/extension_action/
H A Dbrowser_action_apitest.cc63 SkBitmap bitmap1 = i1.GetRepresentation(scale_factor).sk_bitmap(); local
65 return gfx::BitmapsAreEqual(bitmap1, bitmap2);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/common/
H A Dmeta.c2623 const GLubyte *bitmap1)
2646 _swrast_Bitmap(ctx, x, y, width, height, unpack, bitmap1);
2739 bitmap1 = _mesa_map_pbo_source(ctx, &unpackSave, bitmap1);
2740 if (!bitmap1) {
2748 _mesa_expand_bitmap(width, height, &unpackSave, bitmap1,
2620 _mesa_meta_Bitmap(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap1) argument
/external/mesa3d/src/mesa/drivers/common/
H A Dmeta.c2623 const GLubyte *bitmap1)
2646 _swrast_Bitmap(ctx, x, y, width, height, unpack, bitmap1);
2739 bitmap1 = _mesa_map_pbo_source(ctx, &unpackSave, bitmap1);
2740 if (!bitmap1) {
2748 _mesa_expand_bitmap(width, height, &unpackSave, bitmap1,
2620 _mesa_meta_Bitmap(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap1) argument

Completed in 319 milliseconds