/external/chromium_org/ash/wm/ |
H A D | 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(),
|
H A D | boot_splash_screen_chromeos.cc | 63 ui::Layer* root_layer = host->window()->layer(); local 65 root_layer->Add(layer_.get()); 66 root_layer->StackAtTop(layer_.get());
|
H A D | screen_dimmer.cc | 44 ui::Layer* root_layer = root_window_->layer(); local 45 dimming_layer_->SetBounds(root_layer->bounds()); 46 root_layer->Add(dimming_layer_.get()); 47 root_layer->StackAtTop(dimming_layer_.get());
|
H A D | system_background_controller.cc | 21 ui::Layer* root_layer = root_window_->layer(); local 22 layer_->SetBounds(gfx::Rect(root_layer->bounds().size())); 23 root_layer->Add(layer_.get()); 24 root_layer->StackAtBottom(layer_.get());
|
/external/chromium_org/cc/trees/ |
H A D | layer_tree_host_unittest_video.cc | 50 LayerImpl* root_layer = host_impl->active_tree()->root_layer(); variable 51 RenderSurfaceImpl* root_surface = root_layer->render_surface(); 75 host_impl->active_tree()->root_layer()->children()[0]);
|
H A D | layer_tree_host_common.h | 34 CalcDrawPropsInputs(LayerType* root_layer, argument 46 : root_layer(root_layer), 60 LayerType* root_layer; member in struct:cc::LayerTreeHostCommon::CalcDrawPropsInputs 78 LayerType* root_layer, 83 LayerType* root_layer, 108 LayerType* root_layer, 114 static LayerType* FindLayerInSubtree(LayerType* root_layer, int layer_id); 160 LayerType* LayerTreeHostCommon::FindLayerInSubtree(LayerType* root_layer, argument 162 if (!root_layer) 184 CallFunctionForSubtree( LayerType* root_layer, const base::Callback<void(LayerType* layer)>& function) argument 206 CalcDrawPropsInputsForTesting( LayerType* root_layer, const gfx::Size& device_viewport_size, const gfx::Transform& device_transform, RenderSurfaceLayerListType* render_surface_layer_list) argument 231 CalcDrawPropsInputsForTesting( LayerType* root_layer, const gfx::Size& device_viewport_size, RenderSurfaceLayerListType* render_surface_layer_list) argument [all...] |
H A D | layer_tree_host_unittest_damage.cc | 58 impl->active_tree()->root_layer()->render_surface(); 120 impl->active_tree()->root_layer()->render_surface(); 268 host_impl->active_tree()->root_layer()->render_surface(); 359 scoped_refptr<Layer> root_layer = Layer::Create(); variable 360 root_layer->SetBounds(gfx::Size(400, 400)); 361 root_layer->SetMasksToBounds(true); 362 layer_tree_host()->SetRootLayer(root_layer); variable 373 root_layer->AddChild(scroll_clip_layer); 381 root_layer->AddChild(scrollbar_layer); 409 host_impl->active_tree()->root_layer() [all...] |
H A D | occlusion_tracker_perftest.cc | 44 scoped_ptr<LayerImpl> root_layer = LayerImpl::Create(active_tree(), 1); local 45 active_tree()->SetRootLayer(root_layer.Pass()); 89 active_tree()->root_layer()->AddChild(opaque_layer.PassAs<LayerImpl>()); 128 EXPECT_EQ(active_tree()->root_layer(), next.current_layer); 157 active_tree()->root_layer()->AddChild(opaque_layer.PassAs<LayerImpl>()); 197 EXPECT_EQ(active_tree()->root_layer(), next.current_layer);
|
H A D | layer_tree_impl_unittest.cc | 34 LayerImpl* root_layer() { return host_impl_->active_tree()->root_layer(); } function in class:cc::__anon2777::LayerTreeImplTest 69 ASSERT_EQ(1u, root_layer()->render_surface()->layer_list().size()); 135 ASSERT_EQ(2u, root_layer()->render_surface()->layer_list().size()); 192 ASSERT_EQ(1u, root_layer()->render_surface()->layer_list().size()); 193 ASSERT_FALSE(root_layer()->screen_space_transform().IsInvertible()); 259 ASSERT_EQ(1u, root_layer()->render_surface()->layer_list().size()); 315 ASSERT_EQ(1u, root_layer()->render_surface()->layer_list().size()); 384 ASSERT_EQ(1u, root_layer()->render_surface()->layer_list().size()); 466 host_impl().active_tree()->root_layer() [all...] |
H A D | layer_tree_host_unittest_scroll.cc | 35 Layer* root_layer = layer_tree_host()->root_layer(); variable 37 root_layer->AddChild(scroll_layer); 39 scroll_layer->SetBounds(gfx::Size(root_layer->bounds().width() + 100, 40 root_layer->bounds().height() + 100)); 43 scroll_layer->SetScrollClipLayerId(root_layer->id()); 45 layer_tree_host()->RegisterViewportLayers(root_layer, scroll_layer, NULL); 50 Layer* root = layer_tree_host()->root_layer(); 64 LayerImpl* root = impl->active_tree()->root_layer(); 110 Layer* root_layer variable 206 Layer* root_layer = layer_tree_host()->root_layer(); variable 379 Layer* root_layer = layer_tree_host()->root_layer(); variable 449 scoped_refptr<Layer> root_layer = Layer::Create(); variable 493 layer_tree_host()->SetRootLayer(root_layer); variable 774 Layer* root_layer = layer_tree_host()->root_layer(); variable 902 Layer* root_layer = layer_tree_host()->root_layer(); variable 1153 scoped_refptr<Layer> root_layer = Layer::Create(); variable 1161 layer_tree_host()->SetRootLayer(root_layer); variable [all...] |
H A D | layer_tree_impl.h | 113 LayerImpl* root_layer() const { return root_layer_.get(); } function in class:cc::LayerTreeImpl
|
/external/chromium_org/cc/test/ |
H A D | layer_tree_host_common_test.cc | 56 Layer* root_layer, 64 gfx::Size(root_layer->bounds().width() * device_scale_factor, 65 root_layer->bounds().height() * device_scale_factor); 69 // We are probably not testing what is intended if the root_layer bounds are 71 DCHECK(!root_layer->bounds().IsEmpty()); 73 root_layer, device_viewport_size, render_surface_layer_list_.get()); 83 LayerImpl* root_layer, 90 gfx::Size(root_layer->bounds().width() * device_scale_factor, 91 root_layer->bounds().height() * device_scale_factor); 95 // We are probably not testing what is intended if the root_layer bound 55 ExecuteCalculateDrawProperties( Layer* root_layer, float device_scale_factor, float page_scale_factor, Layer* page_scale_application_layer, bool can_use_lcd_text) argument 82 ExecuteCalculateDrawProperties( LayerImpl* root_layer, float device_scale_factor, float page_scale_factor, LayerImpl* page_scale_application_layer, bool can_use_lcd_text) argument [all...] |
H A D | layer_test_common.h | 113 LayerImpl* root_layer() const { return root_layer_impl_.get(); } function in class:cc::LayerTestCommon::LayerImplTest
|
H A D | layer_tree_host_common_test.h | 65 void ExecuteCalculateDrawProperties(Layer* root_layer, 71 void ExecuteCalculateDrawProperties(LayerImpl* root_layer, 78 void ExecuteCalculateDrawProperties(LayerType* root_layer) { argument 81 root_layer, 1.f, 1.f, page_scale_application_layer, false); 85 void ExecuteCalculateDrawProperties(LayerType* root_layer, argument 88 ExecuteCalculateDrawProperties(root_layer, 96 void ExecuteCalculateDrawProperties(LayerType* root_layer, argument 100 ExecuteCalculateDrawProperties(root_layer,
|
/external/chromium_org/cc/layers/ |
H A D | render_surface_unittest.cc | 87 scoped_ptr<LayerImpl> root_layer = local 97 root_layer->AddChild(owning_layer.Pass()); 151 scoped_ptr<LayerImpl> root_layer = local 161 root_layer->AddChild(owning_layer.Pass());
|
H A D | layer_iterator_unittest.cc | 103 scoped_refptr<TestLayer> root_layer = TestLayer::Create(); local 109 root_layer->AddChild(first); 110 root_layer->AddChild(second); 111 root_layer->AddChild(third); 112 root_layer->AddChild(fourth); 115 host->SetRootLayer(root_layer); 119 root_layer.get(), root_layer->bounds(), &render_surface_layer_list); 123 EXPECT_COUNT(root_layer, 5, -1, 4); 131 scoped_refptr<TestLayer> root_layer local 171 scoped_refptr<TestLayer> root_layer = TestLayer::Create(); local [all...] |
H A D | delegated_renderer_layer_impl_unittest.cc | 62 scoped_ptr<LayerImpl> root_layer = SolidColorLayerImpl::Create( local 72 root_layer->SetBounds(gfx::Size(100, 100)); 117 root_layer_ = root_layer.get(); 125 root_layer->AddChild(layer_after.Pass()); 129 root_layer->AddChild(layer_before.Pass()); 130 host_impl_->active_tree()->SetRootLayer(root_layer.Pass()); 492 scoped_ptr<LayerImpl> root_layer = LayerImpl::Create( local 498 root_layer->SetBounds(gfx::Size(100, 100)); 631 root_layer_ = root_layer.get(); 634 root_layer 939 scoped_ptr<LayerImpl> root_layer = local 1342 scoped_ptr<LayerImpl> root_layer = LayerImpl::Create( local [all...] |
H A D | layer_position_constraint_unittest.cc | 34 void ExecuteCalculateDrawProperties(LayerImpl* root_layer, argument 41 LayerImpl* scroll_layer = root_layer->children()[0]; 43 gfx::Size(root_layer->bounds().width() * device_scale_factor, 44 root_layer->bounds().height() * device_scale_factor); 50 root_layer, device_viewport_size, &dummy_render_surface_layer_list); 58 void ExecuteCalculateDrawProperties(LayerImpl* root_layer) { argument 61 root_layer, 1.f, 1.f, page_scale_application_layer, false);
|
H A D | scrollbar_layer_unittest.cc | 198 scoped_refptr<Layer> root_layer = Layer::Create(); local 201 FakePaintedScrollbarLayer::Create(false, true, root_layer->id()); 203 root_layer->SetScrollClipLayerId(root_clip_layer->id()); 206 root_layer->SetBounds(gfx::Size(100, 50)); 210 root_clip_layer->AddChild(root_layer); 211 root_layer->AddChild(content_layer); 212 root_layer->AddChild(scrollbar_layer); 214 root_layer->SetScrollOffset(gfx::Vector2d(0, 0)); 216 scrollbar_layer->SetScrollLayer(root_layer->id()); 235 root_layer [all...] |
H A D | tiled_layer_unittest.cc | 181 occlusion_->SetRenderTarget(layer_tree_host_->root_layer()); 184 layer_tree_host_->root_layer(), 265 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); 413 layer_tree_host_->root_layer()->AddChild(layer); 497 layer_tree_host_->root_layer()->AddChild(layer1); 498 layer_tree_host_->root_layer()->AddChild(layer2); 556 layer_tree_host_->root_layer() 984 scoped_refptr<FakeTiledLayer> root_layer = make_scoped_refptr( local [all...] |
/external/chromium_org/chrome/browser/chromeos/ui/ |
H A D | focus_ring_layer.cc | 42 ui::Layer* root_layer = root_window->layer(); local 47 root_layer->Add(layer_.get());
|
/external/chromium_org/mojo/examples/compositor_app/ |
H A D | compositor_host.cc | 38 scoped_refptr<cc::Layer> root_layer = cc::SolidColorLayer::Create(); local 39 root_layer->SetBounds(gfx::Size(500, 500)); 40 root_layer->SetBackgroundColor(SK_ColorBLUE); 41 root_layer->SetIsDrawable(true); 42 tree_->SetRootLayer(root_layer); 51 root_layer->AddChild(child_layer_);
|
/external/chromium_org/cc/debug/ |
H A D | debug_rect_history.cc | 29 LayerImpl* root_layer, 40 SaveTouchEventHandlerRects(root_layer); 43 SaveWheelEventHandlerRects(root_layer); 46 SaveScrollEventHandlerRects(root_layer); 49 SaveNonFastScrollableRects(root_layer); 52 SavePaintRects(root_layer); 28 SaveDebugRectsForCurrentFrame( LayerImpl* root_layer, LayerImpl* hud_layer, const LayerImplList& render_surface_layer_list, const std::vector<gfx::Rect>& occluding_screen_space_rects, const std::vector<gfx::Rect>& non_occluding_screen_space_rects, const LayerTreeDebugState& debug_state) argument
|
/external/chromium_org/ui/compositor/ |
H A D | compositor.cc | 183 void Compositor::SetRootLayer(Layer* root_layer) { argument 184 if (root_layer_ == root_layer) 188 root_layer_ = root_layer;
|
H A D | compositor.h | 147 const Layer* root_layer() const { return root_layer_; } function in class:ui::Compositor 148 Layer* root_layer() { return root_layer_; } function in class:ui::Compositor 149 void SetRootLayer(Layer* root_layer); 184 // the |root_layer|.
|