HomeSort by relevance Sort by last modified time
    Searched full:layer (Results 1 - 25 of 5263) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/ui/compositor/
layer_owner_unittest.cc 8 #include "ui/compositor/layer.h"
16 Layer* layer = new Layer; local
17 layer->SetVisible(true);
18 layer->SetOpacity(1.0f);
20 owner.SetLayer(layer);
22 ScopedLayerAnimationSettings settings(layer->GetAnimator());
23 layer->SetVisible(false);
24 layer->SetOpacity(0.0f)
    [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_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.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...]
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_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...]
debug_utils.cc 16 #include "ui/compositor/layer.h"
28 void PrintLayerHierarchyImp(const Layer* layer,
34 layer->transform().TransformPointReverse(&mouse_location);
35 bool mouse_inside_layer_bounds = layer->bounds().Contains(mouse_location);
36 mouse_location.Offset(-layer->bounds().x(), -layer->bounds().y());
44 *out << UTF8ToWide(layer->name()) << L' ' << layer; local
46 switch (layer->type())
    [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.cc 8 #include "cc/layers/layer.h"
11 #include "ui/compositor/layer.h"
27 float GetDeviceScaleFactor(const Layer* layer) {
28 return layer->device_scale_factor();
31 gfx::Point ConvertPointToDIP(const Layer* layer,
34 gfx::ScalePoint(point_in_pixel, 1.0f / GetDeviceScaleFactor(layer)));
37 gfx::PointF ConvertPointToDIP(const Layer* layer,
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
drawable1-expected-completion49.txt 2 android:left : Left coordinate of the layer. [dimension]
3 android:top : Top coordinate of the layer. [dimension]
4 android:right : Right coordinate of the layer. [dimension]
5 android:bottom : Bottom coordinate of the layer. [dimension]
6 android:drawable : Drawable used to render the layer. [reference]
7 android:id : Identifier of the layer. [reference]
drawable1.xml 2 <layer-list
5 </layer-list>
  /external/chromium_org/cc/layers/
layer.cc 5 #include "cc/layers/layer.h"
36 scoped_refptr<Layer> Layer::Create() {
37 return make_scoped_refptr(new Layer());
40 Layer::Layer()
44 // Layer IDs start from 1.
83 Layer::~Layer() {
87 // Similarly we shouldn't have a layer tree host since it also keeps
336 Layer* layer = this; local
345 Layer* layer = children_[0].get(); local
    [all...]
picture_layer_unittest.cc 35 scoped_refptr<PictureLayer> layer = PictureLayer::Create(&client); local
36 layer->SetBounds(gfx::Size(10, 10));
40 host->SetRootLayer(layer);
41 layer->SetIsDrawable(true);
42 layer->SavePaintProperties();
44 OcclusionTracker<Layer> occlusion(gfx::Rect(0, 0, 1000, 1000));
46 layer->Update(queue.get(), &occlusion);
48 layer->SetBounds(gfx::Size(0, 0));
49 layer->SavePaintProperties();
51 // a layer with empty bounds
74 scoped_refptr<PictureLayer> layer = PictureLayer::Create(&client); local
89 scoped_refptr<PictureLayer> layer = PictureLayer::Create(&client); local
    [all...]
  /external/chromium_org/cc/trees/
tree_synchronizer.cc 15 #include "cc/layers/layer.h"
72 Layer* layer_root,
90 LayerType* layer,
92 scoped_ptr<LayerImpl> layer_impl = old_layers->take(layer->id());
95 layer_impl = layer->CreateLayerImpl(tree_impl);
97 (*new_layers)[layer->id()] = layer_impl.get();
105 LayerType* layer,
107 if (!layer)
111 ReuseOrCreateLayerImpl(new_layers, old_layers, layer, tree_impl);
114 for (size_t i = 0; i < layer->children().size(); ++i)
    [all...]
  /frameworks/base/libs/hwui/
LayerCache.cpp 37 INIT_LOGD(" Setting layer cache size to %sMB", property);
40 INIT_LOGD(" Using default layer cache size of %.2fMB", DEFAULT_LAYER_CACHE_SIZE);
81 void LayerCache::deleteLayer(Layer* layer) {
82 if (layer) {
83 LAYER_LOGD("Destroying layer %dx%d, fbo %d", layer->getWidth(), layer->getHeight(),
84 layer->getFbo());
85 mSize -= layer->getWidth() * layer->getHeight() * 4
100 Layer* layer = NULL; local
    [all...]
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...]
LayerRenderer.cpp 39 LayerRenderer::LayerRenderer(RenderState& renderState, Layer* layer)
41 , mLayer(layer) {
49 LAYER_RENDERER_LOGD("Rendering into layer, fbo = %d", mLayer->getFbo());
53 const float width = mLayer->layer.getWidth();
54 const float height = mLayer->layer.getHeight();
90 LAYER_RENDERER_LOGD("Finished rendering into layer, fbo = %d", mLayer->getFbo());
105 // Layer support
165 const float height = mLayer->layer.getHeight();
188 Layer* LayerRenderer::createRenderLayer(RenderState& renderState, uint32_t width, uint32_t height)
200 Layer* layer = caches.layerCache.get(renderState, width, height); local
276 Layer* layer = new Layer(Layer::kType_Texture, renderState, 0, 0); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
Canvas2DLayerManager.cpp 84 Canvas2DLayerBridge* layer = m_layerList.head(); local
85 while (layer) {
86 Canvas2DLayerBridge* currentLayer = layer;
88 // may result in the layer being removed from the list.
89 layer = layer->next();
94 void Canvas2DLayerManager::layerDidDraw(Canvas2DLayerBridge* layer)
96 if (isInList(layer)) {
97 if (layer != m_layerList.head()) {
98 m_layerList.remove(layer);
130 Canvas2DLayerBridge* layer = m_layerList.tail(); \/\/ LRU local
    [all...]
  /packages/apps/Camera2/res/drawable/
shutter_button_background_refocus.xml 2 <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
4 </layer-list>
shutter_button_background_still.xml 2 <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
4 </layer-list>
  /external/skia/src/gpu/
GrLayerCache.cpp 27 static bool LessThan(const GrCachedLayer& layer, const PictureLayerKey& key) {
28 if (layer.pictureID() == key.pictureID()) {
29 return layer.layerID() < key.layerID();
32 return layer.pictureID() < key.pictureID();
35 static bool Equals(const GrCachedLayer& layer, const PictureLayerKey& key) {
36 return layer.pictureID() == key.pictureID() && layer.layerID() == key.layerID();
58 // The layer cache only gets 1 plot
70 GrCachedLayer* layer = fLayerPool.alloc(); local
73 layer->init(picture->uniqueID(), layerID)
81 GrCachedLayer* layer = fLayerHash.find(PictureLayerKey(picture->uniqueID(), layerID)); local
    [all...]
  /external/opencv/ml/src/
mlcnn.cpp 70 static void icvCNNetworkAddLayer( CvCNNetwork* network, CvCNNLayer* layer );
73 /* In all layer functions we denote input by X and output by Y, where
78 /*------------------------ functions for convolutional layer ---------------------------*/
81 static void icvCNNConvolutionForward( CvCNNLayer* layer, const CvMat* X, CvMat* Y );
83 static void icvCNNConvolutionBackward( CvCNNLayer* layer, int t,
86 /*------------------------ functions for sub-sampling layer ----------------------------*/
89 static void icvCNNSubSamplingForward( CvCNNLayer* layer, const CvMat* X, CvMat* Y );
91 static void icvCNNSubSamplingBackward( CvCNNLayer* layer, int t,
94 /*------------------------ functions for full connected layer --------------------------*/
97 static void icvCNNFullConnectForward( CvCNNLayer* layer, const CvMat* X, CvMat* Y )
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/compositing/
CompositingLayerAssigner.cpp 84 bool CompositingLayerAssigner::needsOwnBacking(const RenderLayer* layer) const
86 if (!m_compositor->canBeComposited(layer))
90 bool needsOwnBackingForDisabledSquashing = !m_layerSquashingEnabled && requiresSquashing(layer->compositingReasons());
92 return requiresCompositing(layer->compositingReasons()) || needsOwnBackingForDisabledSquashing || (m_compositor->staleInCompositingMode() && layer->isRootLayer());
95 CompositingStateTransitionType CompositingLayerAssigner::computeCompositedLayerUpdate(RenderLayer* layer)
98 if (needsOwnBacking(layer)) {
99 if (!layer->hasCompositedLayerMapping()) {
103 if (layer->hasCompositedLayerMapping())
107 if (!layer->subtreeIsInvisible() && requiresSquashing(layer->compositingReasons()))
    [all...]
  /external/chromium_org/ash/wm/
window_animations_unittest.cc 14 #include "ui/compositor/layer.h"
21 using ui::Layer;
73 EXPECT_TRUE(window->layer()->visible());
80 EXPECT_EQ(0.0f, window->layer()->GetTargetOpacity());
81 EXPECT_FALSE(window->layer()->GetTargetVisibility());
82 EXPECT_FALSE(window->layer()->visible());
89 EXPECT_EQ(0.0f, window->layer()->GetTargetBrightness());
90 EXPECT_EQ(0.0f, window->layer()->GetTargetGrayscale());
91 EXPECT_TRUE(window->layer()->visible());
94 window->layer()->GetAnimator()->Step(base::TimeTicks::Now()
178 Layer* layer = window->layer(); local
    [all...]
screen_dimmer_unittest.cc 13 #include "ui/compositor/layer.h"
39 // Don't create a layer until we need to.
40 EXPECT_TRUE(test_api_->layer() == NULL);
42 EXPECT_TRUE(test_api_->layer() == NULL);
44 // When we enable dimming, the layer should be created and stacked at the top
47 ASSERT_TRUE(test_api_->layer() != NULL);
48 ui::Layer* root_layer = Shell::GetPrimaryRootWindow()->layer();
50 EXPECT_EQ(test_api_->layer(), root_layer->children().back());
51 EXPECT_TRUE(test_api_->layer()->visible())
    [all...]

Completed in 5229 milliseconds

1 2 3 4 5 6 7 8 91011>>