/external/chromium_org/ash/wm/ |
screen_dimmer.cc | 46 ui::Layer* root_layer = root_window_->layer(); local 47 dimming_layer_->SetBounds(root_layer->bounds()); 48 root_layer->Add(dimming_layer_.get()); 49 root_layer->StackAtTop(dimming_layer_.get());
|
screen_dimmer_unittest.cc | 48 ui::Layer* root_layer = Shell::GetPrimaryRootWindow()->layer(); local 49 ASSERT_TRUE(!root_layer->children().empty()); 50 EXPECT_EQ(test_api_->layer(), root_layer->children().back()); 67 ui::Layer* root_layer = Shell::GetPrimaryRootWindow()->layer(); local 68 EXPECT_EQ(gfx::Rect(root_layer->bounds().size()).ToString(),
|
system_background_controller.cc | 22 ui::Layer* root_layer = root_window_->layer(); local 23 layer_->SetBounds(gfx::Rect(root_layer->bounds().size())); 24 root_layer->Add(layer_.get()); 25 root_layer->StackAtBottom(layer_.get());
|
boot_splash_screen_chromeos.cc | 59 ui::Layer* root_layer = root_window->window()->layer(); local 60 layer_->SetBounds(gfx::Rect(root_layer->bounds().size())); 61 root_layer->Add(layer_.get()); 62 root_layer->StackAtTop(layer_.get());
|
/external/chromium_org/cc/trees/ |
layer_tree_host_unittest_video.cc | 52 LayerImpl* root_layer = host_impl->active_tree()->root_layer(); variable 53 RenderSurfaceImpl* root_surface = root_layer->render_surface(); 77 host_impl->active_tree()->root_layer()->children()[0]);
|
layer_tree_host_common.h | 34 CalcDrawPropsInputs(LayerType* root_layer, 45 : root_layer(root_layer), 57 LayerType* root_layer; member in struct:cc::LayerTreeHostCommon::CalcDrawPropsInputs 74 LayerType* root_layer, 79 LayerType* root_layer, 116 LayerType* root_layer, 122 static LayerType* FindLayerInSubtree(LayerType* root_layer, int layer_id); 166 LayerType* LayerTreeHostCommon::FindLayerInSubtree(LayerType* root_layer, 168 if (!root_layer) [all...] |
layer_tree_host_unittest_damage.cc | 57 impl->active_tree()->root_layer()->render_surface(); 118 impl->active_tree()->root_layer()->render_surface(); 273 host_impl->active_tree()->root_layer()->render_surface(); 335 host_impl->active_tree()->root_layer()->render_surface(); 426 scoped_refptr<Layer> root_layer = Layer::Create(); variable 427 root_layer->SetBounds(gfx::Size(400, 400)); 428 root_layer->SetMasksToBounds(true); 429 layer_tree_host()->SetRootLayer(root_layer); variable 436 root_layer->AddChild(content_layer); 442 root_layer->AddChild(scrollbar_layer) [all...] |
quad_culler_unittest.cc | 142 scoped_ptr<TiledLayerImpl> root_layer = MakeLayer(NULL, local 149 scoped_ptr<TiledLayerImpl> child_layer = MakeLayer(root_layer.get(), 166 root_layer.get(), 182 scoped_ptr<TiledLayerImpl> root_layer = MakeLayer(NULL, local 189 scoped_ptr<TiledLayerImpl> child_layer = MakeLayer(root_layer.get(), 206 root_layer.get(), 222 scoped_ptr<TiledLayerImpl> root_layer = MakeLayer(NULL, local 229 scoped_ptr<TiledLayerImpl> child_layer = MakeLayer(root_layer.get(), 246 root_layer.get(), 262 scoped_ptr<TiledLayerImpl> root_layer = MakeLayer(NULL local 303 scoped_ptr<TiledLayerImpl> root_layer = MakeLayer(NULL, local 369 scoped_ptr<TiledLayerImpl> root_layer = MakeLayer(NULL, local 420 scoped_ptr<TiledLayerImpl> root_layer = MakeLayer(NULL, local 461 scoped_ptr<TiledLayerImpl> root_layer = MakeLayer(NULL, local 502 scoped_ptr<TiledLayerImpl> root_layer = MakeLayer(NULL, local 548 scoped_ptr<TiledLayerImpl> root_layer = MakeLayer(NULL, local 594 scoped_ptr<TiledLayerImpl> root_layer = MakeLayer(NULL, local 642 scoped_ptr<TiledLayerImpl> root_layer = MakeLayer(NULL, local 691 scoped_ptr<TiledLayerImpl> root_layer = MakeLayer(NULL, local 730 scoped_ptr<TiledLayerImpl> root_layer = MakeLayer(NULL, local [all...] |
layer_tree_impl.h | 100 LayerImpl* root_layer() const { return root_layer_.get(); } function in class:cc::LayerTreeImpl
|
layer_tree_host_unittest_scroll.cc | 34 layer_tree_host()->root_layer()->SetScrollable(true); 35 layer_tree_host()->root_layer() 37 layer_tree_host()->root_layer()->SetScrollOffset(initial_scroll_); 42 Layer* root = layer_tree_host()->root_layer(); 54 LayerImpl* root = impl->active_tree()->root_layer(); 98 layer_tree_host()->root_layer()->SetScrollable(true); 99 layer_tree_host()->root_layer()->SetScrollOffset(initial_scroll_); 100 layer_tree_host()->root_layer()->SetBounds(gfx::Size(200, 200)); 101 layer_tree_host()->root_layer() 107 Layer* root = layer_tree_host()->root_layer(); 404 scoped_refptr<Layer> root_layer = Layer::Create(); variable 450 layer_tree_host()->SetRootLayer(root_layer); variable 1037 scoped_refptr<Layer> root_layer = Layer::Create(); variable 1045 layer_tree_host()->SetRootLayer(root_layer); variable [all...] |
layer_tree_host.h | 188 void SetRootLayer(scoped_refptr<Layer> root_layer); 189 Layer* root_layer() { return root_layer_.get(); } function in class:cc::LayerTreeHost 190 const Layer* root_layer() const { return root_layer_.get(); } function in class:cc::LayerTreeHost 331 bool UpdateLayers(Layer* root_layer, ResourceUpdateQueue* queue);
|
layer_tree_host_impl_unittest.cc | 386 ASSERT_FALSE(host_impl_->active_tree()->root_layer()); 406 LayerImpl* root = host_impl_->active_tree()->root_layer(); 433 LayerImpl* root = host_impl_->active_tree()->root_layer(); 521 host_impl_->active_tree()->root_layer()->ClearRenderSurface(); 532 LayerImpl* root = host_impl_->active_tree()->root_layer(); 586 LayerImpl* root = host_impl_->active_tree()->root_layer(); 603 LayerImpl* root = host_impl_->active_tree()->root_layer(); 617 LayerImpl* root = host_impl_->active_tree()->root_layer(); 648 LayerImpl* root = host_impl_->active_tree()->root_layer(); 800 host_impl_->active_tree()->root_layer()->ClearRenderSurface() 3825 scoped_ptr<LayerImpl> root_layer = local 4869 scoped_ptr<SolidColorLayerImpl> root_layer = local 4906 scoped_ptr<SolidColorLayerImpl> root_layer = variable [all...] |
layer_tree_host_unittest.cc | 166 VerifyAfterValues(impl->active_tree()->root_layer()); 170 SetBeforeValues(layer_tree_host()->root_layer()); 171 VerifyBeforeValues(layer_tree_host()->root_layer()); 179 SetAfterValues(layer_tree_host()->root_layer()); 1847 Layer* root_layer = layer_tree_host()->root_layer(); variable 2532 scoped_refptr<ContentLayer> root_layer = ContentLayer::Create(&client_); variable 2536 layer_tree_host()->SetRootLayer(root_layer); variable 2773 scoped_refptr<ContentLayer> root_layer = ContentLayer::Create(&client_); variable 2777 layer_tree_host()->SetRootLayer(root_layer); variable 2789 LayerImpl* root_layer = host_impl->active_tree()->root_layer(); variable 2792 LayerImpl* root_layer = host_impl->active_tree()->root_layer(); variable 4182 scoped_refptr<SolidColorLayer> root_layer = SolidColorLayer::Create(); variable 4186 layer_tree_host()->SetRootLayer(root_layer); variable 4253 scoped_refptr<FakePictureLayer> root_layer = variable 4258 layer_tree_host()->SetRootLayer(root_layer); variable [all...] |
/external/chromium_org/cc/layers/ |
render_surface_unittest.cc | 84 scoped_ptr<LayerImpl> root_layer = local 94 root_layer->AddChild(owning_layer.Pass()); 147 scoped_ptr<LayerImpl> root_layer = local 157 root_layer->AddChild(owning_layer.Pass());
|
layer_iterator_unittest.cc | 107 scoped_refptr<TestLayer> root_layer = TestLayer::Create(); local 113 root_layer->AddChild(first); 114 root_layer->AddChild(second); 115 root_layer->AddChild(third); 116 root_layer->AddChild(fourth); 119 host->SetRootLayer(root_layer); 123 root_layer.get(), root_layer->bounds(), &render_surface_layer_list); 127 EXPECT_COUNT(root_layer, 5, -1, 4); 135 scoped_refptr<TestLayer> root_layer = TestLayer::Create() local 175 scoped_refptr<TestLayer> root_layer = TestLayer::Create(); local [all...] |
delegated_renderer_layer_impl_unittest.cc | 59 scoped_ptr<LayerImpl> root_layer = SolidColorLayerImpl::Create( local 69 root_layer->SetBounds(gfx::Size(100, 100)); 114 root_layer_ = root_layer.get(); 122 root_layer->AddChild(layer_after.Pass()); 126 root_layer->AddChild(layer_before.Pass()); 127 host_impl_->active_tree()->SetRootLayer(root_layer.Pass()); 495 scoped_ptr<LayerImpl> root_layer = LayerImpl::Create( local 501 root_layer->SetBounds(gfx::Size(100, 100)); 612 root_layer_ = root_layer.get(); 615 root_layer->AddChild(delegated_renderer_layer.PassAs<LayerImpl>()) 901 scoped_ptr<LayerImpl> root_layer = local 1282 scoped_ptr<LayerImpl> root_layer = LayerImpl::Create( local [all...] |
scrollbar_layer_unittest.cc | 174 scoped_refptr<Layer> root_layer = Layer::Create(); local 177 FakePaintedScrollbarLayer::Create(false, true, root_layer->id()); 179 root_layer->SetScrollable(true); 180 root_layer->SetMaxScrollOffset(gfx::Vector2d(80, 0)); 181 root_layer->SetBounds(gfx::Size(100, 50)); 184 host->SetRootLayer(root_layer); 185 root_layer->AddChild(content_layer); 186 root_layer->AddChild(scrollbar_layer); 188 root_layer->SetScrollOffset(gfx::Vector2d(0, 0)); 209 root_layer->SetScrollOffset(gfx::Vector2d(-5, 0)) [all...] |
tiled_layer_unittest.cc | 132 occlusion_->SetRenderTarget(layer_tree_host_->root_layer()); 135 layer_tree_host_->root_layer(), 215 layer_tree_host_->root_layer()->AddChild(layer); 246 layer_tree_host_->root_layer()->AddChild(layer); 296 layer_tree_host_->root_layer()->AddChild(layer); 335 layer_tree_host_->root_layer()->AddChild(layer); 374 layer_tree_host_->root_layer()->AddChild(layer); 458 layer_tree_host_->root_layer()->AddChild(layer1); 459 layer_tree_host_->root_layer()->AddChild(layer2); 517 layer_tree_host_->root_layer()->AddChild(layer) 948 scoped_refptr<FakeTiledLayer> root_layer = make_scoped_refptr( local [all...] |
texture_layer_unittest.cc | 164 scoped_refptr<Layer> root_layer = Layer::Create(); local 165 ASSERT_TRUE(root_layer.get()); 168 root_layer->AddChild(child_layer); 176 layer_tree_host_->SetRootLayer(root_layer); [all...] |
/external/chromium_org/chrome/browser/chromeos/ui/ |
focus_ring_layer.cc | 42 ui::Layer* root_layer = root_window->layer(); local 47 root_layer->Add(layer_.get());
|
/external/chromium_org/cc/test/ |
layer_tree_test.cc | 495 if (!layer_tree_host_->root_layer()) { 496 scoped_refptr<Layer> root_layer = Layer::Create(); local 497 root_layer->SetAnchorPoint(gfx::PointF()); 498 root_layer->SetBounds(gfx::Size(1, 1)); 499 root_layer->SetIsDrawable(true); 500 layer_tree_host_->SetRootLayer(root_layer); 503 gfx::Size root_bounds = layer_tree_host_->root_layer()->bounds(); 665 if (layer_tree_host_ && layer_tree_host_->root_layer()) 666 layer_tree_host_->root_layer()->SetLayerTreeHost(NULL);
|
/external/chromium_org/ui/compositor/ |
compositor.h | 226 const Layer* root_layer() const { return root_layer_; } function in class:ui::Compositor 227 Layer* root_layer() { return root_layer_; } function in class:ui::Compositor 228 void SetRootLayer(Layer* root_layer); 265 // the |root_layer|.
|
layer.cc | 127 DCHECK(!compositor || compositor->root_layer() == this); 386 const Layer* root_layer = GetRoot(source); local 387 CHECK_EQ(root_layer, GetRoot(target)); 389 if (source != root_layer) 390 source->ConvertPointForAncestor(root_layer, point); 391 if (target != root_layer) 392 target->ConvertPointFromAncestor(root_layer, point);
|
/external/chromium_org/content/renderer/gpu/ |
gpu_benchmarking_extension.cc | 467 const cc::Layer* root_layer = context.compositor()->GetRootLayer(); local 468 if (!root_layer) 484 serializer.Serialize(root_layer);
|
/external/chromium_org/ui/views/ |
view_unittest.cc | 3070 ui::Layer* root_layer = widget()->GetLayer(); local 3562 ui::Layer* root_layer = GetRootLayer(); local [all...] |