/external/chromium_org/cc/test/ |
fake_scoped_ui_resource.cc | 14 SkBitmap skbitmap; local 15 skbitmap.setConfig(SkBitmap::kARGB_8888_Config, 1, 1); 16 skbitmap.allocPixels(); 17 skbitmap.setImmutable(); 18 return UIResourceBitmap(skbitmap);
|
/external/chromium_org/cc/layers/ |
nine_patch_layer_impl_unittest.cc | 57 SkBitmap skbitmap; local 58 skbitmap.setConfig( 59 SkBitmap::kARGB_8888_Config, bitmap_size.width(), bitmap_size.height()); 60 skbitmap.allocPixels(); 61 skbitmap.setImmutable(); 62 UIResourceBitmap bitmap(skbitmap);
|
ui_resource_layer_impl_unittest.cc | 37 SkBitmap skbitmap; local 38 skbitmap.setConfig(SkBitmap::kARGB_8888_Config, 43 skbitmap.allocPixels(); 44 skbitmap.setImmutable(); 45 UIResourceBitmap bitmap(skbitmap);
|
painted_scrollbar_layer.cc | 16 #include "third_party/skia/include/core/SkBitmap.h" 224 SkBitmap skbitmap; local 225 skbitmap.setConfig(SkBitmap::kARGB_8888_Config, rect.width(), rect.height()); 226 skbitmap.allocPixels(); 228 SkCanvas skcanvas(skbitmap); 245 skbitmap.setImmutable(); 247 return UIResourceBitmap(skbitmap);
|
/external/chromium_org/ui/gfx/android/ |
java_bitmap.cc | 13 #include "third_party/skia/include/core/SkBitmap.h" 50 ScopedJavaLocalRef<jobject> ConvertToJavaBitmap(const SkBitmap* skbitmap) { 51 DCHECK(skbitmap); 52 DCHECK_EQ(skbitmap->bytesPerPixel(), 4); 55 CreateJavaBitmap(gfx::Size(skbitmap->width(), skbitmap->height())); 56 SkAutoLockPixels src_lock(*skbitmap); 58 void* src_pixels = skbitmap->getPixels(); 60 memcpy(dst_pixels, src_pixels, skbitmap->getSize()) 70 SkBitmap skbitmap; local [all...] |
/external/chromium_org/chrome/browser/android/ |
favicon_helper.cc | 24 #include "third_party/skia/include/core/SkBitmap.h" 46 SkBitmap favicon_bitmap = favicon_image_result.image.AsBitmap(); 135 SkBitmap favicon_bitmap = favicon_image.AsBitmap(); 151 SkBitmap skbitmap = gfx::CreateSkBitmapFromJavaBitmap(bitmap_lock); local 152 skbitmap.setImmutable(); 154 gfx::Image::CreateFrom1xBitmap(skbitmap).As1xPNGBytes();
|
/external/chromium_org/cc/trees/ |
layer_tree_host_impl_unittest.cc | 3256 SkBitmap skbitmap; local 5104 SkBitmap skbitmap; local [all...] |