/external/chromium_org/ui/views/widget/desktop_aura/ |
desktop_native_widget_aura.cc | 21 #include "ui/compositor/layer.h" 524 return content_window_ ? content_window_->layer()->GetCompositor() : NULL; 532 ui::Layer* DesktopNativeWidgetAura::GetLayer() { 533 return content_window_ ? content_window_->layer() : NULL; 928 void DesktopNativeWidgetAura::DidRecreateLayer(ui::Layer* old_layer, 929 ui::Layer* new_layer) {} [all...] |
/external/chromium_org/ui/aura/ |
window_unittest.cc | 34 #include "ui/compositor/layer.h" 313 // Layer::ConvertPointToLayer, except NULL values for |source| are permitted, 709 // Make sure StackChildAtTop moves both the window and layer to the front. 723 ASSERT_EQ(2u, parent.layer()->children().size()); 724 EXPECT_EQ(child1.layer(), parent.layer()->children()[0]); 725 EXPECT_EQ(child2.layer(), parent.layer()->children()[1]); 731 ASSERT_EQ(2u, parent.layer()->children().size()); 732 EXPECT_EQ(child1.layer(), parent.layer()->children()[1]) 1993 ui::Layer* layer = w.layer(); local [all...] |
/external/chromium_org/ui/views/widget/ |
widget.cc | 16 #include "ui/compositor/layer.h" 43 // If |view| has a layer the layer is added to |layers|. Else this recurses 45 // views that are direct children of the Widgets layer. 46 void BuildRootLayers(View* view, std::vector<ui::Layer*>* layers) { 47 if (view->layer()) { 48 layers->push_back(view->layer()); 902 ui::Layer* Widget::GetLayer() { 1041 if (GetCompositor() && root && root->layer()) 1042 root->layer()->SetVisible(visible) [all...] |
root_view.cc | 13 #include "ui/compositor/layer.h" 401 if (layer()) { 402 layer()->SchedulePaint(rect); 624 if (layer()) 667 if (!layer() || !layer()->fills_bounds_opaquely()) 674 ui::Layer** layer_parent) { 676 if (!layer() && layer_parent)
|
/external/chromium_org/ash/ |
shell.h | 61 class Layer;
|
root_window_controller.cc | 209 virtual void DidRecreateLayer(ui::Layer* old_layer, 210 ui::Layer* new_layer) OVERRIDE {} 539 (*iter)->layer()->GetTargetVisibility()) { 759 // opaque layer occluding the non-lock-screen layers. [all...] |
/external/chromium_org/ash/wm/workspace/ |
workspace_layout_manager.cc | 225 // Do not cross fade here: the window's layer hierarchy may be messed up for 426 ui::Layer* layer = child->layer(); local 427 ui::ScopedLayerAnimationSettings slide_settings(layer->GetAnimator());
|
/external/chromium_org/content/browser/android/ |
content_view_core_impl.cc | 17 #include "cc/layers/layer.h" 170 root_layer_(cc::Layer::Create()), 727 void ContentViewCoreImpl::AttachLayer(scoped_refptr<cc::Layer> layer) { 728 root_layer_->AddChild(layer); 731 void ContentViewCoreImpl::RemoveLayer(scoped_refptr<cc::Layer> layer) { 732 layer->RemoveFromParent(); 776 scoped_refptr<cc::Layer> ContentViewCoreImpl::GetLayer() const { [all...] |
/external/chromium_org/content/browser/aura/ |
gpu_process_transport_factory.cc | 256 ui::Layer* target) {
|
/external/chromium_org/content/browser/renderer_host/media/ |
desktop_capture_device_aura.cc | 26 #include "ui/compositor/layer.h" 128 // Response callback for cc::Layer::RequestCopyOfOutput(). 146 // The layer associated with the desktop. 147 ui::Layer* desktop_layer_; 186 // If the desktop layer is already destroyed then return failure. 187 desktop_layer_ = desktop_window_->layer(); 248 // Do not capture if the desktop layer is already destroyed. 266 ui::ConvertRectToPixel(desktop_window_->layer(),
|
/external/chromium_org/content/renderer/browser_plugin/ |
browser_plugin_compositing_helper.cc | 126 cc::Layer* layer) { 129 // The container size is in DIP, so is the layer size. 134 layer->SetBounds(device_scale_adjusted_size); 137 // Manually manage background layer for transparent webview. 265 // We accomplish this by modifying bounds of the texture layer only
|
/external/chromium_org/ash/wm/ |
drag_window_resizer_unittest.cc | 164 // layer, it's below the primary one. See UpdateDisplay() in ash_test_base.cc. 235 // layer, it's below the primary one. See UpdateDisplay() in ash_test_base.cc. 309 EXPECT_FLOAT_EQ(1.0f, window_->layer()->opacity()); 330 ui::Layer* drag_layer = 331 controller->drag_widget_->GetNativeWindow()->layer(); 334 const std::vector<ui::Layer*>& layers = drag_layer->children(); 340 EXPECT_FLOAT_EQ(1.0f, window_->layer()->opacity()); 349 EXPECT_GT(1.0f, window_->layer()->opacity()); 354 EXPECT_FLOAT_EQ(1.0f, window_->layer()->opacity()); 361 EXPECT_FLOAT_EQ(1.0f, window_->layer()->opacity()) [all...] |
workspace_controller_unittest.cc | 31 #include "ui/compositor/layer.h" 55 // child layers of |window|'s layer. Any layers that don't correspond to a child 56 // Window of |window| are ignored. The result is ordered based on the layer 59 typedef std::map<const ui::Layer*, std::string> LayerToWindowNameMap; 62 window_names[window->children()[i]->layer()] = 67 const std::vector<ui::Layer*>& layers(window->layer()->children()); 155 ASSERT_TRUE(w1->layer() != NULL); 156 EXPECT_TRUE(w1->layer()->visible()); 173 ASSERT_TRUE(w1->layer() != NULL) [all...] |
/external/chromium_org/content/renderer/gpu/ |
gpu_benchmarking_extension.cc | 14 #include "cc/layers/layer.h" 77 // Recursively serializes the layer tree. 78 // Each layer in the tree is serialized into a separate skp file 80 void Serialize(const cc::Layer* layer) { 81 const cc::LayerList& children = layer->children(); 86 skia::RefPtr<SkPicture> picture = layer->GetPicture(); 467 const cc::Layer* root_layer = context.compositor()->GetRootLayer();
|
/external/chromium_org/ui/app_list/views/ |
apps_grid_view.cc | 99 // Before running the animation, the item's layer is re-created and kept in 102 // the layer and fades it out while fading in the item at the same time. 107 ui::Layer* layer, 110 layer_(layer), 111 layer_start_(layer ? layer->bounds() : gfx::Rect()), 118 view_->layer()->SetOpacity(animation->GetCurrentValue()); 119 view_->layer()->ScheduleDraw(); 129 view_->layer()->SetOpacity(1.0f) [all...] |
/external/chromium_org/ash/desktop_background/ |
desktop_background_controller_unittest.cc | 81 // Steps a widget's layer animation until it is completed. Animations must be 88 ui::Layer* layer = widget->GetNativeView()->layer(); local 89 ui::LayerAnimatorTestController controller(layer->GetAnimator()); 90 gfx::AnimationContainerElement* element = layer->GetAnimator(); 328 // Force the widget's layer animation to play to completion.
|
/external/chromium_org/cc/layers/ |
tiled_layer_unittest.cc | 38 void SetRenderTarget(Layer* render_target) { 71 layer_tree_host_->SetRootLayer(Layer::Create()); 117 void LayerPushPropertiesTo(FakeTiledLayer* layer, 121 layer->PushPropertiesTo(layer_impl); 122 layer->ResetNumDependentsNeedPushProperties(); 125 void LayerUpdate(FakeTiledLayer* layer, TestOcclusionTracker* occluded) { 127 layer->Update(queue_.get(), occluded); 209 scoped_refptr<FakeTiledLayer> layer = local 215 layer_tree_host_->root_layer()->AddChild(layer); 218 layer->SetBounds(gfx::Size(100, 200)) 238 scoped_refptr<FakeTiledLayer> layer = local 290 scoped_refptr<FakeTiledLayer> layer = local 329 scoped_refptr<FakeTiledLayer> layer = local 369 scoped_refptr<FakeTiledLayer> layer = local 509 scoped_refptr<FakeTiledLayer> layer = local 535 scoped_refptr<FakeTiledLayer> layer = local 639 scoped_refptr<FakeTiledLayer> layer = local 686 scoped_refptr<FakeTiledLayer> layer = local 715 scoped_refptr<FakeTiledLayer> layer = local 748 scoped_refptr<FakeTiledLayer> layer = local 786 scoped_refptr<FakeTiledLayer> layer = local 828 scoped_refptr<FakeTiledLayerWithScaledBounds> layer = make_scoped_refptr( local 874 scoped_refptr<FakeTiledLayer> layer = local 988 scoped_refptr<FakeTiledLayer> layer = local 1007 scoped_refptr<FakeTiledLayer> layer = local 1034 scoped_refptr<FakeTiledLayer> layer = make_scoped_refptr( local 1138 scoped_refptr<FakeTiledLayer> layer = local 1156 scoped_refptr<FakeTiledLayer> layer = local 1222 scoped_refptr<FakeTiledLayer> layer = local 1296 scoped_refptr<FakeTiledLayer> layer = local 1343 scoped_refptr<FakeTiledLayer> layer = local 1382 scoped_refptr<FakeTiledLayer> layer = local 1489 scoped_refptr<FakeTiledLayer> layer = local 1612 scoped_refptr<FakeTiledLayer> layer = local 1886 scoped_refptr<UpdateTrackingTiledLayer> layer = local 1922 scoped_refptr<UpdateTrackingTiledLayer> layer = local [all...] |
/frameworks/base/libs/hwui/ |
DisplayList.cpp | 229 const Vector<Layer*>& layers = recorder.getLayers(); 382 clipToBoundsNeeded = false; // clipping done by save layer
|
DisplayListRenderer.cpp | 255 status_t DisplayListRenderer::drawLayer(Layer* layer, float x, float y) { 256 layer = refLayer(layer); 257 addDrawOp(new (alloc()) DrawLayerOp(layer, x, y));
|
DisplayListOp.h | 764 * the current layer, if any. [all...] |
/external/chromium_org/ash/wm/dock/ |
docked_window_layout_manager.cc | 68 // Sets widget bounds and sizes opaque background layer to fill the widget. 90 // TODO(varkha): use ui::Layer on both opaque_background and normal 149 GetNativeWindow()->layer()->Add(&opaque_background_); 170 ui::Layer opaque_background_; 202 window->layer()->SetBounds(previous_bounds); 829 ui::ScopedLayerAnimationSettings settings(window->layer()->GetAnimator()); 1133 ui::Layer* layer = window->layer(); local [all...] |
/external/chromium_org/ui/message_center/views/ |
message_center_view.cc | 189 virtual void ReorderChildLayers(ui::Layer* parent_layer) OVERRIDE; 307 if (child->layer()) { 369 if (!child_at(i)->layer()) 374 void MessageListView::ReorderChildLayers(ui::Layer* parent_layer) { 375 // Reorder children to stack the last child layer at the top. Otherwise 378 if (child_at(i)->layer()) 379 parent_layer->StackAtBottom(child_at(i)->layer()); 426 (*iter)->layer()->SetOpacity(animation->CurrentValueBetween(1.0, 0.0)); 552 DCHECK(child->layer()); 630 scroller_->layer()->SetMasksToBounds(true) [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
HWComposer.cpp | 46 #include "../Layer.h" // needed only for debugging 827 * This holds the pointer to the concrete hwc layer type 835 Iterable(HWCTYPE* layer) : mLayerList(layer), mCurrentLayer(layer) { } 857 HWCLayerVersion1(struct hwc_composer_device_1* hwc, hwc_layer_1_t* layer) 858 : Iterable<HWCLayerVersion1, hwc_layer_1_t>(layer), mHwc(hwc) { } 923 * Layer::drawWithOpenGL(). The difference can be large if the buffer crop to [all...] |
/external/chromium_org/ash/shelf/ |
shelf_layout_manager.cc | 42 #include "ui/compositor/layer.h" 76 ui::Layer* GetLayer(views::Widget* widget) { 77 return widget->GetNativeView()->layer(); [all...] |
/external/chromium_org/chrome/browser/chromeos/login/ |
login_display_host_impl.cc | 76 #include "ui/compositor/layer.h" 547 lock_container->layer()->SetOpacity(1.0); 818 // default and background layer because there is nothing behind it. 828 ui::Layer* layer = login_window_->GetLayer(); local 829 ui::ScopedLayerAnimationSettings animation(layer->GetAnimator()); 834 layer->SetOpacity(0); [all...] |