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

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/ui/compositor/
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...]
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.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,
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...]
  /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>
  /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);
77 void LayerCache::deleteLayer(Layer* layer) {
78 if (layer) {
79 LAYER_LOGD("Destroying layer %dx%d, fbo %d", layer->getWidth(), layer->getHeight(),
80 layer->getFbo());
81 mSize -= layer->getWidth() * layer->getHeight() * 4
95 Layer* layer = NULL; local
    [all...]
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...]
LayerRenderer.cpp 36 LayerRenderer::LayerRenderer(Layer* layer): mLayer(layer) {
48 LAYER_RENDERER_LOGD("Rendering into layer, fbo = %d", mLayer->getFbo());
52 const float width = mLayer->layer.getWidth();
53 const float height = mLayer->layer.getHeight();
89 LAYER_RENDERER_LOGD("Finished rendering into layer, fbo = %d", mLayer->getFbo());
104 // Layer support
164 const float height = mLayer->layer.getHeight();
187 Layer* LayerRenderer::createLayer(uint32_t width, uint32_t height, bool isOpaque)
198 Layer* layer = caches.layerCache.get(width, height); local
276 Layer* layer = new Layer(0, 0); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/chromium/
Canvas2DLayerManager.cpp 84 for (Canvas2DLayerBridge* layer = m_layerList.head(); layer; layer = layer->next())
85 layer->limitPendingFrames();
88 void Canvas2DLayerManager::layerDidDraw(Canvas2DLayerBridge* layer)
90 if (isInList(layer)) {
91 if (layer != m_layerList.head()) {
92 m_layerList.remove(layer);
93 m_layerList.push(layer); // Set as MR
134 Canvas2DLayerBridge* layer = m_layerList.tail(); \/\/ LRU local
    [all...]
  /external/chromium_org/cc/trees/
tree_synchronizer.cc 12 #include "cc/layers/layer.h"
62 Layer* layer_root,
80 LayerType* layer,
82 scoped_ptr<LayerImpl> layer_impl = old_layers->take(layer->id());
85 layer_impl = layer->CreateLayerImpl(tree_impl);
87 (*new_layers)[layer->id()] = layer_impl.get();
95 LayerType* layer,
97 if (!layer)
101 ReuseOrCreateLayerImpl(new_layers, old_layers, layer, tree_impl);
104 for (size_t i = 0; i < layer->children().size(); ++i)
    [all...]
layer_tree_host_common.cc 12 #include "cc/layers/layer.h"
51 // Is this layer fully contained within the target surface?
55 // If the layer doesn't fill up the entire surface, then find the part of
56 // the surface rect where the layer could be visible. This avoids trying to
61 // Project the corners of the target surface rect into the layer space.
91 template <typename LayerType> static inline bool IsRootLayer(LayerType* layer) {
92 return !layer->parent();
96 static inline bool LayerIsInExisting3DRenderingContext(LayerType* layer) {
97 // According to current W3C spec on CSS transforms, a layer is part of an
100 return layer->parent() && layer->parent()->preserves_3d()
    [all...]
  /external/chromium_org/cc/layers/
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...]
solid_color_layer_impl_unittest.cc 30 scoped_ptr<SolidColorLayerImpl> layer = local
32 layer->draw_properties().visible_content_rect = visible_content_rect;
33 layer->SetBounds(layer_size);
34 layer->SetContentBounds(layer_size);
35 layer->CreateRenderSurface();
36 layer->draw_properties().render_target = layer.get();
39 layer->AppendQuads(&quad_culler, &data);
54 scoped_ptr<SolidColorLayerImpl> layer = local
56 layer->draw_properties().visible_content_rect = visible_content_rect
80 scoped_ptr<SolidColorLayerImpl> layer = local
102 scoped_refptr<SolidColorLayer> layer = SolidColorLayer::Create(); local
    [all...]
tiled_layer_impl_unittest.cc 29 scoped_ptr<TiledLayerImpl> layer = local
34 layer->SetTilingData(*tiler);
35 layer->set_skips_draw(false);
36 layer->draw_properties().visible_content_rect =
38 layer->draw_properties().opacity = 1;
39 layer->SetBounds(layer_size);
40 layer->SetContentBounds(layer_size);
41 layer->CreateRenderSurface();
42 layer->draw_properties().render_target = layer.get()
52 scoped_ptr<TiledLayerImpl> layer = local
72 scoped_ptr<TiledLayerImpl> layer = local
96 scoped_ptr<TiledLayerImpl> layer = local
109 scoped_ptr<TiledLayerImpl> layer = local
119 scoped_ptr<TiledLayerImpl> layer = local
135 scoped_ptr<TiledLayerImpl> layer = local
153 scoped_ptr<TiledLayerImpl> layer = local
281 scoped_ptr<TiledLayerImpl> layer = CreateLayerNoTiles( local
    [all...]
tiled_layer_unittest.cc 37 void SetRenderTarget(Layer* render_target) {
65 layer_tree_host_->SetRootLayer(Layer::Create());
108 void LayerPushPropertiesTo(FakeTiledLayer* layer,
112 layer->PushPropertiesTo(layer_impl);
113 layer->ResetNumDependentsNeedPushProperties();
116 void LayerUpdate(FakeTiledLayer* layer, TestOcclusionTracker* occluded) {
118 layer->Update(queue_.get(), occluded);
198 scoped_refptr<FakeTiledLayer> layer = local
204 layer_tree_host_->root_layer()->AddChild(layer);
207 layer->SetBounds(gfx::Size(100, 200))
227 scoped_refptr<FakeTiledLayer> layer = local
279 scoped_refptr<FakeTiledLayer> layer = local
318 scoped_refptr<FakeTiledLayer> layer = local
358 scoped_refptr<FakeTiledLayer> layer = local
498 scoped_refptr<FakeTiledLayer> layer = local
524 scoped_refptr<FakeTiledLayer> layer = local
628 scoped_refptr<FakeTiledLayer> layer = local
675 scoped_refptr<FakeTiledLayer> layer = local
704 scoped_refptr<FakeTiledLayer> layer = local
737 scoped_refptr<FakeTiledLayer> layer = local
775 scoped_refptr<FakeTiledLayer> layer = local
817 scoped_refptr<FakeTiledLayerWithScaledBounds> layer = make_scoped_refptr( local
863 scoped_refptr<FakeTiledLayer> layer = local
975 scoped_refptr<FakeTiledLayer> layer = local
994 scoped_refptr<FakeTiledLayer> layer = local
1021 scoped_refptr<FakeTiledLayer> layer = make_scoped_refptr( local
1130 scoped_refptr<FakeTiledLayer> layer = local
1148 scoped_refptr<FakeTiledLayer> layer = local
1214 scoped_refptr<FakeTiledLayer> layer = local
1288 scoped_refptr<FakeTiledLayer> layer = local
1335 scoped_refptr<FakeTiledLayer> layer = local
1374 scoped_refptr<FakeTiledLayer> layer = local
1481 scoped_refptr<FakeTiledLayer> layer = local
1604 scoped_refptr<FakeTiledLayer> layer = local
1872 scoped_refptr<UpdateTrackingTiledLayer> layer = local
1908 scoped_refptr<UpdateTrackingTiledLayer> layer = local
    [all...]
layer_impl_unittest.cc 136 // Changing these properties only affects the layer itself.
151 // Special case: check that sublayer transform changes all layer's
152 // descendants, but not the layer itself.
302 scoped_ptr<LayerImpl> layer = LayerImpl::Create(host_impl.active_tree(), 1); local
307 layer->SetContentsOpaque(!!contents_opaque);
308 layer->SetBackgroundColor(layer_opaque ? SK_ColorRED
313 SkColor safe_color = layer->SafeOpaqueBackgroundColor();
336 LayerImpl* layer() { return host_impl_.active_tree()->root_layer(); } function in class:cc::__anon6477::LayerImplScrollTest
348 layer()->SetMaxScrollOffset(max_scroll_offset);
350 EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->TotalScrollOffset())
    [all...]
  /external/chromium_org/tools/perf/page_sets/
tough_layer_cases.json 2 "description": "A collection of tests to measure layer performance",
  /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/ash/wm/
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...]
  /external/chromium-trace/trace-viewer/src/cc/
layer_tree_impl.js 37 function visitLayer(layer, depth, isMask, isReplica) {
38 func(layer, depth, isMask, isReplica);
39 for (var i = 0; i < layer.children.length; i++)
40 visitLayer(layer.children[i], depth + 1);
41 if (layer.maskLayer)
42 visitLayer(layer, depth + 1, true, false);
43 if (layer.replicaLayer)
44 visitLayer(layer, depth + 1, false, true);
50 function visitLayer(layer) {
51 if (layer.layerId == id
    [all...]
  /frameworks/base/core/java/android/view/
HardwareLayer.java 26 * A hardware layer can be used to render graphics operations into a hardware
27 * friendly buffer. For instance, with an OpenGL backend a hardware layer
28 * would use a Frame Buffer Object (FBO.) The hardware layer can be used as
45 * Creates a new hardware layer with undefined dimensions.
52 * Creates a new hardware layer at least as large as the supplied
55 * @param width The minimum width of the layer
56 * @param height The minimum height of the layer
57 * @param isOpaque Whether the layer should be opaque or not
66 * Update the paint used when drawing this layer.
68 * @param paint The paint used when the layer is drawn into the destination canvas
    [all...]
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
ComposingText.java 36 * Text layer 0.
38 * This text layer holds key strokes.<br>
43 * Text layer 1.
45 * This text layer holds the result of the letter converter.<br>
50 * Text layer 2.
52 * This text layer holds the result of the consecutive clause converter.<br>
60 /** Composing text's layer data */
96 * @param layer Layer
101 public StrSegment getStrSegment(int layer, int pos)
    [all...]
  /external/chromium_org/cc/debug/
debug_rect_history.cc 63 void DebugRectHistory::SavePaintRects(LayerImpl* layer) {
64 // We would like to visualize where any layer's paint rect (update rect) has
65 // changed, regardless of whether this layer is skipped for actual drawing or
69 if (!layer->update_rect().IsEmpty() && layer->DrawsContent()) {
70 float width_scale = layer->content_bounds().width() /
71 static_cast<float>(layer->bounds().width());
72 float height_scale = layer->content_bounds().height() /
73 static_cast<float>(layer->bounds().height());
75 gfx::ScaleRect(layer->update_rect(), width_scale, height_scale)
99 LayerImpl* layer = layer_list[layer_index]; local
    [all...]

Completed in 2259 milliseconds

1 2 3 4 5 6 7 8 91011>>