Home
last modified time | relevance | path

Searched refs:UIResourceBitmap (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium_org/cc/resources/
Dui_resource_bitmap.cc16 UIResourceBitmap::UIResourceFormat SkColorTypeToUIResourceFormat( in SkColorTypeToUIResourceFormat()
18 UIResourceBitmap::UIResourceFormat format = UIResourceBitmap::RGBA8; in SkColorTypeToUIResourceFormat()
21 format = UIResourceBitmap::RGBA8; in SkColorTypeToUIResourceFormat()
24 format = UIResourceBitmap::ALPHA_8; in SkColorTypeToUIResourceFormat()
35 void UIResourceBitmap::Create(const skia::RefPtr<SkPixelRef>& pixel_ref, in Create()
51 UIResourceBitmap::UIResourceBitmap(const SkBitmap& skbitmap) { in UIResourceBitmap() function in cc::UIResourceBitmap
64 UIResourceBitmap::UIResourceBitmap(const gfx::Size& size, bool is_opaque) { in UIResourceBitmap() function in cc::UIResourceBitmap
71 Create(pixel_ref, size, UIResourceBitmap::RGBA8); in UIResourceBitmap()
75 UIResourceBitmap::UIResourceBitmap(const skia::RefPtr<SkPixelRef>& pixel_ref, in UIResourceBitmap() function in cc::UIResourceBitmap
77 Create(pixel_ref, size, UIResourceBitmap::ETC1); in UIResourceBitmap()
[all …]
Dui_resource_bitmap.h26 class CC_EXPORT UIResourceBitmap {
47 explicit UIResourceBitmap(const SkBitmap& skbitmap);
48 UIResourceBitmap(const gfx::Size& size, bool is_opaque);
49 UIResourceBitmap(const skia::RefPtr<SkPixelRef>& pixel_ref,
51 ~UIResourceBitmap();
69 explicit AutoLockUIResourceBitmap(const UIResourceBitmap& bitmap);
74 const UIResourceBitmap& bitmap_;
Dscoped_ui_resource.h27 const UIResourceBitmap& bitmap);
31 virtual UIResourceBitmap GetBitmap(UIResourceId uid,
36 ScopedUIResource(LayerTreeHost* host, const UIResourceBitmap& bitmap);
38 UIResourceBitmap bitmap_;
Dscoped_ui_resource.cc15 const UIResourceBitmap& bitmap) { in Create()
20 const UIResourceBitmap& bitmap) in ScopedUIResource()
35 UIResourceBitmap ScopedUIResource::GetBitmap(UIResourceId uid, in GetBitmap()
Dui_resource_request.cc15 const UIResourceBitmap& bitmap) in UIResourceRequest()
16 : type_(type), id_(id), bitmap_(new UIResourceBitmap(bitmap)) {} in UIResourceRequest()
27 bitmap_ = make_scoped_ptr(new UIResourceBitmap(*request.bitmap_.get())); in operator =()
Dui_resource_request.h27 const UIResourceBitmap& bitmap);
34 UIResourceBitmap GetBitmap() const { in GetBitmap()
44 scoped_ptr<UIResourceBitmap> bitmap_;
Dui_resource_client.h15 class UIResourceBitmap; variable
27 virtual UIResourceBitmap GetBitmap(UIResourceId uid,
/external/chromium_org/chrome/browser/android/thumbnail/
Dthumbnail.cc61 bitmap_ = cc::UIResourceBitmap(bitmap); in SetBitmap()
73 bitmap_ = cc::UIResourceBitmap(compressed_bitmap, data_size); in SetCompressedBitmap()
82 cc::UIResourceBitmap Thumbnail::GetBitmap(cc::UIResourceId uid, in GetBitmap()
89 cc::UIResourceBitmap old_bitmap(bitmap_); in GetBitmap()
91 bitmap_ = cc::UIResourceBitmap(CreateSmallHolderBitmap()); in GetBitmap()
Dthumbnail.h60 virtual cc::UIResourceBitmap GetBitmap(cc::UIResourceId uid,
82 cc::UIResourceBitmap bitmap_;
/external/chromium_org/cc/test/
Dfake_scoped_ui_resource.cc13 UIResourceBitmap CreateMockUIResourceBitmap() { in CreateMockUIResourceBitmap()
15 return UIResourceBitmap(gfx::Size(1, 1), is_opaque); in CreateMockUIResourceBitmap()
34 UIResourceBitmap FakeScopedUIResource::GetBitmap(UIResourceId uid, in GetBitmap()
Dfake_scoped_ui_resource.h19 virtual UIResourceBitmap GetBitmap(UIResourceId uid,
Dfake_ui_resource_layer_tree_host_impl.h20 const UIResourceBitmap& bitmap) OVERRIDE;
Dfake_ui_resource_layer_tree_host_impl.cc20 const UIResourceBitmap& bitmap) { in CreateUIResource()
/external/chromium_org/cc/layers/
Dpainted_scrollbar_layer_impl_unittest.cc23 UIResourceBitmap thumb_bitmap(thumb_sk_bitmap); in TEST()
30 UIResourceBitmap track_bitmap(track_sk_bitmap); in TEST()
Dui_resource_layer_impl_unittest.cc38 UIResourceBitmap bitmap(bitmap_size, opaque); in GenerateUIResourceLayer()
161 UIResourceBitmap bitmap(sk_bitmap); in TEST()
Dnine_patch_layer_unittest.cc69 layer_tree_host_.get(), UIResourceBitmap(gfx::Size(10, 10), is_opaque)); in TEST_F()
Dpainted_scrollbar_layer.cc259 UIResourceBitmap PaintedScrollbarLayer::RasterizeScrollbarPart( in RasterizeScrollbarPart()
292 return UIResourceBitmap(skbitmap); in RasterizeScrollbarPart()
Dnine_patch_layer_impl_unittest.cc59 UIResourceBitmap bitmap(bitmap_size, is_opaque); in NinePatchLayerLayoutTest()
228 UIResourceBitmap bitmap(sk_bitmap); in TEST()
Dpainted_scrollbar_layer.h77 UIResourceBitmap RasterizeScrollbarPart(const gfx::Rect& layer_rect,
Dui_resource_layer_unittest.cc98 layer_tree_host_.get(), UIResourceBitmap(gfx::Size(10, 10), is_opaque)); in TEST_F()
Dui_resource_layer.cc30 resource_ = ScopedUIResource::Create(host, UIResourceBitmap(skbitmap)); in ScopedUIResourceHolder()
/external/chromium_org/content/browser/android/
Dsystem_ui_resource_manager_impl.cc106 virtual cc::UIResourceBitmap GetBitmap(cc::UIResourceId uid, in GetBitmap()
109 return cc::UIResourceBitmap(bitmap_); in GetBitmap()
Dsystem_ui_resource_manager_impl.h17 class UIResourceBitmap; variable
/external/chromium_org/cc/trees/
Dlayer_tree_host_impl.h61 class UIResourceBitmap; variable
442 const UIResourceBitmap& bitmap);
Dlayer_tree_host_impl.cc3232 const UIResourceBitmap& bitmap) { in CreateUIResource()
3237 case UIResourceBitmap::CLAMP_TO_EDGE: in CreateUIResource()
3240 case UIResourceBitmap::REPEAT: in CreateUIResource()
3253 case UIResourceBitmap::RGBA8: in CreateUIResource()
3255 case UIResourceBitmap::ALPHA_8: in CreateUIResource()
3258 case UIResourceBitmap::ETC1: in CreateUIResource()

12