/external/webkit/Source/WebCore/platform/graphics/skia/ |
PatternSkia.cpp | 85 SkBitmap bm2; local 86 bm2.setConfig(bm->config(), bm->width() + expandW, bm->height() + expandH); 87 bm2.allocPixels(); 88 bm2.eraseARGB(0x00, 0x00, 0x00, 0x00); 89 SkCanvas canvas(bm2); 91 m_pattern = SkShader::CreateBitmapShader(bm2, tileModeX, tileModeY);
|
/external/valgrind/main/drd/ |
pub_drd_bitmap.h | 63 struct bitmap2* bm2; member in struct:bm_cache_elem 135 void DRD_(bm_swap)(struct bitmap* const bm1, struct bitmap* const bm2); 139 void DRD_(bm_mark)(struct bitmap* bm1, struct bitmap* bm2); 144 struct bitmap* const bm2); 147 struct bitmap* const bm2);
|
drd_bitmap.c | 43 static void bm2_print(const struct bitmap2* const bm2); 107 bm->cache[i].bm2 = 0; 155 struct bitmap2* bm2; local 164 bm2 = bm2_lookup_or_insert_exclusive(bm, address_msb(b)); 165 tl_assert(bm2); 167 if (make_address(bm2->addr, 0) < a1) 170 if (make_address(bm2->addr, 0) < a2) 171 b_start = make_address(bm2->addr, 0); 175 if (make_address(bm2->addr + 1, 0) < a2) 176 b_end = make_address(bm2->addr + 1, 0) 252 struct bitmap2* bm2; local 347 struct bitmap2* bm2; local 377 const struct bitmap2* bm2 = bm2_lookup(bm, address_msb(b)); local 430 const struct bitmap2* bm2 = bm2_lookup(bm, address_msb(b)); local 485 const struct bitmap2* bm2 = bm2_lookup(bm, address_msb(b)); local 818 const struct bitmap2* bm2 = bm2_lookup(bm, address_msb(b)); local 1053 struct bitmap2* bm2; local 1069 const struct bitmap2* bm2; local 1099 struct bitmap2* bm2; local 1140 struct bitmap2* bm2; local 1213 struct bitmap2* bm2; local [all...] |
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
BitmapTest.java | 28 Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); local 32 assertTrue("mutability", bm2.isMutable()); 36 assertEquals("width", 100, bm2.getWidth()); 40 assertEquals("rowbytes", 200, bm2.getRowBytes()); 44 assertEquals("byteCount", 40000, bm2.getByteCount()); 48 assertEquals("height", 200, bm2.getHeight()); 52 assertFalse("hasAlpha", bm2.hasAlpha()); 56 assertTrue("getConfig", bm2.getConfig() == Bitmap.Config.RGB_565); 63 Bitmap bm2 = Bitmap.createBitmap(new int[100 * 200], 100, 200, local 67 assertFalse("mutability", bm2.isMutable()) 131 Bitmap bm2 = Bitmap.createBitmap(10, 10, config); local 157 Bitmap bm2 = Bitmap.createBitmap(10, 10, config); local 191 Bitmap bm2 = Bitmap.createBitmap(16, 16, config); local [all...] |
/external/skia/gm/ |
simpleaaclip.cpp | 29 SkBitmap bm2; local 31 bm.deepCopyTo(&bm2, SkBitmap::kA8_Config); 33 canvas->drawBitmap(bm2,
|
/external/valgrind/main/drd/tests/ |
unit_bitmap.c | 99 int bm_equal_print_diffs(struct bitmap* bm1, struct bitmap* bm2) 103 equal = DRD_(bm_equal)(bm1, bm2); 111 if (DRD_(bm_has_1)(bm1, i, eLoad) != DRD_(bm_has_1)(bm2, i, eLoad) 112 || DRD_(bm_has_1)(bm1, i, eStore) != DRD_(bm_has_1)(bm2, i, eStore)) 118 DRD_(bm_has_1)(bm2, i, eLoad) ? 'R' : ' ', 119 DRD_(bm_has_1)(bm2, i, eStore) ? 'W' : ' ' 132 struct bitmap* bm2; local 157 bm2 = DRD_(bm_new)(); 158 DRD_(bm_merge2)(bm2, bm); 159 DRD_(bm_merge2)(bm2, bm) 174 struct bitmap* bm2; local 197 struct bitmap* bm2; local [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapTest.java | 382 Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); local 387 assertEquals(Bitmap.Config.RGB_565, bm2.getConfig()); 435 Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); local 440 assertEquals(200, bm2.getRowBytes());
|