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

1 2 3 4 5 6 7 8 91011

  /external/chromium_org/ui/compositor/
layer_owner.h 11 #include "ui/compositor/layer.h"
20 // Releases the owning reference to its layer, and returns it.
23 // function, and the caller is then responsible for disposing of the layer
24 // once any animation completes. Note that layer() will remain valid until the
26 Layer* AcquireLayer() WARN_UNUSED_RESULT;
28 ui::Layer* layer() { return layer_; } function in class:ui::LayerOwner
29 const ui::Layer* layer() const { return layer_; } function in class:ui::LayerOwner
32 // The LayerOwner owns its layer unless ownership is relinquished via a cal
    [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,
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_owner.cc 16 Layer* LayerOwner::AcquireLayer() {
layer.h 37 class Layer;
51 // Layer manages a texture, transform and a set of child Layers. Any View that
52 // has enabled layers ends up creating a Layer to manage the texture.
53 // A Layer can also be created without a texture, in which case it renders
58 // NOTE: unlike Views, each Layer does *not* own its children views. If you
59 // delete a Layer and it has children, the parent of each child layer is set to
61 class COMPOSITOR_EXPORT Layer
67 Layer();
68 explicit Layer(LayerType type)
    [all...]
dip_util.cc 11 #include "ui/compositor/layer.h"
22 float GetDeviceScaleFactor(const Layer* layer) {
23 return layer->device_scale_factor();
26 gfx::Point ConvertPointToDIP(const Layer* layer,
29 gfx::ScalePoint(point_in_pixel, 1.0f / GetDeviceScaleFactor(layer)));
32 gfx::PointF ConvertPointToDIP(const Layer* layer,
34 return gfx::ScalePoint(point_in_pixel, 1.0f / GetDeviceScaleFactor(layer));
    [all...]
layer.cc 5 #include "ui/compositor/layer.h"
36 const ui::Layer* GetRoot(const ui::Layer* layer) {
37 while (layer->parent())
38 layer = layer->parent();
39 return layer;
46 Layer::Layer()
369 const Layer* layer = this; local
    [all...]
  /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_;
  /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();
layer_unittest.cc 5 #include "cc/layers/layer.h"
108 parent_ = Layer::Create();
109 child1_ = Layer::Create();
110 child2_ = Layer::Create();
111 child3_ = Layer::Create();
112 grand_child1_ = Layer::Create();
113 grand_child2_ = Layer::Create();
114 grand_child3_ = Layer::Create();
136 scoped_refptr<Layer> parent_;
137 scoped_refptr<Layer> child1_
983 scoped_refptr<Layer> layer = Layer::Create(); local
1011 scoped_refptr<Layer> layer = Layer::Create(); local
    [all...]
layer.cc 5 #include "cc/layers/layer.h"
27 scoped_refptr<Layer> Layer::Create() {
28 return make_scoped_refptr(new Layer());
31 Layer::Layer()
68 Layer::~Layer() {
72 // Similarly we shouldn't have a layer tree host since it also keeps a
90 void Layer::SetLayerTreeHost(LayerTreeHost* host)
327 Layer* layer = this; local
336 Layer* layer = children_[0].get(); local
    [all...]
layer.h 50 // Base class for composited layers. Special layer types are derived from
52 class CC_EXPORT Layer : public base::RefCounted<Layer>,
59 static scoped_refptr<Layer> Create();
63 Layer* RootLayer();
64 Layer* parent() { return parent_; }
65 const Layer* parent() const { return parent_; }
66 void AddChild(scoped_refptr<Layer> child);
67 void InsertChild(scoped_refptr<Layer> child, size_t index);
68 void ReplaceChild(Layer* reference, scoped_refptr<Layer> new_layer)
    [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);
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.
solid_color_layer.cc 21 : Layer() {}
27 Layer::SetBackgroundColor(color);
  /external/chromium_org/ui/views/corewm/
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:views::corewm::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...]
window_util.h 16 class Layer;
35 // Deletes |layer| and all its child layers.
36 VIEWS_EXPORT void DeepDeleteLayers(ui::Layer* layer);
38 // Returns the existing Layer for |window| (and all its descendants) and creates
39 // a new layer for |window| and all its descendants. This is intended for
47 VIEWS_EXPORT ui::Layer* RecreateWindowLayers(aura::Window* window,
  /frameworks/base/libs/hwui/
LayerRenderer.h 23 #include "Layer.h"
47 ANDROID_API LayerRenderer(Layer* layer);
55 ANDROID_API static Layer* createTextureLayer(bool isOpaque);
56 ANDROID_API static Layer* createLayer(uint32_t width, uint32_t height, bool isOpaque = false);
57 ANDROID_API static bool resizeLayer(Layer* layer, uint32_t width, uint32_t height);
58 ANDROID_API static void updateTextureLayer(Layer* layer, uint32_t width, uint32_t height,
60 ANDROID_API static void destroyLayer(Layer* layer)
    [all...]
LayerCache.h 21 #include "Layer.h"
48 * Returns a layer large enough for the specified dimensions. If no suitable
49 * layer can be found, a new one is created and returned. If creating a new
50 * layer fails, NULL is returned.
52 * When a layer is obtained from the cache, it is removed and the total
55 * @param width The desired width of the layer
56 * @param height The desired height of the layer
58 Layer* get(const uint32_t width, const uint32_t height);
61 * Adds the layer to the cache. The layer will not be added if there i
    [all...]
  /external/chromium_org/ash/wm/
boot_splash_screen.h 19 class Layer;
26 // BootSplashScreen manages a ui::Layer, stacked at the top of the root layer's
45 scoped_ptr<ui::Layer> layer_;
  /external/chromium_org/ash/rotator/
screen_rotation.h 16 class Layer;
31 // |degrees| are clockwise. |layer| is the target of the animation. Does not
32 // take ownership of |layer|.
33 ScreenRotation(int degrees, ui::Layer* layer);
39 void InitTransform(ui::Layer* layer);
  /external/chromium_org/cc/trees/
tree_synchronizer.h 17 class Layer;
21 // Accepts a Layer tree and returns a reference to a LayerImpl tree that
22 // duplicates the structure of the Layer tree, reusing the LayerImpls in the
25 Layer* layer_root,
33 // Pushes properties from a Layer or LayerImpl tree to a structurally
35 static void PushProperties(Layer* layer_root,
42 static void SetNumDependentsNeedPushProperties(Layer* layer, size_t num);
43 static void SetNumDependentsNeedPushProperties(LayerImpl* layer, size_t num);
47 LayerType* layer,
    [all...]
  /external/chromium_org/chrome/browser/chromeos/ui/
focus_ring_layer.h 13 class Layer;
29 // Updates the focus ring layer for the view or clears it if |view| is NULL.
38 scoped_ptr<ui::Layer> layer_;

Completed in 184 milliseconds

1 2 3 4 5 6 7 8 91011