Searched refs:Layer (Results 1 - 25 of 303) sorted by relevance

1234567891011>>

/external/chromium_org/ui/compositor/
H A Dlayer_tree_owner.h13 class Layer;
15 // Scoping object that owns a Layer and all its descendants.
18 explicit LayerTreeOwner(Layer* root);
21 Layer* release() WARN_UNUSED_RESULT {
22 Layer* root = root_;
27 Layer* root() { return root_; }
28 const Layer* root() const { return root_; }
31 Layer* root_;
H A Dlayer_owner_delegate.h11 class Layer;
19 virtual void OnLayerRecreated(Layer* old_layer, Layer* new_layer) = 0;
H A Dlayer_owner.h21 void SetLayer(Layer* layer);
29 scoped_ptr<Layer> AcquireLayer();
31 // Asks the owner to recreate the layer, returning the old Layer. NULL is
36 scoped_ptr<Layer> RecreateLayer();
38 ui::Layer* layer() { return layer_; }
39 const ui::Layer* layer() const { return layer_; }
56 scoped_ptr<Layer> layer_owner_;
57 Layer* layer_;
H A Dlayer_tree_owner.cc14 void DeepDeleteLayers(Layer* layer) {
15 std::vector<Layer*> children = layer->children();
16 for (std::vector<Layer*>::const_iterator it = children.begin();
19 Layer* child = *it;
27 LayerTreeOwner::LayerTreeOwner(Layer* root) : root_(root) {}
H A Ddebug_utils.h16 class Layer;
19 COMPOSITOR_EXPORT void PrintLayerHierarchy(const Layer* layer,
H A Ddip_util.h19 class Layer;
21 COMPOSITOR_EXPORT float GetDeviceScaleFactor(const Layer* layer);
26 const Layer* layer,
29 const Layer* layer,
32 const Layer* layer,
35 const Layer* layer,
38 const Layer* layer,
41 const Layer* layer,
44 const Layer* layer,
51 ui::Layer* snapped_laye
[all...]
H A Dlayer.cc40 const ui::Layer* GetRoot(const ui::Layer* layer) {
59 Layer::Layer() function in class:ui::Layer
83 Layer::Layer(LayerType type) function in class:ui::Layer
107 Layer::~Layer() {
129 bool Layer::UsingPictureLayer() {
133 Compositor* Layer
[all...]
H A Dlayer_owner.cc17 void LayerOwner::SetLayer(Layer* layer) {
24 scoped_ptr<Layer> LayerOwner::AcquireLayer() {
30 scoped_ptr<Layer> LayerOwner::RecreateLayer() {
31 scoped_ptr<ui::Layer> old_layer(AcquireLayer());
39 Layer* new_layer = new ui::Layer(old_layer->type());
61 std::vector<ui::Layer*> children_copy = old_layer->children();
62 for (std::vector<ui::Layer*>::const_iterator it = children_copy.begin();
65 ui::Layer* child = *it;
H A Dlayer_owner_unittest.cc16 Layer* layer = new Layer;
28 scoped_ptr<Layer> old_layer(owner.RecreateLayer());
H A Dlayer.h39 class Layer;
55 // Layer manages a texture, transform and a set of child Layers. Any View that
56 // has enabled layers ends up creating a Layer to manage the texture.
57 // A Layer can also be created without a texture, in which case it renders
62 // NOTE: Unlike Views, each Layer does *not* own its child Layers. If you
63 // delete a Layer and it has children, the parent of each child Layer is set to
65 class COMPOSITOR_EXPORT Layer class in namespace:ui
72 Layer();
73 explicit Layer(LayerTyp
[all...]
/external/chromium_org/cc/test/
H A Dlayer_tree_json_parser.h15 class Layer;
17 scoped_refptr<Layer> ParseTreeFromJson(std::string json,
/external/chromium_org/ui/compositor/test/
H A Dtest_layers.h11 class Layer;
17 std::string ChildLayerNamesAsString(const ui::Layer& parent);
H A Dtest_layers.cc12 std::string ChildLayerNamesAsString(const ui::Layer& parent) {
14 for (std::vector<Layer*>::const_iterator it = parent.children().begin();
/external/chromium_org/content/public/browser/android/
H A Dlayer_tree_build_helper.h11 class Layer;
21 virtual scoped_refptr<cc::Layer> GetLayerTree(
22 scoped_refptr<cc::Layer> content_root_layer) = 0;
/external/chromium_org/cc/layers/
H A Dlayer_lists.h15 class Layer;
18 typedef std::vector<scoped_refptr<Layer> > LayerList;
28 Layer* at(size_t i) const;
30 void push_back(const scoped_refptr<Layer>& layer);
31 Layer* back();
34 scoped_refptr<Layer>& operator[](size_t i);
35 const scoped_refptr<Layer>& operator[](size_t i) const;
H A Dlayer.cc36 scoped_refptr<Layer> Layer::Create() {
37 return make_scoped_refptr(new Layer());
40 Layer::Layer() function in class:cc::Layer
44 // Layer IDs start from 1.
83 Layer::~Layer() {
109 void Layer::SetLayerTreeHost(LayerTreeHost* host) {
139 void Layer
[all...]
H A Dio_surface_layer.cc15 IOSurfaceLayer::IOSurfaceLayer() : Layer(), io_surface_id_(0) {}
33 return io_surface_id_ && Layer::HasDrawableContent();
37 Layer::PushPropertiesTo(layer);
45 const OcclusionTracker<Layer>* occlusion) {
46 bool updated = Layer::Update(queue, occlusion);
H A Dlayer.h70 class CC_EXPORT Layer : public base::RefCounted<Layer>, class in namespace:cc
82 static scoped_refptr<Layer> Create();
86 Layer* RootLayer();
87 Layer* parent() { return parent_; }
88 const Layer* parent() const { return parent_; }
89 void AddChild(scoped_refptr<Layer> child);
90 void InsertChild(scoped_refptr<Layer> child, size_t index);
91 void ReplaceChild(Layer* reference, scoped_refptr<Layer> new_laye
[all...]
H A Dlayer_unittest.cc107 parent_ = Layer::Create();
108 child1_ = Layer::Create();
109 child2_ = Layer::Create();
110 child3_ = Layer::Create();
111 grand_child1_ = Layer::Create();
112 grand_child2_ = Layer::Create();
113 grand_child3_ = Layer::Create();
136 scoped_refptr<Layer> parent_;
137 scoped_refptr<Layer> child1_;
138 scoped_refptr<Layer> child2
[all...]
H A Dsurface_layer.cc15 SurfaceLayer::SurfaceLayer() : Layer() {
31 return !surface_id_.is_null() && Layer::HasDrawableContent();
35 Layer::PushPropertiesTo(layer);
H A Dcontents_scaling_layer.h15 class CC_EXPORT ContentsScalingLayer : public Layer {
23 const OcclusionTracker<Layer>* occlusion) OVERRIDE;
/external/chromium_org/ui/wm/core/
H A Dimage_grid.h81 gfx::RectF GetTransformedLayerBounds(const ui::Layer& layer);
92 ui::Layer* layer() { return layer_.get(); }
99 ui::Layer* top_left_layer() const { return top_left_layer_.get(); }
100 ui::Layer* top_layer() const { return top_layer_.get(); }
101 ui::Layer* top_right_layer() const { return top_right_layer_.get(); }
102 ui::Layer* left_layer() const { return left_layer_.get(); }
103 ui::Layer* center_layer() const { return center_layer_.get(); }
104 ui::Layer* right_layer() const { return right_layer_.get(); }
105 ui::Layer* bottom_left_layer() const { return bottom_left_layer_.get(); }
106 ui::Layer* bottom_laye
[all...]
H A Dshadow.h15 class Layer;
45 ui::Layer* layer() const { return layer_.get(); }
72 scoped_ptr<ui::Layer> layer_;
75 scoped_ptr<ui::Layer> shadow_layer_;
/external/chromium_org/content/browser/web_contents/aura/
H A Dshadow_layer_delegate.h17 class Layer;
26 explicit ShadowLayerDelegate(ui::Layer* shadow_for);
31 ui::Layer* layer() { return layer_.get(); }
41 scoped_ptr<ui::Layer> layer_;
/external/chromium_org/ash/wm/
H A Dboot_splash_screen_chromeos.h19 class Layer;
25 // BootSplashScreen manages a ui::Layer, stacked at the top of the root layer's
44 scoped_ptr<ui::Layer> layer_;

Completed in 3934 milliseconds

1234567891011>>