/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 | 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 children views. 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...] |
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.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(); 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" 30 scoped_refptr<Layer> Layer::Create() { 31 return make_scoped_refptr(new Layer()); 34 Layer::Layer() 79 Layer::~Layer() { 83 // Similarly we shouldn't have a layer tree host since it also keeps a 105 void Layer::SetLayerTreeHost(LayerTreeHost* host) 338 Layer* layer = this; local 347 Layer* layer = children_[0].get(); local [all...] |
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_ 1027 scoped_refptr<Layer> layer = Layer::Create(); local 1055 scoped_refptr<Layer> layer = Layer::Create(); local [all...] |
layer.h | 66 // Base class for composited layers. Special layer types are derived from 68 class CC_EXPORT Layer : public base::RefCounted<Layer>, 80 static scoped_refptr<Layer> Create(); 84 Layer* RootLayer(); 85 Layer* parent() { return parent_; } 86 const Layer* parent() const { return parent_; } 87 void AddChild(scoped_refptr<Layer> child); 88 void InsertChild(scoped_refptr<Layer> child, size_t index); 89 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.
|
/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_chromeos.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_;
|
system_background_controller.h | 17 class Layer; 23 // SystemBackgroundController manages a ui::Layer that's stacked at the bottom 25 // the root layer that aren't covered by any other layers (e.g. before the 46 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 | 16 class Layer; 20 // Accepts a Layer tree and returns a reference to a LayerImpl tree that 21 // duplicates the structure of the Layer tree, reusing the LayerImpls in the 24 Layer* layer_root, 32 // Pushes properties from a Layer or LayerImpl tree to a structurally 34 static void PushProperties(Layer* layer_root, 41 static void SetNumDependentsNeedPushProperties(Layer* layer, size_t num); 42 static void SetNumDependentsNeedPushProperties(LayerImpl* layer, size_t num); 46 LayerType* layer, [all...] |
/external/chromium_org/ash/wm/overview/ |
scoped_window_copy.h | 16 class Layer; 42 ui::Layer* layer_; 46 // widget, layer and itself once any pending animations have completed.
|