HomeSort by relevance Sort by last modified time
    Searched refs:skbitmap (Results 1 - 9 of 9) sorted by null

  /external/chromium_org/ui/gfx/android/
java_bitmap.cc 44 static int SkBitmapConfigToBitmapFormat(SkBitmap::Config bitmap_config) {
46 case SkBitmap::kA8_Config:
48 case SkBitmap::kARGB_4444_Config:
50 case SkBitmap::kARGB_8888_Config:
52 case SkBitmap::kRGB_565_Config:
54 case SkBitmap::kNo_Config:
63 SkBitmap::Config bitmap_config) {
82 ScopedJavaLocalRef<jobject> ConvertToJavaBitmap(const SkBitmap* skbitmap) {
83 DCHECK(skbitmap);
109 SkBitmap skbitmap; local
    [all...]
java_bitmap.h 11 #include "third_party/skia/include/core/SkBitmap.h"
58 SkBitmap::Config bitmap_config);
67 // Converts |skbitmap| to a Java-backed bitmap (android.graphics.Bitmap).
68 // Note: |skbitmap| is assumed to be non-null, non-empty and one of RGBA_8888 or
71 const SkBitmap* skbitmap);
73 // Converts |bitmap| to an SkBitmap of the same size and format.
75 GFX_EXPORT SkBitmap CreateSkBitmapFromJavaBitmap(const JavaBitmap& jbitmap);
78 GFX_EXPORT SkBitmap::Config ConvertToSkiaConfig(jobject bitmap_config);
  /external/chromium_org/cc/resources/
ui_resource_bitmap.cc 9 #include "third_party/skia/include/core/SkBitmap.h"
31 UIResourceBitmap::UIResourceBitmap(const SkBitmap& skbitmap) {
32 DCHECK_EQ(skbitmap.colorType(), kPMColor_SkColorType);
33 DCHECK_EQ(skbitmap.width(), skbitmap.rowBytesAsPixels());
34 DCHECK(skbitmap.isImmutable());
36 skia::RefPtr<SkPixelRef> pixel_ref = skia::SharePtr(skbitmap.pixelRef());
41 SetOpaque(skbitmap.isOpaque());
ui_resource_bitmap.h 16 class SkBitmap;
23 // holds the content of the bitmap (cannot use SkBitmap because of ETC1).
44 // User must ensure that |skbitmap| is immutable. The SkBitmap Format should
46 explicit UIResourceBitmap(const SkBitmap& skbitmap);
  /external/chromium_org/cc/layers/
ui_resource_layer.cc 23 const SkBitmap& skbitmap) {
24 return make_scoped_ptr(new ScopedUIResourceHolder(host, skbitmap));
29 ScopedUIResourceHolder(LayerTreeHost* host, const SkBitmap& skbitmap) {
30 resource_ = ScopedUIResource::Create(host, UIResourceBitmap(skbitmap));
123 void UIResourceLayer::SetBitmap(const SkBitmap& skbitmap) {
124 bitmap_ = skbitmap;
ui_resource_layer.h 29 void SetBitmap(const SkBitmap& skbitmap);
55 SkBitmap bitmap_;
painted_scrollbar_layer.cc 16 #include "third_party/skia/include/core/SkBitmap.h"
251 SkBitmap skbitmap; local
252 skbitmap.allocN32Pixels(content_rect.width(), content_rect.height());
253 SkCanvas skcanvas(skbitmap);
275 skbitmap.setImmutable();
277 return UIResourceBitmap(skbitmap);
  /external/chromium_org/chrome/browser/android/
favicon_helper.cc 25 #include "third_party/skia/include/core/SkBitmap.h"
48 SkBitmap favicon_bitmap = favicon_image_result.image.AsBitmap();
69 SkBitmap favicon_bitmap;
200 SkBitmap favicon_bitmap = favicon_image.AsBitmap();
218 SkBitmap skbitmap = gfx::CreateSkBitmapFromJavaBitmap(bitmap_lock); local
219 return color_utils::CalculateKMeanColorOfBitmap(skbitmap);
  /external/chromium_org/ui/gfx/codec/
png_codec.cc 10 #include "third_party/skia/include/core/SkBitmap.h"
98 // Output is an SkBitmap.
99 explicit PngDecoderState(SkBitmap* skbitmap)
102 bitmap(skbitmap),
113 // An incoming SkBitmap to write to. If NULL, we write to output instead.
114 SkBitmap* bitmap;
116 // Used during the reading of an SkBitmap. Defaults to true until we see a
121 // instead of directly to an SkBitmap.
279 state->bitmap->setConfig(SkBitmap::kARGB_8888_Config
    [all...]

Completed in 115 milliseconds