HomeSort by relevance Sort by last modified time
    Searched refs:Layer (Results 1 - 25 of 348) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/ui/compositor/
layer_tree_owner.h 13 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_;
layer_owner_delegate.h 11 class Layer;
13 // Called from RecreateLayer() after the new layer was created. old_layer is
14 // the layer that will be returned to the caller of RecreateLayer, new_layer
15 // will be the layer now used. Used when the layer has external content
19 virtual void OnLayerRecreated(Layer* old_layer, Layer* new_layer) = 0;
layer_owner.h 11 #include "ui/compositor/layer.h"
21 void SetLayer(Layer* layer);
23 // Releases the owning reference to its layer, and returns it.
26 // function, and the caller is then responsible for disposing of the layer
27 // once any animation completes. Note that layer() will remain valid until the
29 scoped_ptr<Layer> AcquireLayer();
31 // Asks the owner to recreate the layer, returning the old Layer. NULL is
32 // returned if there is no existing layer, or recreate is not supported
38 ui::Layer* layer() { return layer_; } function in class:ui::LayerOwner
39 const ui::Layer* layer() const { return layer_; } function in class:ui::LayerOwner
    [all...]
debug_utils.h 16 class Layer;
18 // Log the layer hierarchy. Mark layers which contain |mouse_location| with '*'.
19 COMPOSITOR_EXPORT void PrintLayerHierarchy(const Layer* layer,
layer_tree_owner.cc 7 #include "ui/compositor/layer.h"
13 // Deletes |layer| and all its descendants.
14 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;
22 delete layer;
27 LayerTreeOwner::LayerTreeOwner(Layer* root) : root_(root) {
    [all...]
dip_util.h 19 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
    [all...]
layer.h 38 class Layer;
52 // Layer manages a texture, transform and a set of child Layers. Any View that
53 // has enabled layers ends up creating a Layer to manage the texture.
54 // A Layer can also be created without a texture, in which case it renders
59 // NOTE: Unlike Views, each Layer does *not* own its child Layers. If you
60 // delete a Layer and it has children, the parent of each child Layer is set to
62 class COMPOSITOR_EXPORT Layer
69 Layer();
70 explicit Layer(LayerType type)
    [all...]
layer.cc 5 #include "ui/compositor/layer.h"
38 const ui::Layer* GetRoot(const ui::Layer* layer) {
39 while (layer->parent())
40 layer = layer->parent();
41 return layer;
57 Layer::Layer()
417 const Layer* layer = this; local
    [all...]
dip_util.cc 10 #include "ui/compositor/layer.h"
21 float GetDeviceScaleFactor(const Layer* layer) {
22 return layer->device_scale_factor();
25 gfx::Point ConvertPointToDIP(const Layer* layer,
28 gfx::ScalePoint(point_in_pixel, 1.0f / GetDeviceScaleFactor(layer)));
31 gfx::PointF ConvertPointToDIP(const Layer* layer,
33 return gfx::ScalePoint(point_in_pixel, 1.0f / GetDeviceScaleFactor(layer));
    [all...]
layer_owner.cc 17 void LayerOwner::SetLayer(Layer* layer) {
19 layer_owner_.reset(layer);
20 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());
49 // Install new layer as a sibling of the old layer, stacked below it
    [all...]
  /external/chromium_org/content/public/browser/android/
layer_tree_build_helper.h 11 class Layer;
16 // A Helper class to build a layer tree to be composited
17 // given a content root layer.
21 virtual scoped_refptr<cc::Layer> GetLayerTree(
22 scoped_refptr<cc::Layer> content_root_layer) = 0;
  /external/chromium_org/cc/test/
layer_tree_json_parser.h 15 class Layer;
17 scoped_refptr<Layer> ParseTreeFromJson(std::string json,
  /external/chromium_org/ui/compositor/test/
test_layers.h 11 class Layer;
17 std::string ChildLayerNamesAsString(const ui::Layer& parent);
test_layers.cc 7 #include "ui/compositor/layer.h"
12 std::string ChildLayerNamesAsString(const ui::Layer& parent) {
14 for (std::vector<Layer*>::const_iterator it = parent.children().begin();
  /external/chromium_org/content/browser/web_contents/aura/
shadow_layer_delegate.h 17 class Layer;
23 // another layer.
26 explicit ShadowLayerDelegate(ui::Layer* shadow_for);
29 // Returns the layer for the shadow. Note that the ShadowLayerDelegate owns
30 // the layer, and the layer is destroyed when the delegate is destroyed.
31 ui::Layer* layer() { return layer_.get(); } function in class:content::ShadowLayerDelegate
39 scoped_ptr<ui::Layer> layer_;
window_slider.h 17 class Layer;
24 // A class for sliding the layer in a Window on top of other layers.
32 // Creates a layer to show behind the window-layer. Called when the
33 // window-layer starts sliding out to reveal the layer underneath.
34 // The WindowSlider takes ownership of the created layer.
35 virtual ui::Layer* CreateBackLayer() = 0;
37 // Creates a layer to show on top of the window-layer. Called when the ne
    [all...]
  /external/chromium_org/cc/layers/
layer_lists.h 15 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;
layer.cc 5 #include "cc/layers/layer.h"
34 scoped_refptr<Layer> Layer::Create() {
35 return make_scoped_refptr(new Layer());
38 Layer::Layer()
42 // Layer IDs start from 1.
79 Layer::~Layer() {
83 // Similarly we shouldn't have a layer tree host since it also keeps
328 Layer* layer = this; local
337 Layer* layer = children_[0].get(); local
    [all...]
io_surface_layer.cc 15 IOSurfaceLayer::IOSurfaceLayer() : Layer(), io_surface_id_(0) {}
32 return io_surface_id_ && Layer::DrawsContent();
35 void IOSurfaceLayer::PushPropertiesTo(LayerImpl* layer) {
36 Layer::PushPropertiesTo(layer);
39 static_cast<IOSurfaceLayerImpl*>(layer);
44 const OcclusionTracker<Layer>* occlusion) {
45 bool updated = Layer::Update(queue, occlusion);
47 // This layer doesn't update any resources from the main thread side,
48 // but repaint rects need to be sent to the layer impl via commit
    [all...]
layer.h 67 // Base class for composited layers. Special layer types are derived from
69 class CC_EXPORT Layer : public base::RefCounted<Layer>,
81 static scoped_refptr<Layer> Create();
85 Layer* RootLayer();
86 Layer* parent() { return parent_; }
87 const Layer* parent() const { return parent_; }
88 void AddChild(scoped_refptr<Layer> child);
89 void InsertChild(scoped_refptr<Layer> child, size_t index);
90 void ReplaceChild(Layer* reference, scoped_refptr<Layer> new_layer)
    [all...]
  /frameworks/base/libs/hwui/
LayerRenderer.h 23 #include "Layer.h"
49 LayerRenderer(RenderState& renderState, Layer* layer);
57 static Layer* createTextureLayer(RenderState& renderState);
58 static Layer* createRenderLayer(RenderState& renderState, uint32_t width, uint32_t height);
59 static bool resizeLayer(Layer* layer, uint32_t width, uint32_t height);
60 static void updateTextureLayer(Layer* layer, uint32_t width, uint32_t height,
62 static void destroyLayer(Layer* layer)
    [all...]
LayerCache.h 21 #include "Layer.h"
50 * Returns a layer large enough for the specified dimensions. If no suitable
51 * layer can be found, a new one is created and returned. If creating a new
52 * layer fails, NULL is returned.
54 * When a layer is obtained from the cache, it is removed and the total
57 * @param width The desired width of the layer
58 * @param height The desired height of the layer
60 Layer* get(RenderState& renderState, const uint32_t width, const uint32_t height);
63 * Adds the layer to the cache. The layer will not be added if there i
    [all...]
  /external/chromium_org/ui/wm/core/
image_grid.h 11 #include "ui/compositor/layer.h"
80 // Returns |layer|'s bounds after applying the layer's current transform.
81 gfx::RectF GetTransformedLayerBounds(const ui::Layer& layer);
92 ui::Layer* layer() { return layer_.get(); } function in class:wm::ImageGrid
98 // Visible to allow independent layer animations and for testing.
99 ui::Layer* top_left_layer() const { return top_left_layer_.get(); }
100 ui::Layer* top_layer() const { return top_layer_.get();
    [all...]
  /external/chromium_org/ash/wm/
boot_splash_screen_chromeos.h 19 class Layer;
25 // BootSplashScreen manages a ui::Layer, stacked at the top of the root layer's
44 scoped_ptr<ui::Layer> layer_;
  /external/chromium_org/ui/base/android/
window_android_compositor.h 12 class Layer;
22 virtual void AttachLayerForReadback(scoped_refptr<cc::Layer> layer) = 0;

Completed in 296 milliseconds

1 2 3 4 5 6 7 8 91011>>