/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 | 64 struct bitmap2* bm2; member in struct:bm_cache_elem 133 void DRD_(bm_swap)(struct bitmap* const bm1, struct bitmap* const bm2); 137 void DRD_(bm_mark)(struct bitmap* bm1, struct bitmap* bm2); 142 struct bitmap* const bm2); 145 struct bitmap* const bm2); 152 void DRD_(bm2_free_node)(void* const bm2);
|
drd_bitmap.c | 44 static void bm2_print(const struct bitmap2* const bm2); 92 bm->cache[i].bm2 = 0; 141 struct bitmap2* bm2; local 150 bm2 = bm2_lookup_or_insert_exclusive(bm, address_msb(b)); 151 tl_assert(bm2); 153 if (make_address(bm2->addr, 0) < a1) 156 if (make_address(bm2->addr, 0) < a2) 157 b_start = make_address(bm2->addr, 0); 161 if (make_address(bm2->addr + 1, 0) < a2) 162 b_end = make_address(bm2->addr + 1, 0) 238 struct bitmap2* bm2; local 340 const struct bitmap2* bm2 = bm2_lookup(bm, address_msb(b)); local 393 const struct bitmap2* bm2 = bm2_lookup(bm, address_msb(b)); local 448 const struct bitmap2* bm2 = bm2_lookup(bm, address_msb(b)); local 781 const struct bitmap2* bm2 = bm2_lookup(bm, address_msb(b)); local 1016 struct bitmap2* bm2; local 1032 const struct bitmap2* bm2; local 1066 struct bitmap2* bm2; local 1109 struct bitmap2* bm2; local 1182 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/valgrind/main/drd/tests/ |
unit_bitmap.c | 89 int bm_equal_print_diffs(struct bitmap* bm1, struct bitmap* bm2) 93 equal = DRD_(bm_equal)(bm1, bm2); 101 if (DRD_(bm_has_1)(bm1, i, eLoad) != DRD_(bm_has_1)(bm2, i, eLoad) 102 || DRD_(bm_has_1)(bm1, i, eStore) != DRD_(bm_has_1)(bm2, i, eStore)) 108 DRD_(bm_has_1)(bm2, i, eLoad) ? 'R' : ' ', 109 DRD_(bm_has_1)(bm2, i, eStore) ? 'W' : ' ' 122 struct bitmap* bm2; local 147 bm2 = DRD_(bm_new)(); 148 DRD_(bm_merge2)(bm2, bm); 149 DRD_(bm_merge2)(bm2, bm) 164 struct bitmap* bm2; local 187 struct bitmap* bm2; local [all...] |
/external/skia/samplecode/ |
SampleHairline.cpp | 222 SkBitmap bm, bm2; local 230 bm2.setConfig(SkBitmap::kARGB_8888_Config, WIDTH, HEIGHT, 232 bm2.setPixels(bm.getAddr32(MARGIN, MARGIN)); 234 SkCanvas c2(bm2); 239 bm2.eraseColor(0); 241 canvas->drawBitmap(bm2, SkIntToScalar(10), SkIntToScalar(10), NULL);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapTest.java | 471 Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); local 476 assertEquals(Bitmap.Config.RGB_565, bm2.getConfig()); 544 Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); local 549 assertEquals(200, bm2.getRowBytes());
|