layer 315 ash/accelerators/accelerator_controller.cc active_window->layer()->GetAnimator()-> layer 317 ash/accelerators/accelerator_controller.cc active_window->layer()->GetAnimator()->StartAnimation( layer 319 ash/accelerators/accelerator_controller.cc new ash::ScreenRotation(360, active_window->layer()))); layer 686 ash/accelerators/accelerator_controller.cc root_windows[i]->layer(), layer 87 ash/desktop_background/desktop_background_controller_unittest.cc ui::Layer* layer = widget->GetNativeView()->layer(); layer 88 ash/desktop_background/desktop_background_controller_unittest.cc ui::LayerAnimatorTestController controller(layer->GetAnimator()); layer 89 ash/desktop_background/desktop_background_controller_unittest.cc gfx::AnimationContainerElement* element = layer->GetAnimator(); layer 190 ash/desktop_background/desktop_background_view.cc desktop_widget->GetNativeWindow()->layer()->SetMasksToBounds(true); layer 110 ash/desktop_background/desktop_background_widget_controller.cc widget_->GetNativeView()->layer()->GetAnimator()); layer 134 ash/desktop_background/desktop_background_widget_controller.cc ui::Layer* layer = controller_->widget()->GetNativeView()->layer(); layer 135 ash/desktop_background/desktop_background_widget_controller.cc layer->GetAnimator()->StopAnimating(); layer 69 ash/dip_unittest.cc shelf->shelf_widget()->GetNativeView()->layer()->bounds().height()); layer 108 ash/dip_unittest.cc shelf->shelf_widget()->GetNativeView()->layer()->bounds().height()); layer 248 ash/display/cursor_window_controller.cc hot_point_ = ui::ConvertPointToDIP(Shell::GetPrimaryRootWindow()->layer(), layer 112 ash/display/mirror_window_controller.cc mirror_window->layer()); layer 88 ash/display/mouse_cursor_event_filter.cc scale_when_drag_started_ = ui::GetDeviceScaleFactor(target->layer()); layer 126 ash/display/output_configurator_animation.cc ash::kShellWindowId_OverlayContainer)->layer(); layer 185 ash/display/output_configurator_animation.cc root_window, ash::kShellWindowId_OverlayContainer)->layer(); layer 156 ash/display/root_window_transformers.cc bounds = ui::ConvertRectToDIP(root_window_->layer(), bounds); layer 114 ash/drag_drop/drag_image_view.cc if (widget_->GetNativeView() && widget_->GetNativeView()->layer()) { layer 116 ash/drag_drop/drag_image_view.cc widget_->GetNativeView()->layer()); layer 38 ash/first_run/desktop_cleaner.cc ui::Layer* layer = container_->layer(); layer 39 ash/first_run/desktop_cleaner.cc ui::ScopedLayerAnimationSettings animation_settings(layer->GetAnimator()); layer 41 ash/first_run/desktop_cleaner.cc layer->SetOpacity(0.0); layer 53 ash/first_run/desktop_cleaner.cc ui::Layer* layer = container_->layer(); layer 54 ash/first_run/desktop_cleaner.cc ui::ScopedLayerAnimationSettings animation_settings(layer->GetAnimator()); layer 55 ash/first_run/desktop_cleaner.cc layer->SetOpacity(1.0); layer 99 ash/frame/header_painter_util.cc window->parent()->layer()->GetAnimator(); layer 33 ash/high_contrast/high_contrast_controller.cc root_window->layer()->SetLayerInverted(enabled_); layer 216 ash/magnifier/magnification_controller.cc ui::ConvertPointToDIP(root_window_->layer(), position); layer 263 ash/magnifier/magnification_controller.cc root_window_->layer()->GetAnimator()); layer 288 ash/magnifier/magnification_controller.cc root_window_->layer()->GetAnimator()->StopAnimating(); layer 67 ash/magnifier/magnification_controller_unittest.cc GetRootWindow()->layer()->transform().TransformRectReverse(&bounds); layer 82 ash/magnifier/magnification_controller_unittest.cc EXPECT_TRUE(GetRootWindow()->layer()->transform().IsIdentity()); layer 88 ash/magnifier/magnification_controller_unittest.cc EXPECT_FALSE(GetRootWindow()->layer()->transform().IsIdentity()); layer 94 ash/magnifier/magnification_controller_unittest.cc EXPECT_TRUE(GetRootWindow()->layer()->transform().IsIdentity()); layer 100 ash/magnifier/magnification_controller_unittest.cc EXPECT_TRUE(GetRootWindow()->layer()->transform().IsIdentity()); layer 108 ash/magnifier/magnification_controller_unittest.cc EXPECT_FALSE(GetRootWindow()->layer()->transform().IsIdentity()); layer 161 ash/magnifier/partial_magnification_controller.cc zoom_widget_->GetNativeView()->layer()->SetBounds( layer 165 ash/magnifier/partial_magnification_controller.cc zoom_widget_->GetNativeView()->layer()->SetBackgroundZoom( layer 587 ash/root_window_controller.cc (*iter)->layer()->GetTargetVisibility()) { layer 33 ash/rotator/screen_rotation.cc ScreenRotation::ScreenRotation(int degrees, ui::Layer* layer) layer 37 ash/rotator/screen_rotation.cc InitTransform(layer); layer 43 ash/rotator/screen_rotation.cc void ScreenRotation::InitTransform(ui::Layer* layer) { layer 52 ash/rotator/screen_rotation.cc const gfx::Transform& current_transform = layer->GetTargetTransform(); layer 53 ash/rotator/screen_rotation.cc const gfx::Rect& bounds = layer->GetTargetBounds(); layer 33 ash/rotator/screen_rotation.h ScreenRotation(int degrees, ui::Layer* layer); layer 39 ash/rotator/screen_rotation.h void InitTransform(ui::Layer* layer); layer 55 ash/shelf/app_list_button.cc layer()->GetAnimator()->StopAnimating(); layer 75 ash/shelf/app_list_button.cc layer()->GetAnimator()->ScheduleAnimation(opacity_sequence.release()); layer 79 ash/shelf/app_list_button.cc layer()->GetAnimator()->StopAnimating(); layer 81 ash/shelf/app_list_button.cc ui::ScopedLayerAnimationSettings settings(layer()->GetAnimator()); layer 84 ash/shelf/app_list_button.cc layer()->SetOpacity(1.0f); layer 85 ash/shelf/app_list_button.cc layer()->SetTransform(gfx::Transform()); layer 59 ash/shelf/overflow_bubble_view.cc layer()->SetMasksToBounds(true); layer 303 ash/shelf/shelf_button.cc icon_view_->layer()->GetAnimator()); layer 319 ash/shelf/shelf_button.cc icon_view_->layer()->GetAnimator()); layer 76 ash/shelf/shelf_layout_manager.cc return widget->GetNativeView()->layer(); layer 55 ash/shelf/shelf_layout_manager_unittest.cc widget->GetNativeView()->layer()->GetAnimator()); layer 278 ash/shelf/shelf_view.cc view_->layer()->SetOpacity(animation->GetCurrentValue()); layer 279 ash/shelf/shelf_view.cc view_->layer()->ScheduleDraw(); layer 282 ash/shelf/shelf_view.cc view_->layer()->SetOpacity(1.0f); layer 283 ash/shelf/shelf_view.cc view_->layer()->ScheduleDraw(); layer 286 ash/shelf/shelf_view.cc view_->layer()->SetOpacity(1.0f); layer 287 ash/shelf/shelf_view.cc view_->layer()->ScheduleDraw(); layer 335 ash/shelf/shelf_view.cc view_->layer()->SetOpacity(1 - animation->GetCurrentValue()); layer 336 ash/shelf/shelf_view.cc view_->layer()->ScheduleDraw(); layer 368 ash/shelf/shelf_view.cc view_->layer()->SetOpacity(1.0f); layer 992 ash/shelf/shelf_view.cc view->layer()->SetOpacity(0); layer 1130 ash/shelf/shelf_view.cc drag_view_->layer()->SetOpacity(1.0f); layer 1170 ash/shelf/shelf_view.cc drag_view_->layer()->SetOpacity(0.0f); layer 1216 ash/shelf/shelf_view.cc drag_view_->layer()->SetOpacity(1.0f); layer 1235 ash/shelf/shelf_view.cc drag_view_->layer()->SetOpacity(1.0f); layer 1255 ash/shelf/shelf_view.cc drag_view_->layer()->SetOpacity(1.0f); layer 1307 ash/shelf/shelf_view.cc view->layer()->SetFillsBoundsOpaquely(false); layer 1359 ash/shelf/shelf_view.cc last_visible_view->layer()->SetOpacity(0); layer 1556 ash/shelf/shelf_view.cc view->layer()->SetOpacity(0); layer 1577 ash/shelf/shelf_view.cc view->layer()->SetOpacity(1.0f); layer 899 ash/shelf/shelf_view_unittest.cc EXPECT_EQ(1.0f, GetButtonByID(last_added)->layer()->opacity()); layer 948 ash/shelf/shelf_view_unittest.cc EXPECT_EQ(1.0f, button->layer()->opacity()) << "button index=" << i; layer 333 ash/shelf/shelf_widget.cc void SetParentLayer(ui::Layer* layer); layer 451 ash/shelf/shelf_widget.cc void ShelfWidget::DelegateView::SetParentLayer(ui::Layer* layer) { layer 452 ash/shelf/shelf_widget.cc layer->Add(&opaque_background_); layer 58 ash/system/tray/system_tray_bubble.cc SetPaintToLayer(view->layer() != NULL); layer 59 ash/system/tray/system_tray_bubble.cc if (view->layer()) layer 60 ash/system/tray/system_tray_bubble.cc SetFillsBoundsOpaquely(view->layer()->fills_bounds_opaquely()); layer 111 ash/system/tray/system_tray_bubble.cc explicit AnimationObserverDeleteLayer(ui::Layer* layer) layer 112 ash/system/tray/system_tray_bubble.cc : layer_(layer) { layer 161 ash/system/tray/system_tray_bubble.cc ui::Layer* layer = scoped_layer.get(); layer 162 ash/system/tray/system_tray_bubble.cc DCHECK(layer); layer 163 ash/system/tray/system_tray_bubble.cc layer->SuppressPaint(); layer 168 ash/system/tray/system_tray_bubble.cc ui::ScopedLayerAnimationSettings settings(layer->GetAnimator()); layer 174 ash/system/tray/system_tray_bubble.cc transform.Translate(layer->bounds().width(), 0.0); layer 175 ash/system/tray/system_tray_bubble.cc layer->SetTransform(transform); layer 184 ash/system/tray/system_tray_bubble.cc shadow->SetBounds(layer->bounds()); layer 185 ash/system/tray/system_tray_bubble.cc layer->Add(shadow); layer 186 ash/system/tray/system_tray_bubble.cc layer->StackAtTop(shadow); layer 227 ash/system/tray/system_tray_bubble.cc ui::Layer* new_layer = bubble_view_->layer(); layer 52 ash/system/tray/throbber_view.cc layer()->SetFillsBoundsOpaquely(false); layer 53 ash/system/tray/throbber_view.cc layer()->SetOpacity(0.0); layer 98 ash/system/tray/throbber_view.cc layer()->GetAnimator()->StopAnimating(); layer 100 ash/system/tray/throbber_view.cc ui::ScopedLayerAnimationSettings animation(layer()->GetAnimator()); layer 104 ash/system/tray/throbber_view.cc layer()->SetOpacity(start_throbber ? 1.0 : 0.0); layer 126 ash/system/tray/tray_item_view.cc layer()->SetTransform(transform); layer 106 ash/system/tray_update.cc owner_->system_tray()->GetWidget()->GetNativeView()->layer()-> layer 114 ash/system/tray_update.cc status_area->system_tray()->GetWidget()->GetNativeView()->layer()-> layer 268 ash/touch/touch_hud_debug.cc layer()->SetTransform(transform); layer 272 ash/touch/touch_uma.cc gfx::ScalePoint(position, 1. / target->layer()->device_scale_factor())); layer 47 ash/wm/app_list_controller.cc return widget->GetNativeView()->layer(); layer 263 ash/wm/app_list_controller.cc ui::Layer* layer = GetLayer(widget); layer 264 ash/wm/app_list_controller.cc layer->GetAnimator()->StopAnimating(); layer 275 ash/wm/app_list_controller.cc ui::ScopedLayerAnimationSettings animation(layer->GetAnimator()); layer 281 ash/wm/app_list_controller.cc layer->SetOpacity(is_visible_ ? 1.0 : 0.0); layer 58 ash/wm/boot_splash_screen_chromeos.cc ui::Layer* root_layer = host->window()->layer(); layer 569 ash/wm/default_state.cc !window_state->window()->layer()->visible()) { layer 153 ash/wm/dock/docked_window_layout_manager.cc GetNativeWindow()->layer()->Add(&opaque_background_); layer 241 ash/wm/dock/docked_window_layout_manager.cc window->layer()->SetBounds(previous_bounds); layer 907 ash/wm/dock/docked_window_layout_manager.cc ui::ScopedLayerAnimationSettings settings(window->layer()->GetAnimator()); layer 1212 ash/wm/dock/docked_window_layout_manager.cc ui::Layer* layer = window->layer(); layer 1213 ash/wm/dock/docked_window_layout_manager.cc ui::ScopedLayerAnimationSettings slide_settings(layer->GetAnimator()); layer 51 ash/wm/drag_details.cc initial_opacity(window->layer()->opacity()), layer 58 ash/wm/drag_window_controller.cc ui::Layer* layer = drag_widget_->GetNativeWindow()->layer(); layer 59 ash/wm/drag_window_controller.cc ui::ScopedLayerAnimationSettings scoped_setter(layer->GetAnimator()); layer 60 ash/wm/drag_window_controller.cc layer->SetOpacity(opacity); layer 85 ash/wm/drag_window_controller.cc window->layer()->Add(layer_owner_->root()); layer 86 ash/wm/drag_window_controller.cc window->layer()->StackAtTop(layer_owner_->root()); layer 92 ash/wm/drag_window_controller.cc ui::Layer* widget_layer = drag_widget_->GetNativeWindow()->layer(); layer 111 ash/wm/drag_window_controller.cc layer_owner_->root()->set_delegate(window_->layer()->delegate()); layer 94 ash/wm/drag_window_resizer.cc GetTarget()->layer()->SetOpacity(details().initial_opacity); layer 141 ash/wm/drag_window_resizer.cc GetTarget()->layer()->SetOpacity(details().initial_opacity); layer 198 ash/wm/drag_window_resizer.cc GetTarget()->layer()->SetOpacity(window_opacity); layer 201 ash/wm/drag_window_resizer.cc GetTarget()->layer()->SetOpacity(1.0f); layer 353 ash/wm/drag_window_resizer_unittest.cc EXPECT_FLOAT_EQ(1.0f, window_->layer()->opacity()); layer 375 ash/wm/drag_window_resizer_unittest.cc controller->drag_widget_->GetNativeWindow()->layer(); layer 384 ash/wm/drag_window_resizer_unittest.cc EXPECT_FLOAT_EQ(1.0f, window_->layer()->opacity()); layer 393 ash/wm/drag_window_resizer_unittest.cc EXPECT_GT(1.0f, window_->layer()->opacity()); layer 398 ash/wm/drag_window_resizer_unittest.cc EXPECT_FLOAT_EQ(1.0f, window_->layer()->opacity()); layer 405 ash/wm/drag_window_resizer_unittest.cc EXPECT_FLOAT_EQ(1.0f, window_->layer()->opacity()); layer 417 ash/wm/drag_window_resizer_unittest.cc EXPECT_FLOAT_EQ(1.0f, window_->layer()->opacity()); layer 161 ash/wm/gestures/long_press_affordance_handler.cc widget_->GetNativeView()->layer()->SetOpacity(kAffordanceOpacityStartValue); layer 173 ash/wm/gestures/long_press_affordance_handler.cc widget_->GetNativeView()->layer()->SetOpacity( layer 182 ash/wm/gestures/long_press_affordance_handler.cc widget_->GetNativeView()->layer()->SetOpacity( layer 55 ash/wm/lock_state_controller.cc GetBackground()->layer()->GetAnimator()); layer 62 ash/wm/lock_state_controller.cc GetBackground()->layer()->GetAnimator()); layer 63 ash/wm/lock_state_controller_unittest.cc ->layer() layer 315 ash/wm/lock_state_controller_unittest.cc ui::Layer* layer = window->layer(); layer 316 ash/wm/lock_state_controller_unittest.cc EXPECT_EQ(1.0f, layer->opacity()); layer 317 ash/wm/lock_state_controller_unittest.cc EXPECT_EQ(0.0f, layer->layer_brightness()); layer 318 ash/wm/lock_state_controller_unittest.cc EXPECT_EQ(0.0f, layer->layer_saturation()); layer 319 ash/wm/lock_state_controller_unittest.cc EXPECT_EQ(gfx::Transform(), layer->transform()); layer 336 ash/wm/lock_state_controller_unittest.cc ui::Layer* layer = window->layer(); layer 337 ash/wm/lock_state_controller_unittest.cc EXPECT_EQ(1.0f, layer->opacity()); layer 338 ash/wm/lock_state_controller_unittest.cc EXPECT_EQ(0.0f, layer->layer_brightness()); layer 339 ash/wm/lock_state_controller_unittest.cc EXPECT_EQ(0.0f, layer->layer_saturation()); layer 340 ash/wm/lock_state_controller_unittest.cc EXPECT_EQ(gfx::Transform(), layer->transform()); layer 616 ash/wm/lock_state_controller_unittest.cc GetContainer(kShellWindowId_DefaultContainer)->layer()->transform(); layer 624 ash/wm/lock_state_controller_unittest.cc GetContainer(kShellWindowId_DefaultContainer)->layer()->transform(); layer 957 ash/wm/lock_state_controller_unittest.cc Shell::GetPrimaryRootWindow()->layer()->layer_grayscale(); layer 967 ash/wm/lock_state_controller_unittest.cc Shell::GetPrimaryRootWindow()->layer()->layer_grayscale(); layer 218 ash/wm/maximize_mode/maximize_mode_window_state.cc !window_state->window()->layer()->visible()) { layer 41 ash/wm/maximize_mode/workspace_backdrop_delegate.cc background_->GetNativeView()->layer()->SetColor(SK_ColorBLACK); layer 52 ash/wm/maximize_mode/workspace_backdrop_delegate.cc background_->GetNativeView()->layer()->SetOpacity(0.0f); layer 133 ash/wm/maximize_mode/workspace_backdrop_delegate.cc background_->GetNativeView()->layer()->GetAnimator()); layer 137 ash/wm/maximize_mode/workspace_backdrop_delegate.cc background_->GetNativeView()->layer()->SetOpacity(kBackdropOpacity); layer 142 ash/wm/maximize_mode/workspace_backdrop_delegate.cc background_->GetNativeView()->layer()->SetOpacity(0.0f); layer 145 ash/wm/maximize_mode/workspace_backdrop_delegate.cc background_->GetNativeView()->layer()->GetAnimator()); layer 146 ash/wm/maximize_mode/workspace_backdrop_delegate.cc background_->GetNativeView()->layer()->SetOpacity(kBackdropOpacity); layer 181 ash/wm/mru_window_tracker.cc CHECK(active_window->layer()); layer 29 ash/wm/overview/scoped_transform_overview_window.cc ui::ScopedLayerAnimationSettings(window->layer()->GetAnimator()) { layer 98 ash/wm/overview/scoped_transform_overview_window.cc original_transform_(window->layer()->GetTargetTransform()) { layer 115 ash/wm/overview/scoped_transform_overview_window.cc window_->layer()->SetOpacity(0); layer 62 ash/wm/overview/scoped_window_copy.cc recreated_layer->set_delegate(src_window->layer()->delegate()); layer 71 ash/wm/overview/scoped_window_copy.cc window->layer()->Add(recreated_layer); layer 72 ash/wm/overview/scoped_window_copy.cc window->layer()->StackAtTop(recreated_layer); layer 73 ash/wm/overview/scoped_window_copy.cc window->layer()->SetOpacity(1); layer 123 ash/wm/overview/scoped_window_copy.cc widget_->GetNativeWindow()->layer()->GetAnimator()->AddObserver(this); layer 149 ash/wm/overview/scoped_window_copy.cc widget_->GetNativeWindow()->layer()->GetAnimator()->RemoveObserver(this); layer 97 ash/wm/overview/window_overview.cc widget_->GetNativeWindow()->layer()->GetAnimator()->AddObserver(this); layer 101 ash/wm/overview/window_overview.cc widget_->GetNativeWindow()->layer()->GetAnimator()->RemoveObserver(this); layer 158 ash/wm/overview/window_overview.cc (*iter)->layer()->GetAnimator()); layer 164 ash/wm/overview/window_overview.cc (*iter)->layer()->SetOpacity(1); layer 211 ash/wm/overview/window_overview.cc old_selection->layer()->GetAnimator()); layer 220 ash/wm/overview/window_overview.cc old_selection->layer()->SetOpacity(0); layer 226 ash/wm/overview/window_overview.cc selection_widget_->GetNativeWindow()->layer()->GetAnimator()); layer 232 ash/wm/overview/window_overview.cc selection_widget_->GetNativeWindow()->layer()->SetOpacity( layer 237 ash/wm/overview/window_overview.cc selection_widget_->GetNativeWindow()->layer()->SetOpacity( layer 347 ash/wm/overview/window_overview.cc (*iter)->layer()->GetAnimator()); layer 356 ash/wm/overview/window_overview.cc (*iter)->layer()->SetOpacity(0); layer 450 ash/wm/overview/window_overview.cc selection_widget_->GetNativeWindow()->layer()->SetOpacity(0); layer 422 ash/wm/overview/window_selector.cc window->layer()->GetAnimator()->StopAnimatingProperty( layer 184 ash/wm/overview/window_selector_unittest.cc window->parent(), window->layer()->bounds())); layer 186 ash/wm/overview/window_selector_unittest.cc window->layer()->transform())); layer 193 ash/wm/overview/window_selector_unittest.cc window->parent(), window->layer()->GetTargetBounds())); layer 195 ash/wm/overview/window_selector_unittest.cc window->layer()->GetTargetTransform())); layer 203 ash/wm/overview/window_selector_unittest.cc CHECK(window->layer()); layer 204 ash/wm/overview/window_selector_unittest.cc CHECK(root->layer()); layer 206 ash/wm/overview/window_selector_unittest.cc if (!window->layer()->GetTargetTransformRelativeTo(root->layer(), layer 377 ash/wm/overview/window_selector_unittest.cc EXPECT_FALSE(window1->layer()->GetTargetVisibility()); layer 383 ash/wm/overview/window_selector_unittest.cc EXPECT_TRUE(window1->layer()->GetTargetVisibility()); layer 390 ash/wm/overview/window_selector_unittest.cc EXPECT_FALSE(window1->layer()->GetTargetVisibility()); layer 542 ash/wm/overview/window_selector_unittest.cc EXPECT_EQ(1.0f, panel1->layer()->GetTargetOpacity()); layer 906 ash/wm/overview/window_selector_unittest.cc EXPECT_EQ(moved1->layer()->GetTargetTransform().ToString(), layer 907 ash/wm/overview/window_selector_unittest.cc copy1->layer()->GetTargetTransform().ToString()); layer 144 ash/wm/overview/window_selector_window.cc ui::Layer* layer = close_button_->GetNativeWindow()->layer(); layer 145 ash/wm/overview/window_selector_window.cc layer->SetOpacity(0); layer 146 ash/wm/overview/window_selector_window.cc layer->GetAnimator()->StopAnimating(); layer 147 ash/wm/overview/window_selector_window.cc layer->GetAnimator()->SchedulePauseForProperties( layer 152 ash/wm/overview/window_selector_window.cc ui::ScopedLayerAnimationSettings settings(layer->GetAnimator()); layer 157 ash/wm/overview/window_selector_window.cc layer->SetOpacity(1); layer 161 ash/wm/overview/window_selector_window.cc close_button_->GetNativeWindow()->layer()->GetAnimator()); layer 246 ash/wm/panels/panel_layout_manager.cc GetNativeWindow()->layer()->SetOpacity(0); layer 369 ash/wm/panels/panel_layout_manager.cc child->layer()->SetOpacity(0); layer 544 ash/wm/panels/panel_layout_manager.cc ui::Layer* layer = panel->layer(); layer 545 ash/wm/panels/panel_layout_manager.cc ui::ScopedLayerAnimationSettings panel_slide_settings(layer->GetAnimator()); layer 558 ash/wm/panels/panel_layout_manager.cc layer->SetOpacity(0); layer 699 ash/wm/panels/panel_layout_manager.cc ui::Layer* layer = visible_panels[i].window->layer(); layer 711 ash/wm/panels/panel_layout_manager.cc layer->GetAnimator()); layer 718 ash/wm/panels/panel_layout_manager.cc layer->SetOpacity(1); layer 799 ash/wm/panels/panel_layout_manager.cc if (icon_bounds.IsEmpty() || !panel->layer()->GetTargetVisibility() || layer 802 ash/wm/panels/panel_layout_manager.cc callout_widget->GetNativeWindow()->layer()->SetOpacity(0); layer 846 ash/wm/panels/panel_layout_manager.cc ui::Layer* layer = callout_widget->GetNativeWindow()->layer(); layer 849 ash/wm/panels/panel_layout_manager.cc if ((distance_until_over_panel > 0 || layer->GetTargetOpacity() < 1)) { layer 856 ash/wm/panels/panel_layout_manager.cc layer->SetOpacity(0); layer 857 ash/wm/panels/panel_layout_manager.cc layer->GetAnimator()->StopAnimating(); layer 858 ash/wm/panels/panel_layout_manager.cc layer->GetAnimator()->SchedulePauseForProperties( layer 862 ash/wm/panels/panel_layout_manager.cc ui::ScopedLayerAnimationSettings callout_settings(layer->GetAnimator()); layer 868 ash/wm/panels/panel_layout_manager.cc layer->SetOpacity(1); layer 24 ash/wm/resize_shadow.cc void InitLayer(ui::Layer* layer) { layer 25 ash/wm/resize_shadow.cc layer->SetVisible(false); layer 26 ash/wm/resize_shadow.cc layer->SetOpacity(0.f); layer 30 ash/wm/resize_shadow.cc void ShowLayer(ui::Layer* layer, bool visible) { layer 31 ash/wm/resize_shadow.cc ui::ScopedLayerAnimationSettings settings(layer->GetAnimator()); layer 34 ash/wm/resize_shadow.cc layer->SetOpacity(visible ? kShadowTargetOpacity : 0.f); layer 37 ash/wm/resize_shadow.cc layer->SetVisible(visible); layer 73 ash/wm/resize_shadow.cc window->layer()->Add(image_grid_->layer()); layer 44 ash/wm/screen_dimmer.cc ui::Layer* root_layer = root_window_->layer(); layer 33 ash/wm/screen_dimmer.h ui::Layer* layer() { return dimmer_->dimming_layer_.get(); } layer 40 ash/wm/screen_dimmer_unittest.cc EXPECT_TRUE(test_api_->layer() == NULL); layer 42 ash/wm/screen_dimmer_unittest.cc EXPECT_TRUE(test_api_->layer() == NULL); layer 47 ash/wm/screen_dimmer_unittest.cc ASSERT_TRUE(test_api_->layer() != NULL); layer 48 ash/wm/screen_dimmer_unittest.cc ui::Layer* root_layer = Shell::GetPrimaryRootWindow()->layer(); layer 50 ash/wm/screen_dimmer_unittest.cc EXPECT_EQ(test_api_->layer(), root_layer->children().back()); layer 51 ash/wm/screen_dimmer_unittest.cc EXPECT_TRUE(test_api_->layer()->visible()); layer 52 ash/wm/screen_dimmer_unittest.cc EXPECT_GT(test_api_->layer()->GetTargetOpacity(), 0.0f); layer 57 ash/wm/screen_dimmer_unittest.cc ASSERT_TRUE(test_api_->layer() != NULL); layer 58 ash/wm/screen_dimmer_unittest.cc EXPECT_TRUE(test_api_->layer()->visible()); layer 59 ash/wm/screen_dimmer_unittest.cc EXPECT_FLOAT_EQ(0.0f, test_api_->layer()->GetTargetOpacity()); layer 65 ash/wm/screen_dimmer_unittest.cc ui::Layer* dimming_layer = test_api_->layer(); layer 67 ash/wm/screen_dimmer_unittest.cc ui::Layer* root_layer = Shell::GetPrimaryRootWindow()->layer(); layer 57 ash/wm/session_state_animator.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); layer 74 ash/wm/session_state_animator.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); layer 91 ash/wm/session_state_animator.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); layer 110 ash/wm/session_state_animator.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); layer 126 ash/wm/session_state_animator.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); layer 139 ash/wm/session_state_animator.cc window->layer()->SetOpacity(0.0); layer 147 ash/wm/session_state_animator.cc window->layer()->SetTransform(gfx::Transform()); layer 148 ash/wm/session_state_animator.cc window->layer()->SetOpacity(1.0); layer 157 ash/wm/session_state_animator.cc ui::Layer* layer = window->layer(); layer 158 ash/wm/session_state_animator.cc ui::ScopedLayerAnimationSettings settings(layer->GetAnimator()); layer 165 ash/wm/session_state_animator.cc SetTransformForScaleAnimation(layer, layer 169 ash/wm/session_state_animator.cc layer->SetOpacity(0.0f); layer 176 ash/wm/session_state_animator.cc layer->SetTransform(gfx::Transform()); layer 188 ash/wm/session_state_animator.cc layer->GetAnimator()->ScheduleAnimation(sequence); layer 196 ash/wm/session_state_animator.cc ui::Layer* layer = window->layer(); layer 197 ash/wm/session_state_animator.cc ui::ScopedLayerAnimationSettings settings(layer->GetAnimator()); layer 205 ash/wm/session_state_animator.cc layer->SetTransform(gfx::Transform()); layer 208 ash/wm/session_state_animator.cc layer->SetOpacity(1.0f); layer 220 ash/wm/session_state_animator.cc layer->GetAnimator()->ScheduleAnimation(sequence); layer 228 ash/wm/session_state_animator.cc ui::Layer* layer = window->layer(); layer 229 ash/wm/session_state_animator.cc ui::ScopedLayerAnimationSettings settings(layer->GetAnimator()); layer 235 ash/wm/session_state_animator.cc SetTransformForScaleAnimation(layer, layer 249 ash/wm/session_state_animator.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); layer 316 ash/wm/session_state_animator.cc bool IsLayerAnimated(ui::Layer* layer, layer 320 ash/wm/session_state_animator.cc if (layer->GetTargetTransform() != GetSlowCloseTransform()) layer 324 ash/wm/session_state_animator.cc if (layer->GetTargetTransform() != gfx::Transform()) layer 328 ash/wm/session_state_animator.cc if (layer->GetTargetTransform() != GetFastCloseTransform() || layer 329 ash/wm/session_state_animator.cc layer->GetTargetOpacity() > 0.0001) layer 333 ash/wm/session_state_animator.cc if (layer->GetTargetOpacity() < 0.9999) layer 337 ash/wm/session_state_animator.cc if (layer->GetTargetOpacity() > 0.0001) layer 341 ash/wm/session_state_animator.cc if (layer->GetTargetOpacity() > 0.0001) layer 345 ash/wm/session_state_animator.cc if (layer->opacity() < 0.9999 || layer->transform() != gfx::Transform()) layer 349 ash/wm/session_state_animator.cc if ((layer->GetTargetBrightness() < 0.9999) || layer 350 ash/wm/session_state_animator.cc (layer->GetTargetGrayscale() < 0.9999)) layer 354 ash/wm/session_state_animator.cc if ((layer->GetTargetBrightness() > 0.0001) || layer 355 ash/wm/session_state_animator.cc (layer->GetTargetGrayscale() > 0.0001)) layer 361 ash/wm/session_state_animator.cc if (layer->GetTargetOpacity() < 0.9999) layer 366 ash/wm/session_state_animator.cc if (layer->GetTargetOpacity() > 0.0001) layer 371 ash/wm/session_state_animator.cc if (layer->GetTargetOpacity() < 0.9999) layer 376 ash/wm/session_state_animator.cc if (layer->GetTargetOpacity() > 0.0001) layer 395 ash/wm/session_state_animator.cc ui::Layer* layer = window->layer(); layer 396 ash/wm/session_state_animator.cc if (!IsLayerAnimated(layer, type)) layer 405 ash/wm/session_state_animator.cc ui::Layer* layer = root_window->layer(); layer 406 ash/wm/session_state_animator.cc return IsLayerAnimated(layer, type); layer 21 ash/wm/system_background_controller.cc ui::Layer* root_layer = root_window_->layer(); layer 40 ash/wm/system_background_controller.cc layer_->SetBounds(gfx::Rect(root_window_->layer()->bounds().size())); layer 162 ash/wm/system_modal_container_layout_manager.cc modal_background_->GetNativeView()->layer()->SetOpacity(0.0f); layer 166 ash/wm/system_modal_container_layout_manager.cc modal_background_->GetNativeView()->layer()->GetAnimator()); layer 169 ash/wm/system_modal_container_layout_manager.cc modal_background_->GetNativeView()->layer()->SetOpacity(0.5f); layer 181 ash/wm/system_modal_container_layout_manager.cc modal_background_->GetNativeView()->layer()->SetOpacity(0.0f); layer 342 ash/wm/system_modal_container_layout_manager_unittest.cc ->layer() layer 122 ash/wm/window_animations.cc base::TimeDelta duration = window->layer()->GetAnimator()-> layer 132 ash/wm/window_animations.cc window->layer()->GetAnimator()->ScheduleAnimation( layer 138 ash/wm/window_animations.cc window->layer()->GetAnimator()->SchedulePauseForProperties( layer 144 ash/wm/window_animations.cc window->layer()->GetAnimator()->ScheduleAnimation( layer 150 ash/wm/window_animations.cc window->layer()->GetAnimator()->ScheduleAnimation( layer 158 ash/wm/window_animations.cc window->layer()->SetOpacity(kWindowAnimation_HideOpacity); layer 159 ash/wm/window_animations.cc ui::ScopedLayerAnimationSettings settings(window->layer()->GetAnimator()); layer 177 ash/wm/window_animations.cc window->layer()->SetVisible(false); layer 193 ash/wm/window_animations.cc window->layer()->SetLayerBrightness(start_value); layer 194 ash/wm/window_animations.cc window->layer()->SetLayerGrayscale(start_value); layer 196 ash/wm/window_animations.cc window->layer()->SetOpacity(kWindowAnimation_ShowOpacity); layer 197 ash/wm/window_animations.cc window->layer()->SetVisible(true); layer 204 ash/wm/window_animations.cc ui::ScopedLayerAnimationSettings settings(window->layer()->GetAnimator()); layer 205 ash/wm/window_animations.cc window->layer()->GetAnimator()-> layer 210 ash/wm/window_animations.cc window->layer()->GetAnimator()-> layer 213 ash/wm/window_animations.cc window->layer()->SetOpacity(kWindowAnimation_HideOpacity); layer 214 ash/wm/window_animations.cc window->layer()->SetVisible(false); layer 375 ash/wm/window_animations.cc window->layer()->SetTransform(in_transform); layer 379 ash/wm/window_animations.cc window->layer()->SetOpacity(kWindowAnimation_HideOpacity); layer 384 ash/wm/window_animations.cc ui::ScopedLayerAnimationSettings settings(window->layer()->GetAnimator()); layer 387 ash/wm/window_animations.cc window->layer()->SetTransform(gfx::Transform()); layer 390 ash/wm/window_animations.cc window->layer()->SetOpacity(kWindowAnimation_ShowOpacity); layer 408 ash/wm/window_animations.cc return window->layer()->GetTargetOpacity() != 0.0f && layer 441 ash/wm/window_animations.cc void SetTransformForScaleAnimation(ui::Layer* layer, layer 447 ash/wm/window_animations.cc transform.Translate(-layer->bounds().width() * (scale - 1.0f) / 2, layer 448 ash/wm/window_animations.cc -layer->bounds().height() * (scale - 1.0f) / 2); layer 450 ash/wm/window_animations.cc layer->SetTransform(transform); layer 69 ash/wm/window_animations.h ui::Layer* layer, layer 71 ash/wm/window_animations_unittest.cc EXPECT_TRUE(window->layer()->visible()); layer 78 ash/wm/window_animations_unittest.cc EXPECT_EQ(0.0f, window->layer()->GetTargetOpacity()); layer 79 ash/wm/window_animations_unittest.cc EXPECT_FALSE(window->layer()->GetTargetVisibility()); layer 80 ash/wm/window_animations_unittest.cc EXPECT_FALSE(window->layer()->visible()); layer 87 ash/wm/window_animations_unittest.cc EXPECT_EQ(0.0f, window->layer()->GetTargetBrightness()); layer 88 ash/wm/window_animations_unittest.cc EXPECT_EQ(0.0f, window->layer()->GetTargetGrayscale()); layer 89 ash/wm/window_animations_unittest.cc EXPECT_TRUE(window->layer()->visible()); layer 94 ash/wm/window_animations_unittest.cc window->layer()->GetAnimator()); layer 97 ash/wm/window_animations_unittest.cc EXPECT_EQ(0.0f, window->layer()->GetTargetBrightness()); layer 98 ash/wm/window_animations_unittest.cc EXPECT_EQ(0.0f, window->layer()->GetTargetGrayscale()); layer 99 ash/wm/window_animations_unittest.cc EXPECT_TRUE(window->layer()->visible()); layer 107 ash/wm/window_animations_unittest.cc EXPECT_TRUE(window->layer()->GetTargetVisibility()); layer 109 ash/wm/window_animations_unittest.cc EXPECT_FALSE(window->layer()->GetTargetVisibility()); layer 111 ash/wm/window_animations_unittest.cc EXPECT_TRUE(window->layer()->GetTargetVisibility()); layer 124 ash/wm/window_animations_unittest.cc Layer* old_layer = window->layer(); layer 131 ash/wm/window_animations_unittest.cc EXPECT_NE(old_layer, window->layer()); layer 140 ash/wm/window_animations_unittest.cc EXPECT_EQ(1.0f, window->layer()->GetTargetOpacity()); layer 141 ash/wm/window_animations_unittest.cc EXPECT_EQ(gfx::Transform(), window->layer()->GetTargetTransform()); layer 146 ash/wm/window_animations_unittest.cc static_cast<gfx::AnimationContainerElement*>(window->layer()->GetAnimator())-> layer 150 ash/wm/window_animations_unittest.cc old_layer = window->layer(); layer 154 ash/wm/window_animations_unittest.cc EXPECT_NE(old_layer, window->layer()); layer 163 ash/wm/window_animations_unittest.cc EXPECT_EQ(1.0f, window->layer()->GetTargetOpacity()); layer 164 ash/wm/window_animations_unittest.cc EXPECT_EQ(gfx::Transform(), window->layer()->GetTargetTransform()); layer 168 ash/wm/window_animations_unittest.cc static_cast<gfx::AnimationContainerElement*>(window->layer()->GetAnimator())-> layer 179 ash/wm/window_animations_unittest.cc Layer* layer = window->layer(); layer 186 ash/wm/window_animations_unittest.cc ui::ScopedLayerAnimationSettings settings1(layer->GetAnimator()); layer 189 ash/wm/window_animations_unittest.cc ui::ScopedLayerAnimationSettings settings2(layer->GetAnimator()); layer 193 ash/wm/window_animations_unittest.cc EXPECT_TRUE(layer->GetAnimator()->is_animating()); layer 196 ash/wm/window_animations_unittest.cc layer->GetAnimator()->GetTransitionDuration().InMilliseconds()); layer 199 ash/wm/window_animations_unittest.cc layer->GetAnimator()->StopAnimating(); layer 205 ash/wm/window_animations_unittest.cc layer = window->layer(); layer 206 ash/wm/window_animations_unittest.cc ui::ScopedLayerAnimationSettings settings1(layer->GetAnimator()); layer 211 ash/wm/window_animations_unittest.cc ui::ScopedLayerAnimationSettings settings2(layer->GetAnimator()); layer 215 ash/wm/window_animations_unittest.cc EXPECT_TRUE(layer->GetAnimator()->is_animating()); layer 218 ash/wm/window_animations_unittest.cc layer->GetAnimator()->GetTransitionDuration().InMilliseconds()); layer 221 ash/wm/window_animations_unittest.cc layer->GetAnimator()->StopAnimating(); layer 226 ash/wm/window_animations_unittest.cc layer = window->layer(); layer 228 ash/wm/window_animations_unittest.cc MinimizeAnimationObserver observer(layer->GetAnimator()); layer 230 ash/wm/window_animations_unittest.cc EXPECT_TRUE(layer->GetAnimator()->is_animating()); layer 233 ash/wm/window_animations_unittest.cc layer->GetAnimator()->StopAnimating(); layer 235 ash/wm/window_animations_unittest.cc layer = window->layer(); layer 236 ash/wm/window_animations_unittest.cc ui::ScopedLayerAnimationSettings settings(layer->GetAnimator()); layer 241 ash/wm/window_animations_unittest.cc EXPECT_TRUE(layer->GetAnimator()->is_animating()); layer 244 ash/wm/window_animations_unittest.cc layer->GetAnimator()->GetTransitionDuration().InMilliseconds()); layer 246 ash/wm/window_animations_unittest.cc layer->GetAnimator()->StopAnimating(); layer 122 ash/wm/window_positioner.cc ui::ScopedLayerAnimationSettings settings(window->layer()->GetAnimator()); layer 460 ash/wm/window_positioner.cc if (windows[i] && windows[i]->IsVisible() && windows[i]->layer() && layer 462 ash/wm/window_positioner.cc windows[i]->layer()->GetTargetOpacity() == 1.0)) { layer 368 ash/wm/window_state.cc ui::Layer* layer = window_->layer(); layer 369 ash/wm/window_state.cc ui::ScopedLayerAnimationSettings slide_settings(layer->GetAnimator()); layer 397 ash/wm/window_state.cc ui::Layer* new_layer = window_->layer(); layer 73 ash/wm/workspace/phantom_window_controller.cc widget->GetNativeWindow()->layer()->GetAnimator()); layer 280 ash/wm/workspace/phantom_window_controller.cc ui::Layer* widget_layer = phantom_widget->GetNativeWindow()->layer(); layer 654 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_FLOAT_EQ(1.0f, window_->layer()->opacity()); layer 85 ash/wm/workspace_controller.cc ui::Layer* layer = (*i)->layer(); layer 86 ash/wm/workspace_controller.cc if (!layer->GetTargetVisibility()) layer 110 ash/wm/workspace_controller.cc viewport_->layer()->SetOpacity(0.0f); layer 112 ash/wm/workspace_controller.cc viewport_->layer(), LAYER_SCALE_ANIMATION_ABOVE); layer 115 ash/wm/workspace_controller.cc viewport_->layer()->GetAnimator()->StopAnimating(); layer 119 ash/wm/workspace_controller.cc viewport_->layer()->GetAnimator()); layer 122 ash/wm/workspace_controller.cc viewport_->layer()->GetAnimator()->SchedulePauseForProperties( layer 131 ash/wm/workspace_controller.cc viewport_->layer()->SetTransform(gfx::Transform()); layer 132 ash/wm/workspace_controller.cc viewport_->layer()->SetOpacity(1.0f); layer 65 ash/wm/workspace_controller_unittest.cc window_names[window->children()[i]->layer()] = layer 70 ash/wm/workspace_controller_unittest.cc const std::vector<ui::Layer*>& layers(window->layer()->children()); layer 175 ash/wm/workspace_controller_unittest.cc ASSERT_TRUE(w1->layer() != NULL); layer 176 ash/wm/workspace_controller_unittest.cc EXPECT_TRUE(w1->layer()->visible()); layer 193 ash/wm/workspace_controller_unittest.cc ASSERT_TRUE(w1->layer() != NULL); layer 194 ash/wm/workspace_controller_unittest.cc EXPECT_TRUE(w1->layer()->visible()); layer 223 ash/wm/workspace_controller_unittest.cc ASSERT_TRUE(w1->layer() != NULL); layer 224 ash/wm/workspace_controller_unittest.cc EXPECT_TRUE(w1->layer()->visible()); layer 311 ash/wm/workspace_controller_unittest.cc EXPECT_FALSE(w1->layer()->IsDrawn()); layer 312 ash/wm/workspace_controller_unittest.cc EXPECT_TRUE(w1->layer()->GetTargetTransform().IsIdentity()); layer 317 ash/wm/workspace_controller_unittest.cc EXPECT_TRUE(w1->layer()->IsDrawn()); layer 336 ash/wm/workspace_controller_unittest.cc EXPECT_TRUE(w1->layer()->IsDrawn()); layer 337 ash/wm/workspace_controller_unittest.cc EXPECT_FALSE(w2->layer()->IsDrawn()); layer 344 ash/wm/workspace_controller_unittest.cc EXPECT_TRUE(w1->layer()->IsDrawn()); layer 345 ash/wm/workspace_controller_unittest.cc EXPECT_TRUE(w2->layer()->IsDrawn()); layer 351 ash/wm/workspace_controller_unittest.cc EXPECT_FALSE(w2->layer()->IsDrawn()); layer 363 ash/wm/workspace_controller_unittest.cc EXPECT_TRUE(w2->layer()->IsDrawn()); layer 525 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(1.0f, w1->layer()->GetCombinedOpacity()); layer 533 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(1.0f, w2->layer()->GetCombinedOpacity()); layer 539 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(1.0f, w1->layer()->GetCombinedOpacity()); layer 545 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(1.0f, w2->layer()->GetCombinedOpacity()); layer 551 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(1.0f, w1->layer()->GetCombinedOpacity()); layer 553 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(1.0f, w2->layer()->GetCombinedOpacity()); layer 559 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(1.0f, w1->layer()->GetCombinedOpacity()); layer 568 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(1.0f, w2->layer()->GetCombinedOpacity()); layer 573 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(1.0f, w1->layer()->GetCombinedOpacity()); layer 1119 ash/wm/workspace_controller_unittest.cc window1->layer()->GetAnimator()->StopAnimating(); layer 1120 ash/wm/workspace_controller_unittest.cc window2->layer()->GetAnimator()->StopAnimating(); layer 1124 ash/wm/workspace_controller_unittest.cc EXPECT_FALSE(window1->layer()->GetAnimator()->is_animating()); layer 1125 ash/wm/workspace_controller_unittest.cc EXPECT_TRUE(window2->layer()->GetAnimator()->is_animating()); layer 1126 ash/wm/workspace_controller_unittest.cc window2->layer()->GetAnimator()->StopAnimating(); layer 1129 ash/wm/workspace_controller_unittest.cc EXPECT_TRUE(window1->layer()->GetAnimator()->is_animating()); layer 1130 ash/wm/workspace_controller_unittest.cc EXPECT_TRUE(window2->layer()->GetAnimator()->is_animating()); layer 1132 ash/wm/workspace_controller_unittest.cc window1->layer()->GetAnimator()->StopAnimating(); layer 1133 ash/wm/workspace_controller_unittest.cc window2->layer()->GetAnimator()->StopAnimating(); layer 72 cc/debug/debug_rect_history.cc void DebugRectHistory::SavePaintRects(LayerImpl* layer) { layer 78 cc/debug/debug_rect_history.cc if (!layer->update_rect().IsEmpty() && layer->DrawsContent()) { layer 79 cc/debug/debug_rect_history.cc float width_scale = layer->content_bounds().width() / layer 80 cc/debug/debug_rect_history.cc static_cast<float>(layer->bounds().width()); layer 81 cc/debug/debug_rect_history.cc float height_scale = layer->content_bounds().height() / layer 82 cc/debug/debug_rect_history.cc static_cast<float>(layer->bounds().height()); layer 84 cc/debug/debug_rect_history.cc gfx::ScaleRect(layer->update_rect(), width_scale, height_scale); layer 87 cc/debug/debug_rect_history.cc MathUtil::MapClippedRect(layer->screen_space_transform(), layer 91 cc/debug/debug_rect_history.cc for (unsigned i = 0; i < layer->children().size(); ++i) layer 92 cc/debug/debug_rect_history.cc SavePaintRects(layer->children()[i]); layer 109 cc/debug/debug_rect_history.cc LayerImpl* layer = layer_list[layer_index]; layer 112 cc/debug/debug_rect_history.cc layer, render_surface_layer->id())) layer 115 cc/debug/debug_rect_history.cc if (layer == hud_layer) layer 118 cc/debug/debug_rect_history.cc if (layer->LayerPropertyChanged()) { layer 122 cc/debug/debug_rect_history.cc layer->screen_space_transform(), layer 123 cc/debug/debug_rect_history.cc gfx::Rect(layer->content_bounds())))); layer 184 cc/debug/debug_rect_history.cc void DebugRectHistory::SaveTouchEventHandlerRects(LayerImpl* layer) { layer 186 cc/debug/debug_rect_history.cc layer, layer 191 cc/debug/debug_rect_history.cc void DebugRectHistory::SaveTouchEventHandlerRectsCallback(LayerImpl* layer) { layer 192 cc/debug/debug_rect_history.cc for (Region::Iterator iter(layer->touch_event_handler_region()); layer 196 cc/debug/debug_rect_history.cc layer->contents_scale_x(), layer 197 cc/debug/debug_rect_history.cc layer->contents_scale_y()); layer 200 cc/debug/debug_rect_history.cc layer->screen_space_transform(), layer 205 cc/debug/debug_rect_history.cc void DebugRectHistory::SaveWheelEventHandlerRects(LayerImpl* layer) { layer 207 cc/debug/debug_rect_history.cc layer, layer 212 cc/debug/debug_rect_history.cc void DebugRectHistory::SaveWheelEventHandlerRectsCallback(LayerImpl* layer) { layer 213 cc/debug/debug_rect_history.cc if (!layer->have_wheel_event_handlers()) layer 216 cc/debug/debug_rect_history.cc gfx::RectF wheel_rect = gfx::RectF(layer->content_bounds()); layer 217 cc/debug/debug_rect_history.cc wheel_rect.Scale(layer->contents_scale_x(), layer->contents_scale_y()); layer 220 cc/debug/debug_rect_history.cc layer->screen_space_transform(), layer 224 cc/debug/debug_rect_history.cc void DebugRectHistory::SaveScrollEventHandlerRects(LayerImpl* layer) { layer 226 cc/debug/debug_rect_history.cc layer, layer 231 cc/debug/debug_rect_history.cc void DebugRectHistory::SaveScrollEventHandlerRectsCallback(LayerImpl* layer) { layer 232 cc/debug/debug_rect_history.cc if (!layer->have_scroll_event_handlers()) layer 235 cc/debug/debug_rect_history.cc gfx::RectF scroll_rect = gfx::RectF(layer->content_bounds()); layer 236 cc/debug/debug_rect_history.cc scroll_rect.Scale(layer->contents_scale_x(), layer->contents_scale_y()); layer 239 cc/debug/debug_rect_history.cc MathUtil::MapClippedRect(layer->screen_space_transform(), scroll_rect))); layer 242 cc/debug/debug_rect_history.cc void DebugRectHistory::SaveNonFastScrollableRects(LayerImpl* layer) { layer 244 cc/debug/debug_rect_history.cc layer, layer 249 cc/debug/debug_rect_history.cc void DebugRectHistory::SaveNonFastScrollableRectsCallback(LayerImpl* layer) { layer 250 cc/debug/debug_rect_history.cc for (Region::Iterator iter(layer->non_fast_scrollable_region()); layer 254 cc/debug/debug_rect_history.cc layer->contents_scale_x(), layer 255 cc/debug/debug_rect_history.cc layer->contents_scale_y()); layer 258 cc/debug/debug_rect_history.cc layer->screen_space_transform(), layer 92 cc/debug/debug_rect_history.h void SavePaintRects(LayerImpl* layer); layer 103 cc/debug/debug_rect_history.h void SaveTouchEventHandlerRects(LayerImpl* layer); layer 104 cc/debug/debug_rect_history.h void SaveTouchEventHandlerRectsCallback(LayerImpl* layer); layer 105 cc/debug/debug_rect_history.h void SaveWheelEventHandlerRects(LayerImpl* layer); layer 106 cc/debug/debug_rect_history.h void SaveWheelEventHandlerRectsCallback(LayerImpl* layer); layer 107 cc/debug/debug_rect_history.h void SaveScrollEventHandlerRects(LayerImpl* layer); layer 108 cc/debug/debug_rect_history.h void SaveScrollEventHandlerRectsCallback(LayerImpl* layer); layer 109 cc/debug/debug_rect_history.h void SaveNonFastScrollableRects(LayerImpl* layer); layer 110 cc/debug/debug_rect_history.h void SaveNonFastScrollableRectsCallback(LayerImpl* layer); layer 34 cc/debug/micro_benchmark.cc void MicroBenchmark::RunOnLayer(Layer* layer) {} layer 36 cc/debug/micro_benchmark.cc void MicroBenchmark::RunOnLayer(PictureLayer* layer) {} layer 33 cc/debug/micro_benchmark.h virtual void RunOnLayer(Layer* layer); layer 34 cc/debug/micro_benchmark.h virtual void RunOnLayer(PictureLayer* layer); layer 44 cc/debug/micro_benchmark_impl.cc void MicroBenchmarkImpl::RunOnLayer(LayerImpl* layer) {} layer 46 cc/debug/micro_benchmark_impl.cc void MicroBenchmarkImpl::RunOnLayer(PictureLayerImpl* layer) {} layer 34 cc/debug/micro_benchmark_impl.h virtual void RunOnLayer(LayerImpl* layer); layer 35 cc/debug/micro_benchmark_impl.h virtual void RunOnLayer(PictureLayerImpl* layer); layer 86 cc/debug/picture_record_benchmark.cc void PictureRecordBenchmark::Run(Layer* layer) { layer 87 cc/debug/picture_record_benchmark.cc layer->RunMicroBenchmark(this); layer 90 cc/debug/picture_record_benchmark.cc void PictureRecordBenchmark::RunOnLayer(PictureLayer* layer) { layer 91 cc/debug/picture_record_benchmark.cc ContentLayerClient* painter = layer->client(); layer 92 cc/debug/picture_record_benchmark.cc gfx::Size content_bounds = layer->content_bounds(); layer 27 cc/debug/picture_record_benchmark.h virtual void RunOnLayer(PictureLayer* layer) OVERRIDE; layer 30 cc/debug/picture_record_benchmark.h void Run(Layer* layer); layer 100 cc/debug/rasterize_and_record_benchmark.cc void RasterizeAndRecordBenchmark::Run(Layer* layer) { layer 101 cc/debug/rasterize_and_record_benchmark.cc layer->RunMicroBenchmark(this); layer 104 cc/debug/rasterize_and_record_benchmark.cc void RasterizeAndRecordBenchmark::RunOnLayer(PictureLayer* layer) { layer 105 cc/debug/rasterize_and_record_benchmark.cc ContentLayerClient* painter = layer->client(); layer 106 cc/debug/rasterize_and_record_benchmark.cc gfx::Size content_bounds = layer->content_bounds(); layer 115 cc/debug/rasterize_and_record_benchmark.cc layer->visible_content_rect(), 1.f / layer->contents_scale_x()); layer 34 cc/debug/rasterize_and_record_benchmark.h virtual void RunOnLayer(PictureLayer* layer) OVERRIDE; layer 40 cc/debug/rasterize_and_record_benchmark.h void Run(Layer* layer); layer 129 cc/debug/rasterize_and_record_benchmark_impl.cc void RasterizeAndRecordBenchmarkImpl::Run(LayerImpl* layer) { layer 131 cc/debug/rasterize_and_record_benchmark_impl.cc layer->RunMicroBenchmark(this); layer 134 cc/debug/rasterize_and_record_benchmark_impl.cc void RasterizeAndRecordBenchmarkImpl::RunOnLayer(PictureLayerImpl* layer) { layer 136 cc/debug/rasterize_and_record_benchmark_impl.cc if (!layer->DrawsContent()) { layer 140 cc/debug/rasterize_and_record_benchmark_impl.cc if (layer->visible_content_rect().IsEmpty()) { layer 152 cc/debug/rasterize_and_record_benchmark_impl.cc PictureLayerTilingSet tiling_set(layer, layer->content_bounds()); layer 154 cc/debug/rasterize_and_record_benchmark_impl.cc PictureLayerTiling* tiling = tiling_set.AddTiling(layer->contents_scale_x()); layer 157 cc/debug/rasterize_and_record_benchmark_impl.cc tiling, layer->contents_scale_x(), layer->visible_content_rect()); layer 191 cc/debug/rasterize_and_record_benchmark_impl.cc if (layer->contents_opaque()) layer 31 cc/debug/rasterize_and_record_benchmark_impl.h virtual void RunOnLayer(PictureLayerImpl* layer) OVERRIDE; layer 34 cc/debug/rasterize_and_record_benchmark_impl.h void Run(LayerImpl* layer); layer 30 cc/layers/delegated_frame_provider.cc void DelegatedFrameProvider::AddObserver(DelegatedRendererLayer* layer) { layer 33 cc/layers/delegated_frame_provider.cc DCHECK(observers_[i].layer != layer); layer 36 cc/layers/delegated_frame_provider.cc observers_.push_back(Observer(layer, gfx::RectF(frame_size_))); layer 41 cc/layers/delegated_frame_provider.cc void DelegatedFrameProvider::RemoveObserver(DelegatedRendererLayer* layer) { layer 44 cc/layers/delegated_frame_provider.cc if (observers_[i].layer != layer) layer 77 cc/layers/delegated_frame_provider.cc observers_[i].layer->ProviderHasNewFrame(); layer 87 cc/layers/delegated_frame_provider.cc if (observers_[i].layer != observer) layer 35 cc/layers/delegated_frame_provider.h void AddObserver(DelegatedRendererLayer* layer); layer 36 cc/layers/delegated_frame_provider.h void RemoveObserver(DelegatedRendererLayer* layer); layer 60 cc/layers/delegated_frame_provider.h DelegatedRendererLayer* layer; layer 63 cc/layers/delegated_frame_provider.h Observer(DelegatedRendererLayer* layer, const gfx::RectF& damage) layer 64 cc/layers/delegated_frame_provider.h : layer(layer), damage(damage) {} layer 64 cc/layers/delegated_renderer_layer_impl.cc void DelegatedRendererLayerImpl::PushPropertiesTo(LayerImpl* layer) { layer 65 cc/layers/delegated_renderer_layer_impl.cc LayerImpl::PushPropertiesTo(layer); layer 68 cc/layers/delegated_renderer_layer_impl.cc static_cast<DelegatedRendererLayerImpl*>(layer); layer 39 cc/layers/delegated_renderer_layer_impl.h virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; layer 17 cc/layers/heads_up_display_layer_impl_unittest.cc void CheckDrawLayer(HeadsUpDisplayLayerImpl* layer, layer 22 cc/layers/heads_up_display_layer_impl_unittest.cc bool will_draw = layer->WillDraw(draw_mode, resource_provider); layer 24 cc/layers/heads_up_display_layer_impl_unittest.cc layer->AppendQuads(&quad_culler, &data); layer 25 cc/layers/heads_up_display_layer_impl_unittest.cc layer->UpdateHudTexture(draw_mode, resource_provider); layer 27 cc/layers/heads_up_display_layer_impl_unittest.cc layer->DidDraw(resource_provider); layer 40 cc/layers/heads_up_display_layer_impl_unittest.cc scoped_ptr<HeadsUpDisplayLayerImpl> layer = layer 42 cc/layers/heads_up_display_layer_impl_unittest.cc layer->SetContentBounds(gfx::Size(100, 100)); layer 46 cc/layers/heads_up_display_layer_impl_unittest.cc layer.get(), host_impl.resource_provider(), DRAW_MODE_HARDWARE); layer 49 cc/layers/heads_up_display_layer_impl_unittest.cc layer->ReleaseResources(); layer 52 cc/layers/heads_up_display_layer_impl_unittest.cc CheckDrawLayer(layer.get(), layer 35 cc/layers/io_surface_layer.cc void IOSurfaceLayer::PushPropertiesTo(LayerImpl* layer) { layer 36 cc/layers/io_surface_layer.cc Layer::PushPropertiesTo(layer); layer 39 cc/layers/io_surface_layer.cc static_cast<IOSurfaceLayerImpl*>(layer); layer 22 cc/layers/io_surface_layer.h virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; layer 57 cc/layers/io_surface_layer_impl.cc void IOSurfaceLayerImpl::PushPropertiesTo(LayerImpl* layer) { layer 58 cc/layers/io_surface_layer_impl.cc LayerImpl::PushPropertiesTo(layer); layer 61 cc/layers/io_surface_layer_impl.cc static_cast<IOSurfaceLayerImpl*>(layer); layer 226 cc/layers/layer.cc void Layer::SetParent(Layer* layer) { layer 227 cc/layers/layer.cc DCHECK(!layer || !layer->HasAncestor(this)); layer 232 cc/layers/layer.cc if (layer) layer 233 cc/layers/layer.cc layer->AddDependentNeedsPushProperties(); layer 236 cc/layers/layer.cc parent_ = layer; layer 340 cc/layers/layer.cc Layer* layer = this; layer 341 cc/layers/layer.cc while (layer->parent()) layer 342 cc/layers/layer.cc layer = layer->parent(); layer 343 cc/layers/layer.cc return layer; layer 349 cc/layers/layer.cc Layer* layer = children_[0].get(); layer 350 cc/layers/layer.cc DCHECK_EQ(this, layer->parent()); layer 351 cc/layers/layer.cc layer->RemoveFromParent(); layer 366 cc/layers/layer.cc for (const Layer* layer = parent(); layer; layer = layer->parent()) { layer 367 cc/layers/layer.cc if (layer == ancestor) layer 411 cc/layers/layer.cc for (const Layer* layer = parent(); layer; layer 412 cc/layers/layer.cc layer = layer->parent()) { layer 413 cc/layers/layer.cc color = layer->background_color(); layer 466 cc/layers/layer.cc void Layer::SetReplicaLayer(Layer* layer) { layer 468 cc/layers/layer.cc if (replica_layer_.get() == layer) layer 474 cc/layers/layer.cc replica_layer_ = layer; layer 871 cc/layers/layer.cc void Layer::PushPropertiesTo(LayerImpl* layer) { layer 879 cc/layers/layer.cc layer->SetAnchorPoint(anchor_point_); layer 880 cc/layers/layer.cc layer->SetAnchorPointZ(anchor_point_z_); layer 881 cc/layers/layer.cc layer->SetBackgroundColor(background_color_); layer 882 cc/layers/layer.cc layer->SetBounds(use_paint_properties ? paint_properties_.bounds layer 884 cc/layers/layer.cc layer->SetContentBounds(content_bounds()); layer 885 cc/layers/layer.cc layer->SetContentsScale(contents_scale_x(), contents_scale_y()); layer 891 cc/layers/layer.cc layer->SetDebugInfo(TakeDebugInfo()); layer 893 cc/layers/layer.cc layer->SetDoubleSided(double_sided_); layer 894 cc/layers/layer.cc layer->SetDrawCheckerboardForMissingTiles( layer 896 cc/layers/layer.cc layer->SetForceRenderSurface(force_render_surface_); layer 897 cc/layers/layer.cc layer->SetDrawsContent(DrawsContent()); layer 898 cc/layers/layer.cc layer->SetHideLayerAndSubtree(hide_layer_and_subtree_); layer 899 cc/layers/layer.cc if (!layer->FilterIsAnimatingOnImplOnly() && !FilterIsAnimating()) layer 900 cc/layers/layer.cc layer->SetFilters(filters_); layer 901 cc/layers/layer.cc DCHECK(!(FilterIsAnimating() && layer->FilterIsAnimatingOnImplOnly())); layer 902 cc/layers/layer.cc layer->SetBackgroundFilters(background_filters()); layer 903 cc/layers/layer.cc layer->SetMasksToBounds(masks_to_bounds_); layer 904 cc/layers/layer.cc layer->SetShouldScrollOnMainThread(should_scroll_on_main_thread_); layer 905 cc/layers/layer.cc layer->SetHaveWheelEventHandlers(have_wheel_event_handlers_); layer 906 cc/layers/layer.cc layer->SetHaveScrollEventHandlers(have_scroll_event_handlers_); layer 907 cc/layers/layer.cc layer->SetNonFastScrollableRegion(non_fast_scrollable_region_); layer 908 cc/layers/layer.cc layer->SetTouchEventHandlerRegion(touch_event_handler_region_); layer 909 cc/layers/layer.cc layer->SetContentsOpaque(contents_opaque_); layer 910 cc/layers/layer.cc if (!layer->OpacityIsAnimatingOnImplOnly() && !OpacityIsAnimating()) layer 911 cc/layers/layer.cc layer->SetOpacity(opacity_); layer 912 cc/layers/layer.cc DCHECK(!(OpacityIsAnimating() && layer->OpacityIsAnimatingOnImplOnly())); layer 913 cc/layers/layer.cc layer->SetBlendMode(blend_mode_); layer 914 cc/layers/layer.cc layer->SetIsRootForIsolatedGroup(is_root_for_isolated_group_); layer 915 cc/layers/layer.cc layer->SetPosition(position_); layer 916 cc/layers/layer.cc layer->SetIsContainerForFixedPositionLayers( layer 918 cc/layers/layer.cc layer->SetPositionConstraint(position_constraint_); layer 919 cc/layers/layer.cc layer->SetShouldFlattenTransform(should_flatten_transform_); layer 920 cc/layers/layer.cc layer->SetIs3dSorted(is_3d_sorted_); layer 921 cc/layers/layer.cc layer->SetUseParentBackfaceVisibility(use_parent_backface_visibility_); layer 922 cc/layers/layer.cc if (!layer->TransformIsAnimatingOnImplOnly() && !TransformIsAnimating()) layer 923 cc/layers/layer.cc layer->SetTransform(transform_); layer 924 cc/layers/layer.cc DCHECK(!(TransformIsAnimating() && layer->TransformIsAnimatingOnImplOnly())); layer 926 cc/layers/layer.cc layer->SetScrollClipLayer(scroll_clip_layer_id_); layer 927 cc/layers/layer.cc layer->set_user_scrollable_horizontal(user_scrollable_horizontal_); layer 928 cc/layers/layer.cc layer->set_user_scrollable_vertical(user_scrollable_vertical_); layer 932 cc/layers/layer.cc scroll_parent = layer->layer_tree_impl()->LayerById(scroll_parent_->id()); layer 936 cc/layers/layer.cc layer->SetScrollParent(scroll_parent); layer 944 cc/layers/layer.cc layer->layer_tree_impl()->LayerById((*it)->id()); layer 948 cc/layers/layer.cc layer->SetScrollChildren(scroll_children); layer 950 cc/layers/layer.cc layer->SetScrollChildren(NULL); layer 956 cc/layers/layer.cc layer->layer_tree_impl()->LayerById(clip_parent_->id()); layer 960 cc/layers/layer.cc layer->SetClipParent(clip_parent); layer 966 cc/layers/layer.cc LayerImpl* clip_child = layer->layer_tree_impl()->LayerById((*it)->id()); layer 970 cc/layers/layer.cc layer->SetClipChildren(clip_children); layer 972 cc/layers/layer.cc layer->SetClipChildren(NULL); layer 978 cc/layers/layer.cc if (layer->layer_tree_impl()->settings().impl_side_painting) { layer 979 cc/layers/layer.cc layer->SetScrollOffset(scroll_offset_); layer 981 cc/layers/layer.cc layer->SetScrollOffsetAndDelta( layer 982 cc/layers/layer.cc scroll_offset_, layer->ScrollDelta() - layer->sent_scroll_delta()); layer 983 cc/layers/layer.cc layer->SetSentScrollDelta(gfx::Vector2d()); layer 1004 cc/layers/layer.cc layer->PassCopyRequests(&main_thread_copy_requests); layer 1010 cc/layers/layer.cc update_rect_.Union(layer->update_rect()); layer 1011 cc/layers/layer.cc layer->SetUpdateRect(update_rect_); layer 1013 cc/layers/layer.cc layer->SetStackingOrderChanged(stacking_order_changed_); layer 1016 cc/layers/layer.cc layer->layer_animation_controller()); layer 344 cc/layers/layer.h void SetReplicaLayer(Layer* layer); layer 370 cc/layers/layer.h virtual void PushPropertiesTo(LayerImpl* layer); layer 537 cc/layers/layer.h void SetParent(Layer* layer); layer 144 cc/layers/layer_impl.cc for (const LayerImpl* layer = this; layer; layer = layer->parent()) { layer 145 cc/layers/layer_impl.cc if (layer == ancestor) layer 490 cc/layers/layer_impl.cc void LayerImpl::PushPropertiesTo(LayerImpl* layer) { layer 491 cc/layers/layer_impl.cc layer->SetAnchorPoint(anchor_point_); layer 492 cc/layers/layer_impl.cc layer->SetAnchorPointZ(anchor_point_z_); layer 493 cc/layers/layer_impl.cc layer->SetBackgroundColor(background_color_); layer 494 cc/layers/layer_impl.cc layer->SetBounds(bounds_); layer 495 cc/layers/layer_impl.cc layer->SetContentBounds(content_bounds()); layer 496 cc/layers/layer_impl.cc layer->SetContentsScale(contents_scale_x(), contents_scale_y()); layer 497 cc/layers/layer_impl.cc layer->SetDoubleSided(double_sided_); layer 498 cc/layers/layer_impl.cc layer->SetDrawCheckerboardForMissingTiles( layer 500 cc/layers/layer_impl.cc layer->SetForceRenderSurface(force_render_surface_); layer 501 cc/layers/layer_impl.cc layer->SetDrawsContent(DrawsContent()); layer 502 cc/layers/layer_impl.cc layer->SetHideLayerAndSubtree(hide_layer_and_subtree_); layer 503 cc/layers/layer_impl.cc layer->SetFilters(filters()); layer 504 cc/layers/layer_impl.cc layer->SetBackgroundFilters(background_filters()); layer 505 cc/layers/layer_impl.cc layer->SetMasksToBounds(masks_to_bounds_); layer 506 cc/layers/layer_impl.cc layer->SetShouldScrollOnMainThread(should_scroll_on_main_thread_); layer 507 cc/layers/layer_impl.cc layer->SetHaveWheelEventHandlers(have_wheel_event_handlers_); layer 508 cc/layers/layer_impl.cc layer->SetHaveScrollEventHandlers(have_scroll_event_handlers_); layer 509 cc/layers/layer_impl.cc layer->SetNonFastScrollableRegion(non_fast_scrollable_region_); layer 510 cc/layers/layer_impl.cc layer->SetTouchEventHandlerRegion(touch_event_handler_region_); layer 511 cc/layers/layer_impl.cc layer->SetContentsOpaque(contents_opaque_); layer 512 cc/layers/layer_impl.cc layer->SetOpacity(opacity_); layer 513 cc/layers/layer_impl.cc layer->SetBlendMode(blend_mode_); layer 514 cc/layers/layer_impl.cc layer->SetIsRootForIsolatedGroup(is_root_for_isolated_group_); layer 515 cc/layers/layer_impl.cc layer->SetPosition(position_); layer 516 cc/layers/layer_impl.cc layer->SetIsContainerForFixedPositionLayers( layer 518 cc/layers/layer_impl.cc layer->SetPositionConstraint(position_constraint_); layer 519 cc/layers/layer_impl.cc layer->SetShouldFlattenTransform(should_flatten_transform_); layer 520 cc/layers/layer_impl.cc layer->SetIs3dSorted(is_3d_sorted_); layer 521 cc/layers/layer_impl.cc layer->SetUseParentBackfaceVisibility(use_parent_backface_visibility_); layer 522 cc/layers/layer_impl.cc layer->SetTransform(transform_); layer 524 cc/layers/layer_impl.cc layer->SetScrollClipLayer(scroll_clip_layer_ ? scroll_clip_layer_->id() layer 526 cc/layers/layer_impl.cc layer->set_user_scrollable_horizontal(user_scrollable_horizontal_); layer 527 cc/layers/layer_impl.cc layer->set_user_scrollable_vertical(user_scrollable_vertical_); layer 528 cc/layers/layer_impl.cc layer->SetScrollOffsetAndDelta( layer 529 cc/layers/layer_impl.cc scroll_offset_, layer->ScrollDelta() - layer->sent_scroll_delta()); layer 530 cc/layers/layer_impl.cc layer->SetSentScrollDelta(gfx::Vector2d()); layer 534 cc/layers/layer_impl.cc scroll_parent = layer->layer_tree_impl()->LayerById(scroll_parent_->id()); layer 538 cc/layers/layer_impl.cc layer->SetScrollParent(scroll_parent); layer 546 cc/layers/layer_impl.cc layer->layer_tree_impl()->LayerById((*it)->id()); layer 550 cc/layers/layer_impl.cc layer->SetScrollChildren(scroll_children); layer 552 cc/layers/layer_impl.cc layer->SetScrollChildren(NULL); layer 557 cc/layers/layer_impl.cc clip_parent = layer->layer_tree_impl()->LayerById( layer 562 cc/layers/layer_impl.cc layer->SetClipParent(clip_parent); layer 567 cc/layers/layer_impl.cc clip_children->insert(layer->layer_tree_impl()->LayerById((*it)->id())); layer 568 cc/layers/layer_impl.cc layer->SetClipChildren(clip_children); layer 570 cc/layers/layer_impl.cc layer->SetClipChildren(NULL); layer 573 cc/layers/layer_impl.cc layer->PassCopyRequests(©_requests_); layer 579 cc/layers/layer_impl.cc update_rect_.Union(layer->update_rect()); layer 580 cc/layers/layer_impl.cc layer->SetUpdateRect(update_rect_); layer 582 cc/layers/layer_impl.cc layer->SetStackingOrderChanged(stacking_order_changed_); layer 583 cc/layers/layer_impl.cc layer->SetDebugInfo(debug_info_); layer 882 cc/layers/layer_impl.cc for (const LayerImpl* layer = parent(); layer; layer 883 cc/layers/layer_impl.cc layer = layer->parent()) { layer 884 cc/layers/layer_impl.cc color = layer->background_color(); layer 1345 cc/layers/layer_impl.cc void LayerImpl::AddScrollbar(ScrollbarLayerImplBase* layer) { layer 1346 cc/layers/layer_impl.cc DCHECK(layer); layer 1347 cc/layers/layer_impl.cc DCHECK(!scrollbars_ || scrollbars_->find(layer) == scrollbars_->end()); layer 1351 cc/layers/layer_impl.cc scrollbars_->insert(layer); layer 1354 cc/layers/layer_impl.cc void LayerImpl::RemoveScrollbar(ScrollbarLayerImplBase* layer) { layer 1356 cc/layers/layer_impl.cc DCHECK(layer); layer 1357 cc/layers/layer_impl.cc DCHECK(scrollbars_->find(layer) != scrollbars_->end()); layer 1359 cc/layers/layer_impl.cc scrollbars_->erase(layer); layer 489 cc/layers/layer_impl.h void AddScrollbar(ScrollbarLayerImplBase* layer); layer 490 cc/layers/layer_impl.h void RemoveScrollbar(ScrollbarLayerImplBase* layer); layer 504 cc/layers/layer_impl.h virtual void PushPropertiesTo(LayerImpl* layer); layer 255 cc/layers/layer_impl_unittest.cc LayerImpl* layer = layer_ptr.get(); layer 257 cc/layers/layer_impl_unittest.cc layer->SetScrollClipLayer(root->id()); layer 277 cc/layers/layer_impl_unittest.cc VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetFilters(arbitrary_filters)); layer 278 cc/layers/layer_impl_unittest.cc VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetFilters(arbitrary_filters)); layer 279 cc/layers/layer_impl_unittest.cc VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetFilters(FilterOperations())); layer 280 cc/layers/layer_impl_unittest.cc VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetFilters(arbitrary_filters)); layer 283 cc/layers/layer_impl_unittest.cc VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetBounds(large_size)); layer 284 cc/layers/layer_impl_unittest.cc VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetBounds(large_size)); layer 285 cc/layers/layer_impl_unittest.cc VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(layer->ScrollBy(arbitrary_vector2d)); layer 286 cc/layers/layer_impl_unittest.cc VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(layer->ScrollBy(gfx::Vector2d())); layer 287 cc/layers/layer_impl_unittest.cc layer->SetScrollDelta(gfx::Vector2d(0, 0)); layer 290 cc/layers/layer_impl_unittest.cc layer->SetScrollDelta(arbitrary_vector2d)); layer 292 cc/layers/layer_impl_unittest.cc layer->SetScrollDelta(arbitrary_vector2d)); layer 294 cc/layers/layer_impl_unittest.cc layer->SetScrollOffset(arbitrary_vector2d)); layer 296 cc/layers/layer_impl_unittest.cc layer->SetScrollOffset(arbitrary_vector2d)); layer 299 cc/layers/layer_impl_unittest.cc VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetAnchorPointZ(arbitrary_number)); layer 301 cc/layers/layer_impl_unittest.cc layer->SetMaskLayer(LayerImpl::Create(host_impl.active_tree(), 4))); layer 302 cc/layers/layer_impl_unittest.cc VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetMasksToBounds(true)); layer 303 cc/layers/layer_impl_unittest.cc VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetContentsOpaque(true)); layer 305 cc/layers/layer_impl_unittest.cc layer->SetReplicaLayer(LayerImpl::Create(host_impl.active_tree(), 5))); layer 306 cc/layers/layer_impl_unittest.cc VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetPosition(arbitrary_point_f)); layer 307 cc/layers/layer_impl_unittest.cc VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetShouldFlattenTransform(false)); layer 308 cc/layers/layer_impl_unittest.cc VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetIs3dSorted(true)); layer 311 cc/layers/layer_impl_unittest.cc layer->SetDoubleSided(false)); // constructor initializes it to "true". layer 312 cc/layers/layer_impl_unittest.cc VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetContentBounds(arbitrary_size)); layer 314 cc/layers/layer_impl_unittest.cc layer->SetContentsScale(arbitrary_number, arbitrary_number)); layer 315 cc/layers/layer_impl_unittest.cc VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetDrawsContent(true)); layer 317 cc/layers/layer_impl_unittest.cc layer->SetBackgroundColor(arbitrary_color)); layer 319 cc/layers/layer_impl_unittest.cc layer->SetBackgroundFilters(arbitrary_filters)); layer 320 cc/layers/layer_impl_unittest.cc VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetOpacity(arbitrary_number)); layer 322 cc/layers/layer_impl_unittest.cc layer->SetBlendMode(arbitrary_blend_mode)); layer 323 cc/layers/layer_impl_unittest.cc VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetTransform(arbitrary_transform)); layer 324 cc/layers/layer_impl_unittest.cc VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetBounds(arbitrary_size)); layer 328 cc/layers/layer_impl_unittest.cc layer->SetAnchorPointZ(arbitrary_number)); layer 330 cc/layers/layer_impl_unittest.cc layer->SetIsRootForIsolatedGroup(true)); layer 331 cc/layers/layer_impl_unittest.cc VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetFilters(arbitrary_filters)); layer 332 cc/layers/layer_impl_unittest.cc VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetMasksToBounds(true)); layer 333 cc/layers/layer_impl_unittest.cc VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetContentsOpaque(true)); layer 334 cc/layers/layer_impl_unittest.cc VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetPosition(arbitrary_point_f)); layer 335 cc/layers/layer_impl_unittest.cc VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetIs3dSorted(true)); layer 337 cc/layers/layer_impl_unittest.cc layer->SetDoubleSided(false)); // constructor initializes it to "true". layer 339 cc/layers/layer_impl_unittest.cc layer->SetContentBounds(arbitrary_size)); layer 341 cc/layers/layer_impl_unittest.cc layer->SetContentsScale(arbitrary_number, arbitrary_number)); layer 342 cc/layers/layer_impl_unittest.cc VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetDrawsContent(true)); layer 344 cc/layers/layer_impl_unittest.cc layer->SetBackgroundColor(arbitrary_color)); layer 346 cc/layers/layer_impl_unittest.cc layer->SetBackgroundFilters(arbitrary_filters)); layer 347 cc/layers/layer_impl_unittest.cc VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetOpacity(arbitrary_number)); layer 349 cc/layers/layer_impl_unittest.cc layer->SetBlendMode(arbitrary_blend_mode)); layer 351 cc/layers/layer_impl_unittest.cc layer->SetIsRootForIsolatedGroup(true)); layer 353 cc/layers/layer_impl_unittest.cc layer->SetTransform(arbitrary_transform)); layer 354 cc/layers/layer_impl_unittest.cc VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetBounds(arbitrary_size)); layer 363 cc/layers/layer_impl_unittest.cc scoped_ptr<LayerImpl> layer = LayerImpl::Create(host_impl.active_tree(), 1); layer 368 cc/layers/layer_impl_unittest.cc layer->SetContentsOpaque(!!contents_opaque); layer 369 cc/layers/layer_impl_unittest.cc layer->SetBackgroundColor(layer_opaque ? SK_ColorRED layer 374 cc/layers/layer_impl_unittest.cc SkColor safe_color = layer->SafeOpaqueBackgroundColor(); layer 397 cc/layers/layer_impl_unittest.cc layer()->SetScrollClipLayer(root_id_); layer 403 cc/layers/layer_impl_unittest.cc layer()->SetBounds(gfx::Size(max_scroll_offset.x(), max_scroll_offset.y())); layer 421 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->TotalScrollOffset()); layer 422 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->scroll_offset()); layer 423 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->ScrollDelta()); layer 425 cc/layers/layer_impl_unittest.cc layer()->ScrollBy(gfx::Vector2dF(-100, 100)); layer 426 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(0, 80), layer()->TotalScrollOffset()); layer 428 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(layer()->ScrollDelta(), layer()->TotalScrollOffset()); layer 429 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->scroll_offset()); layer 431 cc/layers/layer_impl_unittest.cc layer()->ScrollBy(gfx::Vector2dF(100, -100)); layer 432 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(50, 0), layer()->TotalScrollOffset()); layer 434 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(layer()->ScrollDelta(), layer()->TotalScrollOffset()); layer 435 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->scroll_offset()); layer 440 cc/layers/layer_impl_unittest.cc layer()->SetScrollOffset(scroll_offset); layer 442 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset, layer()->TotalScrollOffset()); layer 443 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset, layer()->scroll_offset()); layer 444 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->ScrollDelta()); layer 446 cc/layers/layer_impl_unittest.cc layer()->ScrollBy(gfx::Vector2dF(-100, 100)); layer 447 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(0, 80), layer()->TotalScrollOffset()); layer 449 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(layer()->ScrollDelta() + scroll_offset, layer 450 cc/layers/layer_impl_unittest.cc layer()->TotalScrollOffset()); layer 451 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset, layer()->scroll_offset()); layer 453 cc/layers/layer_impl_unittest.cc layer()->ScrollBy(gfx::Vector2dF(100, -100)); layer 454 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(50, 0), layer()->TotalScrollOffset()); layer 456 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(layer()->ScrollDelta() + scroll_offset, layer 457 cc/layers/layer_impl_unittest.cc layer()->TotalScrollOffset()); layer 458 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset, layer()->scroll_offset()); layer 487 cc/layers/layer_impl_unittest.cc layer()->SetScrollOffset(scroll_offset); layer 489 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset, layer()->TotalScrollOffset()); layer 490 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset, layer()->scroll_offset()); layer 491 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->ScrollDelta()); layer 496 cc/layers/layer_impl_unittest.cc layer()->SetScrollOffsetDelegate(&delegate); layer 498 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(fixed_offset, layer()->TotalScrollOffset()); layer 499 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset, layer()->scroll_offset()); layer 501 cc/layers/layer_impl_unittest.cc layer()->ScrollBy(gfx::Vector2dF(-100, 100)); layer 503 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(fixed_offset, layer()->TotalScrollOffset()); layer 504 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset, layer()->scroll_offset()); layer 506 cc/layers/layer_impl_unittest.cc layer()->SetScrollOffsetDelegate(NULL); layer 508 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(fixed_offset, layer()->TotalScrollOffset()); layer 509 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset, layer()->scroll_offset()); layer 512 cc/layers/layer_impl_unittest.cc layer()->ScrollBy(scroll_delta); layer 514 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(fixed_offset + scroll_delta, layer()->TotalScrollOffset()); layer 515 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset, layer()->scroll_offset()); layer 541 cc/layers/layer_impl_unittest.cc layer()->SetScrollOffset(scroll_offset); layer 543 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset, layer()->TotalScrollOffset()); layer 544 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset, layer()->scroll_offset()); layer 545 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->ScrollDelta()); layer 548 cc/layers/layer_impl_unittest.cc layer()->SetScrollOffsetDelegate(&delegate); layer 550 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset, layer()->TotalScrollOffset()); layer 551 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset, layer()->scroll_offset()); layer 552 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->ScrollDelta()); layer 554 cc/layers/layer_impl_unittest.cc layer()->ScrollBy(gfx::Vector2dF(-100, 100)); layer 556 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(0, 80), layer()->TotalScrollOffset()); layer 557 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset, layer()->scroll_offset()); layer 559 cc/layers/layer_impl_unittest.cc layer()->SetScrollOffsetDelegate(NULL); layer 561 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(0, 80), layer()->TotalScrollOffset()); layer 562 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset, layer()->scroll_offset()); layer 565 cc/layers/layer_impl_unittest.cc layer()->ScrollBy(scroll_delta); layer 567 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(1, 80), layer()->TotalScrollOffset()); layer 568 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset, layer()->scroll_offset()); layer 576 cc/layers/layer_impl_unittest.cc layer()->SetScrollOffset(scroll_offset); layer 577 cc/layers/layer_impl_unittest.cc layer()->ScrollBy(scroll_delta); layer 578 cc/layers/layer_impl_unittest.cc layer()->SetSentScrollDelta(sent_scroll_delta); layer 580 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset + scroll_delta, layer()->TotalScrollOffset()); layer 581 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_delta, layer()->ScrollDelta()); layer 582 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset, layer()->scroll_offset()); layer 583 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(sent_scroll_delta, layer()->sent_scroll_delta()); layer 585 cc/layers/layer_impl_unittest.cc layer()->ApplySentScrollDeltasFromAbortedCommit(); layer 587 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset + scroll_delta, layer()->TotalScrollOffset()); layer 588 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_delta - sent_scroll_delta, layer()->ScrollDelta()); layer 589 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset + sent_scroll_delta, layer()->scroll_offset()); layer 590 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2d(), layer()->sent_scroll_delta()); layer 598 cc/layers/layer_impl_unittest.cc layer()->SetScrollOffset(scroll_offset); layer 601 cc/layers/layer_impl_unittest.cc layer()->SetScrollOffsetDelegate(&delegate); layer 602 cc/layers/layer_impl_unittest.cc layer()->SetSentScrollDelta(sent_scroll_delta); layer 604 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(fixed_offset, layer()->TotalScrollOffset()); layer 605 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset, layer()->scroll_offset()); layer 606 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(sent_scroll_delta, layer()->sent_scroll_delta()); layer 608 cc/layers/layer_impl_unittest.cc layer()->ApplySentScrollDeltasFromAbortedCommit(); layer 610 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(fixed_offset, layer()->TotalScrollOffset()); layer 611 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset + sent_scroll_delta, layer()->scroll_offset()); layer 612 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2d(), layer()->sent_scroll_delta()); layer 620 cc/layers/layer_impl_unittest.cc layer()->SetScrollOffset(scroll_offset); layer 622 cc/layers/layer_impl_unittest.cc layer()->SetScrollOffsetDelegate(&delegate); layer 623 cc/layers/layer_impl_unittest.cc layer()->ScrollBy(scroll_delta); layer 624 cc/layers/layer_impl_unittest.cc layer()->SetSentScrollDelta(sent_scroll_delta); layer 626 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset + scroll_delta, layer()->TotalScrollOffset()); layer 627 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset, layer()->scroll_offset()); layer 628 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(sent_scroll_delta, layer()->sent_scroll_delta()); layer 630 cc/layers/layer_impl_unittest.cc layer()->ApplySentScrollDeltasFromAbortedCommit(); layer 632 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset + scroll_delta, layer()->TotalScrollOffset()); layer 633 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(scroll_offset + sent_scroll_delta, layer()->scroll_offset()); layer 634 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2d(), layer()->sent_scroll_delta()); layer 643 cc/layers/layer_impl_unittest.cc layer()->set_user_scrollable_vertical(false); layer 644 cc/layers/layer_impl_unittest.cc layer()->SetScrollOffset(scroll_offset); layer 645 cc/layers/layer_impl_unittest.cc gfx::Vector2dF unscrolled = layer()->ScrollBy(scroll_delta); layer 648 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(30.5f, 5), layer()->TotalScrollOffset()); layer 236 cc/layers/layer_iterator.h for (LayerType* layer = current_layer(); layer 237 cc/layers/layer_iterator.h target_render_surface_layer() != layer; layer 48 cc/layers/layer_iterator_unittest.cc #define EXPECT_COUNT(layer, target, contrib, itself) \ layer 49 cc/layers/layer_iterator_unittest.cc EXPECT_EQ(target, layer->count_representing_target_surface_); \ layer 50 cc/layers/layer_iterator_unittest.cc EXPECT_EQ(contrib, layer->count_representing_contributing_surface_); \ layer 51 cc/layers/layer_iterator_unittest.cc EXPECT_EQ(itself, layer->count_representing_itself_); layer 70 cc/layers/layer_iterator_unittest.cc TestLayer* layer = static_cast<TestLayer*>( layer 73 cc/layers/layer_iterator_unittest.cc layer->count_representing_target_surface_ = -1; layer 74 cc/layers/layer_iterator_unittest.cc layer->count_representing_contributing_surface_ = -1; layer 75 cc/layers/layer_iterator_unittest.cc layer->count_representing_itself_ = -1; layer 87 cc/layers/layer_iterator_unittest.cc TestLayer* layer = static_cast<TestLayer*>(*it); layer 89 cc/layers/layer_iterator_unittest.cc layer->count_representing_target_surface_ = count; layer 91 cc/layers/layer_iterator_unittest.cc layer->count_representing_contributing_surface_ = count; layer 93 cc/layers/layer_iterator_unittest.cc layer->count_representing_itself_ = count; layer 26 cc/layers/layer_lists.cc void RenderSurfaceLayerList::push_back(const scoped_refptr<Layer>& layer) { layer 27 cc/layers/layer_lists.cc list_.push_back(layer); layer 30 cc/layers/layer_lists.h void push_back(const scoped_refptr<Layer>& layer); layer 20 cc/layers/layer_position_constraint_unittest.cc void SetLayerPropertiesForTesting(LayerImpl* layer, layer 27 cc/layers/layer_position_constraint_unittest.cc layer->SetTransform(transform); layer 28 cc/layers/layer_position_constraint_unittest.cc layer->SetAnchorPoint(anchor); layer 29 cc/layers/layer_position_constraint_unittest.cc layer->SetPosition(position); layer 30 cc/layers/layer_position_constraint_unittest.cc layer->SetBounds(bounds); layer 31 cc/layers/layer_position_constraint_unittest.cc layer->SetShouldFlattenTransform(flatten_transform); layer 32 cc/layers/layer_position_constraint_unittest.cc layer->SetIs3dSorted(is_3d_sorted); layer 33 cc/layers/layer_position_constraint_unittest.cc layer->SetContentBounds(bounds); layer 831 cc/layers/layer_unittest.cc void AssertLayerTreeHostMatchesForSubtree(Layer* layer, LayerTreeHost* host) { layer 832 cc/layers/layer_unittest.cc EXPECT_EQ(host, layer->layer_tree_host()); layer 834 cc/layers/layer_unittest.cc for (size_t i = 0; i < layer->children().size(); ++i) layer 835 cc/layers/layer_unittest.cc AssertLayerTreeHostMatchesForSubtree(layer->children()[i].get(), host); layer 837 cc/layers/layer_unittest.cc if (layer->mask_layer()) layer 838 cc/layers/layer_unittest.cc AssertLayerTreeHostMatchesForSubtree(layer->mask_layer(), host); layer 840 cc/layers/layer_unittest.cc if (layer->replica_layer()) layer 841 cc/layers/layer_unittest.cc AssertLayerTreeHostMatchesForSubtree(layer->replica_layer(), host); layer 1014 cc/layers/layer_unittest.cc static bool AddTestAnimation(Layer* layer) { layer 1029 cc/layers/layer_unittest.cc return layer->AddAnimation(animation.Pass()); layer 1033 cc/layers/layer_unittest.cc scoped_refptr<Layer> layer = Layer::Create(); layer 1037 cc/layers/layer_unittest.cc EXPECT_FALSE(AddTestAnimation(layer.get())); layer 1040 cc/layers/layer_unittest.cc layer->layer_animation_controller()->SetAnimationRegistrar(registrar.get()); layer 1043 cc/layers/layer_unittest.cc EXPECT_TRUE(AddTestAnimation(layer.get())); layer 1049 cc/layers/layer_unittest.cc layer_tree_host->SetRootLayer(layer); layer 1050 cc/layers/layer_unittest.cc AssertLayerTreeHostMatchesForSubtree(layer.get(), layer_tree_host.get()); layer 1054 cc/layers/layer_unittest.cc EXPECT_FALSE(AddTestAnimation(layer.get())); layer 1061 cc/layers/layer_unittest.cc scoped_refptr<Layer> layer = Layer::Create(); layer 1062 cc/layers/layer_unittest.cc layer_tree_host->SetRootLayer(layer); layer 1067 cc/layers/layer_unittest.cc layer->SetContentsOpaque(!!contents_opaque); layer 1068 cc/layers/layer_unittest.cc layer->SetBackgroundColor(layer_opaque ? SK_ColorRED layer 1073 cc/layers/layer_unittest.cc SkColor safe_color = layer->SafeOpaqueBackgroundColor(); layer 15 cc/layers/layer_utils.cc bool HasAnimationThatInflatesBounds(const LayerImpl& layer) { layer 16 cc/layers/layer_utils.cc return layer.layer_animation_controller()->HasAnimationThatInflatesBounds(); layer 19 cc/layers/layer_utils.cc bool HasFilterAnimationThatInflatesBounds(const LayerImpl& layer) { layer 20 cc/layers/layer_utils.cc return layer.layer_animation_controller() layer 24 cc/layers/layer_utils.cc bool HasTransformAnimationThatInflatesBounds(const LayerImpl& layer) { layer 25 cc/layers/layer_utils.cc return layer.layer_animation_controller() layer 29 cc/layers/layer_utils.cc inline bool HasAncestorTransformAnimation(const LayerImpl& layer) { layer 30 cc/layers/layer_utils.cc return layer.screen_space_transform_is_animating(); layer 33 cc/layers/layer_utils.cc inline bool HasAncestorFilterAnimation(const LayerImpl& layer) { layer 34 cc/layers/layer_utils.cc for (const LayerImpl* current = &layer; current; layer 77 cc/layers/layer_utils.cc for (const LayerImpl* layer = &layer_in; layer; layer = layer->parent()) { layer 78 cc/layers/layer_utils.cc int anchor_x = layer->anchor_point().x() * layer->bounds().width(); layer 79 cc/layers/layer_utils.cc int anchor_y = layer->anchor_point().y() * layer->bounds().height(); layer 80 cc/layers/layer_utils.cc gfx::PointF position = layer->position(); layer 81 cc/layers/layer_utils.cc if (layer->parent() && !HasAnimationThatInflatesBounds(*layer)) { layer 90 cc/layers/layer_utils.cc layer->anchor_point_z()); layer 91 cc/layers/layer_utils.cc composite_layer_transform.PreconcatTransform(layer->transform()); layer 93 cc/layers/layer_utils.cc -anchor_x, -anchor_y, -layer->anchor_point_z()); layer 108 cc/layers/layer_utils.cc -layer->anchor_point_z())); layer 111 cc/layers/layer_utils.cc if (HasFilterAnimationThatInflatesBounds(*layer)) { layer 113 cc/layers/layer_utils.cc if (!layer->layer_animation_controller()->FilterAnimationBoundsForBox( layer 119 cc/layers/layer_utils.cc if (HasTransformAnimationThatInflatesBounds(*layer)) { layer 121 cc/layers/layer_utils.cc if (!layer->layer_animation_controller()->TransformAnimationBoundsForBox( layer 130 cc/layers/layer_utils.cc layer->anchor_point_z())); layer 24 cc/layers/layer_utils.h static bool GetAnimationBounds(const LayerImpl& layer, gfx::BoxF* out); layer 53 cc/layers/nine_patch_layer.cc void NinePatchLayer::PushPropertiesTo(LayerImpl* layer) { layer 54 cc/layers/nine_patch_layer.cc UIResourceLayer::PushPropertiesTo(layer); layer 55 cc/layers/nine_patch_layer.cc NinePatchLayerImpl* layer_impl = static_cast<NinePatchLayerImpl*>(layer); layer 24 cc/layers/nine_patch_layer.h virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; layer 28 cc/layers/nine_patch_layer_impl.cc void NinePatchLayerImpl::PushPropertiesTo(LayerImpl* layer) { layer 29 cc/layers/nine_patch_layer_impl.cc UIResourceLayerImpl::PushPropertiesTo(layer); layer 30 cc/layers/nine_patch_layer_impl.cc NinePatchLayerImpl* layer_impl = static_cast<NinePatchLayerImpl*>(layer); layer 62 cc/layers/nine_patch_layer_impl.h virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; layer 49 cc/layers/nine_patch_layer_impl_unittest.cc scoped_ptr<NinePatchLayerImpl> layer = layer 51 cc/layers/nine_patch_layer_impl_unittest.cc layer->draw_properties().visible_content_rect = visible_content_rect; layer 52 cc/layers/nine_patch_layer_impl_unittest.cc layer->SetBounds(layer_size); layer 53 cc/layers/nine_patch_layer_impl_unittest.cc layer->SetContentBounds(layer_size); layer 54 cc/layers/nine_patch_layer_impl_unittest.cc layer->CreateRenderSurface(); layer 55 cc/layers/nine_patch_layer_impl_unittest.cc layer->draw_properties().render_target = layer.get(); layer 62 cc/layers/nine_patch_layer_impl_unittest.cc layer->SetUIResourceId(uid); layer 63 cc/layers/nine_patch_layer_impl_unittest.cc layer->SetImageBounds(bitmap_size); layer 64 cc/layers/nine_patch_layer_impl_unittest.cc layer->SetLayout(aperture_rect, border, fill_center); layer 66 cc/layers/nine_patch_layer_impl_unittest.cc layer->AppendQuads(&quad_culler, &data); layer 117 cc/layers/painted_scrollbar_layer.cc void PaintedScrollbarLayer::PushPropertiesTo(LayerImpl* layer) { layer 118 cc/layers/painted_scrollbar_layer.cc ContentsScalingLayer::PushPropertiesTo(layer); layer 120 cc/layers/painted_scrollbar_layer.cc PushScrollClipPropertiesTo(layer); layer 123 cc/layers/painted_scrollbar_layer.cc static_cast<PaintedScrollbarLayerImpl*>(layer); layer 149 cc/layers/painted_scrollbar_layer.cc void PaintedScrollbarLayer::PushScrollClipPropertiesTo(LayerImpl* layer) { layer 151 cc/layers/painted_scrollbar_layer.cc static_cast<PaintedScrollbarLayerImpl*>(layer); layer 43 cc/layers/painted_scrollbar_layer.h virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; layer 44 cc/layers/painted_scrollbar_layer.h virtual void PushScrollClipPropertiesTo(LayerImpl* layer) OVERRIDE; layer 50 cc/layers/painted_scrollbar_layer_impl.cc void PaintedScrollbarLayerImpl::PushPropertiesTo(LayerImpl* layer) { layer 51 cc/layers/painted_scrollbar_layer_impl.cc ScrollbarLayerImplBase::PushPropertiesTo(layer); layer 54 cc/layers/painted_scrollbar_layer_impl.cc static_cast<PaintedScrollbarLayerImpl*>(layer); layer 29 cc/layers/painted_scrollbar_layer_impl.h virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; layer 60 cc/layers/picture_image_layer_impl_unittest.cc TestablePictureImageLayerImpl* layer = layer 62 cc/layers/picture_image_layer_impl_unittest.cc layer->SetBounds(gfx::Size(100, 200)); layer 63 cc/layers/picture_image_layer_impl_unittest.cc layer->tilings_.reset(new PictureLayerTilingSet(&tiling_client_, layer 64 cc/layers/picture_image_layer_impl_unittest.cc layer->bounds())); layer 65 cc/layers/picture_image_layer_impl_unittest.cc layer->pile_ = tiling_client_.pile(); layer 66 cc/layers/picture_image_layer_impl_unittest.cc return make_scoped_ptr(layer); layer 81 cc/layers/picture_image_layer_impl_unittest.cc scoped_ptr<TestablePictureImageLayerImpl> layer(CreateLayer(1, PENDING_TREE)); layer 82 cc/layers/picture_image_layer_impl_unittest.cc layer->SetDrawsContent(true); layer 87 cc/layers/picture_image_layer_impl_unittest.cc layer->CalculateContentsScale(2.f, 3.f, 4.f, false, layer 92 cc/layers/picture_image_layer_impl_unittest.cc EXPECT_EQ(layer->bounds(), content_bounds); layer 96 cc/layers/picture_image_layer_impl_unittest.cc scoped_ptr<TestablePictureImageLayerImpl> layer(CreateLayer(1, PENDING_TREE)); layer 97 cc/layers/picture_image_layer_impl_unittest.cc layer->SetBounds(gfx::Size(100, 200)); layer 98 cc/layers/picture_image_layer_impl_unittest.cc layer->SetDrawsContent(true); layer 105 cc/layers/picture_image_layer_impl_unittest.cc layer->CalculateContentsScale(2.f, 3.f, 4.f, false, layer 108 cc/layers/picture_image_layer_impl_unittest.cc layer->UpdateTilePriorities(); layer 110 cc/layers/picture_image_layer_impl_unittest.cc EXPECT_TRUE(layer->AreVisibleResourcesReady()); layer 31 cc/layers/picture_layer.h virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; layer 1282 cc/layers/picture_layer_impl.cc PictureLayerImpl* layer, layer 1284 cc/layers/picture_layer_impl.cc : layer_(layer), current_stage_(0) { layer 34 cc/layers/picture_layer_impl.h LayerRasterTileIterator(PictureLayerImpl* layer, bool prioritize_low_res); layer 67 cc/layers/picture_layer_impl.h virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; layer 34 cc/layers/picture_layer_unittest.cc scoped_refptr<PictureLayer> layer = PictureLayer::Create(&client); layer 35 cc/layers/picture_layer_unittest.cc layer->SetBounds(gfx::Size(10, 10)); layer 38 cc/layers/picture_layer_unittest.cc host->SetRootLayer(layer); layer 39 cc/layers/picture_layer_unittest.cc layer->SetIsDrawable(true); layer 40 cc/layers/picture_layer_unittest.cc layer->SavePaintProperties(); layer 44 cc/layers/picture_layer_unittest.cc layer->Update(queue.get(), &occlusion); layer 46 cc/layers/picture_layer_unittest.cc layer->SetBounds(gfx::Size(0, 0)); layer 47 cc/layers/picture_layer_unittest.cc layer->SavePaintProperties(); layer 62 cc/layers/picture_layer_unittest.cc layer->PushPropertiesTo(layer_impl.get()); layer 107 cc/layers/render_surface.h void AddContributingDelegatedRenderPassLayer(Layer* layer) {} layer 100 cc/layers/render_surface_impl.cc LayerImpl* layer) { layer 101 cc/layers/render_surface_impl.cc DCHECK(std::find(layer_list_.begin(), layer_list_.end(), layer) != layer 104 cc/layers/render_surface_impl.cc static_cast<DelegatedRendererLayerImpl*>(layer); layer 124 cc/layers/render_surface_impl.h void AddContributingDelegatedRenderPassLayer(LayerImpl* layer); layer 33 cc/layers/scrollbar_layer_impl_base.cc void ScrollbarLayerImplBase::PushPropertiesTo(LayerImpl* layer) { layer 34 cc/layers/scrollbar_layer_impl_base.cc LayerImpl::PushPropertiesTo(layer); layer 35 cc/layers/scrollbar_layer_impl_base.cc DCHECK(layer->ToScrollbarLayer()); layer 36 cc/layers/scrollbar_layer_impl_base.cc layer->ToScrollbarLayer()->set_is_overlay_scrollbar(is_overlay_scrollbar_); layer 37 cc/layers/scrollbar_layer_impl_base.cc PushScrollClipPropertiesTo(layer); layer 40 cc/layers/scrollbar_layer_impl_base.cc void ScrollbarLayerImplBase::PushScrollClipPropertiesTo(LayerImpl* layer) { layer 41 cc/layers/scrollbar_layer_impl_base.cc DCHECK(layer->ToScrollbarLayer()); layer 42 cc/layers/scrollbar_layer_impl_base.cc layer->ToScrollbarLayer()->SetScrollLayerById(ScrollLayerId()); layer 43 cc/layers/scrollbar_layer_impl_base.cc layer->ToScrollbarLayer()->SetClipLayerById(ClipLayerId()); layer 47 cc/layers/scrollbar_layer_impl_base.h virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; layer 49 cc/layers/scrollbar_layer_impl_base.h void PushScrollClipPropertiesTo(LayerImpl* layer); layer 21 cc/layers/scrollbar_layer_interface.h virtual void PushScrollClipPropertiesTo(LayerImpl* layer) = 0; layer 32 cc/layers/solid_color_layer_impl_unittest.cc scoped_ptr<SolidColorLayerImpl> layer = layer 34 cc/layers/solid_color_layer_impl_unittest.cc layer->draw_properties().visible_content_rect = visible_content_rect; layer 35 cc/layers/solid_color_layer_impl_unittest.cc layer->SetBounds(layer_size); layer 36 cc/layers/solid_color_layer_impl_unittest.cc layer->SetContentBounds(layer_size); layer 37 cc/layers/solid_color_layer_impl_unittest.cc layer->CreateRenderSurface(); layer 38 cc/layers/solid_color_layer_impl_unittest.cc layer->draw_properties().render_target = layer.get(); layer 41 cc/layers/solid_color_layer_impl_unittest.cc layer->AppendQuads(&quad_culler, &data); layer 57 cc/layers/solid_color_layer_impl_unittest.cc scoped_ptr<SolidColorLayerImpl> layer = layer 59 cc/layers/solid_color_layer_impl_unittest.cc layer->draw_properties().visible_content_rect = visible_content_rect; layer 60 cc/layers/solid_color_layer_impl_unittest.cc layer->SetBounds(layer_size); layer 61 cc/layers/solid_color_layer_impl_unittest.cc layer->SetContentBounds(layer_size); layer 62 cc/layers/solid_color_layer_impl_unittest.cc layer->SetBackgroundColor(test_color); layer 63 cc/layers/solid_color_layer_impl_unittest.cc layer->CreateRenderSurface(); layer 64 cc/layers/solid_color_layer_impl_unittest.cc layer->draw_properties().render_target = layer.get(); layer 67 cc/layers/solid_color_layer_impl_unittest.cc layer->AppendQuads(&quad_culler, &data); layer 84 cc/layers/solid_color_layer_impl_unittest.cc scoped_ptr<SolidColorLayerImpl> layer = layer 86 cc/layers/solid_color_layer_impl_unittest.cc layer->draw_properties().visible_content_rect = visible_content_rect; layer 87 cc/layers/solid_color_layer_impl_unittest.cc layer->SetBounds(layer_size); layer 88 cc/layers/solid_color_layer_impl_unittest.cc layer->SetContentBounds(layer_size); layer 89 cc/layers/solid_color_layer_impl_unittest.cc layer->draw_properties().opacity = opacity; layer 90 cc/layers/solid_color_layer_impl_unittest.cc layer->CreateRenderSurface(); layer 91 cc/layers/solid_color_layer_impl_unittest.cc layer->draw_properties().render_target = layer.get(); layer 94 cc/layers/solid_color_layer_impl_unittest.cc layer->AppendQuads(&quad_culler, &data); layer 106 cc/layers/solid_color_layer_impl_unittest.cc scoped_refptr<SolidColorLayer> layer = SolidColorLayer::Create(); layer 107 cc/layers/solid_color_layer_impl_unittest.cc layer->SetBounds(layer_size); layer 108 cc/layers/solid_color_layer_impl_unittest.cc layer->SetForceRenderSurface(true); layer 111 cc/layers/solid_color_layer_impl_unittest.cc root->AddChild(layer); layer 121 cc/layers/solid_color_layer_impl_unittest.cc EXPECT_FALSE(layer->contents_opaque()); layer 122 cc/layers/solid_color_layer_impl_unittest.cc layer->SetBackgroundColor(SkColorSetARGBInline(255, 10, 20, 30)); layer 123 cc/layers/solid_color_layer_impl_unittest.cc EXPECT_TRUE(layer->contents_opaque()); layer 127 cc/layers/solid_color_layer_impl_unittest.cc layer->id()); layer 128 cc/layers/solid_color_layer_impl_unittest.cc layer->PushPropertiesTo(layer_impl.get()); layer 146 cc/layers/solid_color_layer_impl_unittest.cc EXPECT_TRUE(layer->contents_opaque()); layer 147 cc/layers/solid_color_layer_impl_unittest.cc layer->SetBackgroundColor(SkColorSetARGBInline(254, 10, 20, 30)); layer 148 cc/layers/solid_color_layer_impl_unittest.cc EXPECT_FALSE(layer->contents_opaque()); layer 152 cc/layers/solid_color_layer_impl_unittest.cc layer->id()); layer 153 cc/layers/solid_color_layer_impl_unittest.cc layer->PushPropertiesTo(layer_impl.get()); layer 54 cc/layers/solid_color_scrollbar_layer.cc void SolidColorScrollbarLayer::PushPropertiesTo(LayerImpl* layer) { layer 55 cc/layers/solid_color_scrollbar_layer.cc Layer::PushPropertiesTo(layer); layer 56 cc/layers/solid_color_scrollbar_layer.cc PushScrollClipPropertiesTo(layer); layer 59 cc/layers/solid_color_scrollbar_layer.cc void SolidColorScrollbarLayer::PushScrollClipPropertiesTo(LayerImpl* layer) { layer 61 cc/layers/solid_color_scrollbar_layer.cc static_cast<SolidColorScrollbarLayerImpl*>(layer); layer 30 cc/layers/solid_color_scrollbar_layer.h virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; layer 31 cc/layers/solid_color_scrollbar_layer.h virtual void PushScrollClipPropertiesTo(LayerImpl* layer) OVERRIDE; layer 57 cc/layers/solid_color_scrollbar_layer_impl.cc void SolidColorScrollbarLayerImpl::PushPropertiesTo(LayerImpl* layer) { layer 58 cc/layers/solid_color_scrollbar_layer_impl.cc ScrollbarLayerImplBase::PushPropertiesTo(layer); layer 27 cc/layers/solid_color_scrollbar_layer_impl.h virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; layer 32 cc/layers/surface_layer.cc void SurfaceLayer::PushPropertiesTo(LayerImpl* layer) { layer 33 cc/layers/surface_layer.cc Layer::PushPropertiesTo(layer); layer 34 cc/layers/surface_layer.cc SurfaceLayerImpl* layer_impl = static_cast<SurfaceLayerImpl*>(layer); layer 25 cc/layers/surface_layer.h virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; layer 31 cc/layers/surface_layer_impl.cc void SurfaceLayerImpl::PushPropertiesTo(LayerImpl* layer) { layer 32 cc/layers/surface_layer_impl.cc LayerImpl::PushPropertiesTo(layer); layer 33 cc/layers/surface_layer_impl.cc SurfaceLayerImpl* layer_impl = static_cast<SurfaceLayerImpl*>(layer); layer 26 cc/layers/surface_layer_impl.h virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; layer 270 cc/layers/texture_layer.cc void TextureLayer::PushPropertiesTo(LayerImpl* layer) { layer 271 cc/layers/texture_layer.cc Layer::PushPropertiesTo(layer); layer 273 cc/layers/texture_layer.cc TextureLayerImpl* texture_layer = static_cast<TextureLayerImpl*>(layer); layer 154 cc/layers/texture_layer.h virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; layer 61 cc/layers/texture_layer_impl.cc void TextureLayerImpl::PushPropertiesTo(LayerImpl* layer) { layer 62 cc/layers/texture_layer_impl.cc LayerImpl::PushPropertiesTo(layer); layer 64 cc/layers/texture_layer_impl.cc TextureLayerImpl* texture_layer = static_cast<TextureLayerImpl*>(layer); layer 29 cc/layers/texture_layer_impl.h virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; layer 381 cc/layers/texture_layer_unittest.cc scoped_refptr<TextureLayer> layer = TextureLayer::Create(NULL); layer 382 cc/layers/texture_layer_unittest.cc layer->SetBounds(layer_bounds); layer 383 cc/layers/texture_layer_unittest.cc layer->draw_properties().visible_content_rect = layer_rect; layer 384 cc/layers/texture_layer_unittest.cc layer->SetBlendBackgroundColor(true); layer 387 cc/layers/texture_layer_unittest.cc EXPECT_FALSE(layer->contents_opaque()); layer 388 cc/layers/texture_layer_unittest.cc EXPECT_EQ(0u, layer->background_color()); layer 390 cc/layers/texture_layer_unittest.cc layer->VisibleContentOpaqueRegion().ToString()); layer 393 cc/layers/texture_layer_unittest.cc layer->SetBackgroundColor(SK_ColorWHITE); layer 395 cc/layers/texture_layer_unittest.cc layer->VisibleContentOpaqueRegion().ToString()); layer 398 cc/layers/texture_layer_unittest.cc layer->SetBackgroundColor(SkColorSetARGB(100, 255, 255, 255)); layer 400 cc/layers/texture_layer_unittest.cc layer->VisibleContentOpaqueRegion().ToString()); layer 1185 cc/layers/texture_layer_unittest.cc bool WillDraw(TextureLayerImpl* layer, DrawMode mode) { layer 1186 cc/layers/texture_layer_unittest.cc bool will_draw = layer->WillDraw( layer 1189 cc/layers/texture_layer_unittest.cc layer->DidDraw(host_impl_.active_tree()->resource_provider()); layer 191 cc/layers/tiled_layer.cc void TiledLayer::PushPropertiesTo(LayerImpl* layer) { layer 192 cc/layers/tiled_layer.cc ContentsScalingLayer::PushPropertiesTo(layer); layer 194 cc/layers/tiled_layer.cc TiledLayerImpl* tiled_layer = static_cast<TiledLayerImpl*>(layer); layer 29 cc/layers/tiled_layer.h virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; layer 122 cc/layers/tiled_layer_impl.cc void TiledLayerImpl::PushPropertiesTo(LayerImpl* layer) { layer 123 cc/layers/tiled_layer_impl.cc LayerImpl::PushPropertiesTo(layer); layer 125 cc/layers/tiled_layer_impl.cc TiledLayerImpl* tiled_layer = static_cast<TiledLayerImpl*>(layer); layer 27 cc/layers/tiled_layer_impl.h virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; layer 29 cc/layers/tiled_layer_impl_unittest.cc scoped_ptr<TiledLayerImpl> layer = layer 34 cc/layers/tiled_layer_impl_unittest.cc layer->SetTilingData(*tiler); layer 35 cc/layers/tiled_layer_impl_unittest.cc layer->set_skips_draw(false); layer 36 cc/layers/tiled_layer_impl_unittest.cc layer->draw_properties().visible_content_rect = layer 38 cc/layers/tiled_layer_impl_unittest.cc layer->draw_properties().opacity = 1; layer 39 cc/layers/tiled_layer_impl_unittest.cc layer->SetBounds(layer_size); layer 40 cc/layers/tiled_layer_impl_unittest.cc layer->SetContentBounds(layer_size); layer 41 cc/layers/tiled_layer_impl_unittest.cc layer->CreateRenderSurface(); layer 42 cc/layers/tiled_layer_impl_unittest.cc layer->draw_properties().render_target = layer.get(); layer 43 cc/layers/tiled_layer_impl_unittest.cc return layer.Pass(); layer 52 cc/layers/tiled_layer_impl_unittest.cc scoped_ptr<TiledLayerImpl> layer = layer 55 cc/layers/tiled_layer_impl_unittest.cc layer->SetDrawsContent(true); layer 58 cc/layers/tiled_layer_impl_unittest.cc for (int i = 0; i < layer->TilingForTesting()->num_tiles_x(); ++i) { layer 59 cc/layers/tiled_layer_impl_unittest.cc for (int j = 0; j < layer->TilingForTesting()->num_tiles_y(); ++j) { layer 61 cc/layers/tiled_layer_impl_unittest.cc layer->TilingForTesting()->tile_bounds(i, j).origin(), layer 63 cc/layers/tiled_layer_impl_unittest.cc layer->PushTileProperties(i, j, resource_id++, opaque_rect, false); layer 67 cc/layers/tiled_layer_impl_unittest.cc return layer.Pass(); layer 76 cc/layers/tiled_layer_impl_unittest.cc scoped_ptr<TiledLayerImpl> layer = layer 78 cc/layers/tiled_layer_impl_unittest.cc layer->draw_properties().visible_content_rect = visible_content_rect; layer 79 cc/layers/tiled_layer_impl_unittest.cc layer->SetBounds(layer_size); layer 83 cc/layers/tiled_layer_impl_unittest.cc layer->AppendQuads(&quad_culler, &data); layer 101 cc/layers/tiled_layer_impl_unittest.cc scoped_ptr<TiledLayerImpl> layer = layer 105 cc/layers/tiled_layer_impl_unittest.cc EXPECT_TRUE(layer->WillDraw(DRAW_MODE_HARDWARE, NULL)); layer 106 cc/layers/tiled_layer_impl_unittest.cc layer->AppendQuads(&quad_culler, &data); layer 107 cc/layers/tiled_layer_impl_unittest.cc layer->DidDraw(NULL); layer 114 cc/layers/tiled_layer_impl_unittest.cc scoped_ptr<TiledLayerImpl> layer = layer 116 cc/layers/tiled_layer_impl_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(); layer 119 cc/layers/tiled_layer_impl_unittest.cc EXPECT_FALSE(layer->WillDraw(DRAW_MODE_HARDWARE, NULL)); layer 124 cc/layers/tiled_layer_impl_unittest.cc scoped_ptr<TiledLayerImpl> layer = layer 128 cc/layers/tiled_layer_impl_unittest.cc layer->draw_properties().visible_content_rect = outside_bounds; layer 132 cc/layers/tiled_layer_impl_unittest.cc EXPECT_TRUE(layer->WillDraw(DRAW_MODE_HARDWARE, NULL)); layer 133 cc/layers/tiled_layer_impl_unittest.cc layer->AppendQuads(&quad_culler, &data); layer 134 cc/layers/tiled_layer_impl_unittest.cc layer->DidDraw(NULL); layer 140 cc/layers/tiled_layer_impl_unittest.cc scoped_ptr<TiledLayerImpl> layer = layer 142 cc/layers/tiled_layer_impl_unittest.cc layer->set_skips_draw(true); layer 146 cc/layers/tiled_layer_impl_unittest.cc layer->AppendQuads(&quad_culler, &data); layer 158 cc/layers/tiled_layer_impl_unittest.cc scoped_ptr<TiledLayerImpl> layer = layer 165 cc/layers/tiled_layer_impl_unittest.cc layer->AppendQuads(&quad_culler, &data); layer 175 cc/layers/tiled_layer_impl_unittest.cc layer->PushTileProperties(i, j, 0, gfx::Rect(), false); layer 181 cc/layers/tiled_layer_impl_unittest.cc layer->AppendQuads(&quad_culler, &data); layer 286 cc/layers/tiled_layer_impl_unittest.cc scoped_ptr<TiledLayerImpl> layer = CreateLayerNoTiles( layer 289 cc/layers/tiled_layer_impl_unittest.cc EXPECT_EQ(layer->GPUMemoryUsageInBytes(), 0u); layer 292 cc/layers/tiled_layer_impl_unittest.cc layer->PushTileProperties(0, 1, resource_id++, gfx::Rect(0, 0, 1, 1), false); layer 293 cc/layers/tiled_layer_impl_unittest.cc layer->PushTileProperties(2, 3, resource_id++, gfx::Rect(0, 0, 1, 1), false); layer 294 cc/layers/tiled_layer_impl_unittest.cc layer->PushTileProperties(2, 0, resource_id++, gfx::Rect(0, 0, 1, 1), false); layer 297 cc/layers/tiled_layer_impl_unittest.cc layer->GPUMemoryUsageInBytes(), layer 301 cc/layers/tiled_layer_impl_unittest.cc layer->PushTileProperties(0, 1, empty_resource, gfx::Rect(0, 0, 1, 1), false); layer 302 cc/layers/tiled_layer_impl_unittest.cc layer->PushTileProperties(2, 3, empty_resource, gfx::Rect(0, 0, 1, 1), false); layer 303 cc/layers/tiled_layer_impl_unittest.cc layer->PushTileProperties(2, 0, empty_resource, gfx::Rect(0, 0, 1, 1), false); layer 305 cc/layers/tiled_layer_impl_unittest.cc EXPECT_EQ(layer->GPUMemoryUsageInBytes(), 0u); layer 311 cc/layers/tiled_layer_impl_unittest.cc scoped_ptr<TiledLayerImpl> layer = layer 314 cc/layers/tiled_layer_impl_unittest.cc EXPECT_EQ(0u, layer->ContentsResourceId()); layer 315 cc/layers/tiled_layer_impl_unittest.cc EXPECT_EQ(0, layer->TilingForTesting()->num_tiles_x()); layer 316 cc/layers/tiled_layer_impl_unittest.cc EXPECT_EQ(0, layer->TilingForTesting()->num_tiles_y()); layer 167 cc/layers/tiled_layer_unittest.cc void LayerPushPropertiesTo(FakeTiledLayer* layer, layer 171 cc/layers/tiled_layer_unittest.cc layer->PushPropertiesTo(layer_impl); layer 172 cc/layers/tiled_layer_unittest.cc layer->ResetNumDependentsNeedPushProperties(); layer 175 cc/layers/tiled_layer_unittest.cc void LayerUpdate(FakeTiledLayer* layer, TestOcclusionTracker* occluded) { layer 177 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), occluded); layer 260 cc/layers/tiled_layer_unittest.cc scoped_refptr<FakeTiledLayer> layer = layer 266 cc/layers/tiled_layer_unittest.cc layer_tree_host_->root_layer()->AddChild(layer); layer 269 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(100, 200)); layer 271 cc/layers/tiled_layer_unittest.cc UpdateAndPush(layer, layer_impl); layer 278 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 100, 200)); layer 279 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 100); layer 280 cc/layers/tiled_layer_unittest.cc UpdateAndPush(layer, layer_impl); layer 289 cc/layers/tiled_layer_unittest.cc scoped_refptr<FakeTiledLayer> layer = layer 297 cc/layers/tiled_layer_unittest.cc layer_tree_host_->root_layer()->AddChild(layer); layer 303 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(100, 200)); layer 305 cc/layers/tiled_layer_unittest.cc UpdateAndPush(layer, layer_impl); layer 316 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 50, 50)); layer 320 cc/layers/tiled_layer_unittest.cc UpdateAndPush(layer, layer_impl); layer 330 cc/layers/tiled_layer_unittest.cc scoped_refptr<FakeTiledLayer> layer = layer 336 cc/layers/tiled_layer_unittest.cc layer_tree_host_->root_layer()->AddChild(layer); layer 339 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(100, 200)); layer 341 cc/layers/tiled_layer_unittest.cc UpdateAndPush(layer, layer_impl); layer 353 cc/layers/tiled_layer_unittest.cc LayerPushPropertiesTo(layer.get(), layer_impl.get()); layer 360 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 100); layer 361 cc/layers/tiled_layer_unittest.cc UpdateAndPush(layer, layer_impl); layer 369 cc/layers/tiled_layer_unittest.cc scoped_refptr<FakeTiledLayer> layer = layer 375 cc/layers/tiled_layer_unittest.cc layer_tree_host_->root_layer()->AddChild(layer); layer 379 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(500, 500)); layer 381 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(200, 200, 100, 100); layer 382 cc/layers/tiled_layer_unittest.cc bool needs_update = UpdateAndPush(layer, layer_impl); layer 391 cc/layers/tiled_layer_unittest.cc needs_update = UpdateAndPush(layer, layer_impl); layer 397 cc/layers/tiled_layer_unittest.cc needs_update = UpdateAndPush(layer, layer_impl); layer 409 cc/layers/tiled_layer_unittest.cc scoped_refptr<FakeTiledLayer> layer = layer 414 cc/layers/tiled_layer_unittest.cc layer_tree_host_->root_layer()->AddChild(layer); layer 445 cc/layers/tiled_layer_unittest.cc layer->SetBounds(bounds); layer 449 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = previous_visible_rect; layer 450 cc/layers/tiled_layer_unittest.cc bool needs_update = UpdateAndPush(layer, layer_impl); layer 454 cc/layers/tiled_layer_unittest.cc layer->SetNeedsDisplay(); layer 455 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = visible_rect; layer 456 cc/layers/tiled_layer_unittest.cc needs_update = UpdateAndPush(layer, layer_impl); layer 468 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = next_visible_rect; layer 469 cc/layers/tiled_layer_unittest.cc needs_update = UpdateAndPush(layer, layer_impl); layer 479 cc/layers/tiled_layer_unittest.cc needs_update = UpdateAndPush(layer, layer_impl); layer 549 cc/layers/tiled_layer_unittest.cc scoped_refptr<FakeTiledLayer> layer = layer 557 cc/layers/tiled_layer_unittest.cc layer_tree_host_->root_layer()->AddChild(layer); layer 563 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(100, 100)); layer 565 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 100); layer 566 cc/layers/tiled_layer_unittest.cc UpdateAndPush(layer, layer_impl); layer 572 cc/layers/tiled_layer_unittest.cc scoped_refptr<FakeTiledLayer> layer = layer 578 cc/layers/tiled_layer_unittest.cc layer_tree_host_->root_layer()->AddChild(layer); layer 583 cc/layers/tiled_layer_unittest.cc layer->fake_layer_updater()->SetRectToInvalidate( layer 584 cc/layers/tiled_layer_unittest.cc gfx::Rect(0, 50, 100, 50), layer.get()); layer 585 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(100, 200)); layer 587 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 200); layer 588 cc/layers/tiled_layer_unittest.cc UpdateAndPush(layer, layer_impl); layer 676 cc/layers/tiled_layer_unittest.cc scoped_refptr<FakeTiledLayer> layer = layer 682 cc/layers/tiled_layer_unittest.cc layer_tree_host_->root_layer()->AddChild(layer); layer 685 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(layer_width, layer_height)); layer 690 cc/layers/tiled_layer_unittest.cc layer->draw_properties().target_space_transform_is_animating = true; layer 691 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = visible_rect; layer 692 cc/layers/tiled_layer_unittest.cc layer->SetLayerTreeHost(layer_tree_host_.get()); layer 696 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 698 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 699 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), NULL); layer 701 cc/layers/tiled_layer_unittest.cc LayerPushPropertiesTo(layer.get(), layer_impl.get()); layer 718 cc/layers/tiled_layer_unittest.cc layer->RemoveFromParent(); layer 723 cc/layers/tiled_layer_unittest.cc scoped_refptr<FakeTiledLayer> layer = layer 729 cc/layers/tiled_layer_unittest.cc layer_tree_host_->root_layer()->AddChild(layer); layer 738 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(300, 300)); layer 740 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(100, 100, 100, 100); layer 742 cc/layers/tiled_layer_unittest.cc needs_update = UpdateAndPush(layer, layer_impl); layer 752 cc/layers/tiled_layer_unittest.cc scoped_refptr<FakeTiledLayer> layer = layer 757 cc/layers/tiled_layer_unittest.cc layer_tree_host_->root_layer()->AddChild(layer); layer 762 cc/layers/tiled_layer_unittest.cc layer->draw_properties().target_space_transform_is_animating = animating[i]; layer 766 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size()); layer 770 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(); layer 771 cc/layers/tiled_layer_unittest.cc bool needs_update = UpdateAndPush(layer, layer_impl); layer 774 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(0u, layer->NumPaintedTiles()); layer 785 cc/layers/tiled_layer_unittest.cc scoped_refptr<FakeTiledLayer> layer = layer 802 cc/layers/tiled_layer_unittest.cc layer_tree_host_->root_layer()->AddChild(layer); layer 805 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(100, 100)); layer 809 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = visible_rect[i]; layer 812 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 100, 100)); layer 813 cc/layers/tiled_layer_unittest.cc bool needs_update = UpdateAndPush(layer, layer_impl); layer 823 cc/layers/tiled_layer_unittest.cc scoped_refptr<FakeTiledLayer> layer = layer 829 cc/layers/tiled_layer_unittest.cc layer_tree_host_->root_layer()->AddChild(layer); layer 832 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(100, 200)); layer 834 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 200); layer 835 cc/layers/tiled_layer_unittest.cc UpdateAndPush(layer, layer_impl); layer 841 cc/layers/tiled_layer_unittest.cc layer->fake_layer_updater()->ClearPrepareCount(); layer 844 cc/layers/tiled_layer_unittest.cc UpdateAndPush(layer, layer_impl); layer 845 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(0, layer->fake_layer_updater()->prepare_count()); layer 849 cc/layers/tiled_layer_unittest.cc layer->fake_layer_updater()->SetRectToInvalidate( layer 850 cc/layers/tiled_layer_unittest.cc gfx::Rect(25, 25, 50, 50), layer.get()); layer 851 cc/layers/tiled_layer_unittest.cc layer->fake_layer_updater()->ClearPrepareCount(); layer 852 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 50, 50)); layer 853 cc/layers/tiled_layer_unittest.cc UpdateAndPush(layer, layer_impl); layer 854 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(1, layer->fake_layer_updater()->prepare_count()); layer 855 cc/layers/tiled_layer_unittest.cc layer->fake_layer_updater()->ClearPrepareCount(); layer 858 cc/layers/tiled_layer_unittest.cc UpdateAndPush(layer, layer_impl); // visible layer 859 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(1, layer->fake_layer_updater()->prepare_count()); layer 865 cc/layers/tiled_layer_unittest.cc scoped_refptr<FakeTiledLayerWithScaledBounds> layer = make_scoped_refptr( layer 868 cc/layers/tiled_layer_unittest.cc layer_tree_host_->root_layer()->AddChild(layer); layer 873 cc/layers/tiled_layer_unittest.cc layer->SetBounds(layer_bounds.size()); layer 874 cc/layers/tiled_layer_unittest.cc layer->SetContentBounds(content_bounds.size()); layer 875 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = content_bounds; layer 880 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(content_bounds); layer 882 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 884 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 885 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), NULL); layer 886 cc/layers/tiled_layer_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(0, 0, 300, 300 * 0.8), layer->update_rect()); layer 891 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 893 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(content_bounds); layer 894 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 895 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), NULL); layer 896 cc/layers/tiled_layer_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(layer_bounds), layer->update_rect()); layer 902 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(partial_damage); layer 903 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 905 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 906 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), NULL); layer 907 cc/layers/tiled_layer_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(45, 80, 15, 8), layer->update_rect()); layer 911 cc/layers/tiled_layer_unittest.cc scoped_refptr<FakeTiledLayer> layer = layer 917 cc/layers/tiled_layer_unittest.cc layer_tree_host_->root_layer()->AddChild(layer); layer 920 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(100, 100)); layer 922 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 100); layer 923 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), NULL); layer 926 cc/layers/tiled_layer_unittest.cc layer->last_needs_display_rect()); layer 929 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 931 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 932 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), NULL); layer 934 cc/layers/tiled_layer_unittest.cc LayerPushPropertiesTo(layer.get(), layer_impl.get()); layer 940 cc/layers/tiled_layer_unittest.cc layer->SetNeedsDisplayRect(gfx::Rect()); layer 941 cc/layers/tiled_layer_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(), layer->last_needs_display_rect()); layer 944 cc/layers/tiled_layer_unittest.cc layer->UpdateContentsScale(2.f); layer 945 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 200, 200); layer 948 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 950 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 951 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), NULL); layer 953 cc/layers/tiled_layer_unittest.cc LayerPushPropertiesTo(layer.get(), layer_impl.get()); layer 962 cc/layers/tiled_layer_unittest.cc layer->last_needs_display_rect()); layer 966 cc/layers/tiled_layer_unittest.cc layer->SetNeedsDisplay(); layer 967 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 970 cc/layers/tiled_layer_unittest.cc LayerPushPropertiesTo(layer.get(), layer_impl.get()); layer 1025 cc/layers/tiled_layer_unittest.cc scoped_refptr<FakeTiledLayer> layer = layer 1028 cc/layers/tiled_layer_unittest.cc layer_tree_host_->root_layer()->AddChild(layer); layer 1030 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(700, 700)); layer 1031 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 700, 700); layer 1032 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 700, 700)); layer 1034 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 1036 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 1037 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), NULL); layer 1039 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(200, 200)); layer 1040 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 200, 200)); layer 1044 cc/layers/tiled_layer_unittest.cc scoped_refptr<FakeTiledLayer> layer = layer 1047 cc/layers/tiled_layer_unittest.cc layer_tree_host_->root_layer()->AddChild(layer); layer 1050 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(size, size)); layer 1051 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 700, 700); layer 1052 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, size, size)); layer 1055 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 1057 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 1058 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), NULL); layer 1071 cc/layers/tiled_layer_unittest.cc scoped_refptr<FakeTiledLayer> layer = make_scoped_refptr( layer 1073 cc/layers/tiled_layer_unittest.cc layer->SetBounds(content_bounds); layer 1074 cc/layers/tiled_layer_unittest.cc layer->SetPosition(gfx::PointF(0, 0)); layer 1075 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = content_rect; layer 1076 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(content_rect); layer 1078 cc/layers/tiled_layer_unittest.cc layer_tree_host_->SetRootLayer(layer); layer 1089 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(6, layer->fake_layer_updater()->update_count()); layer 1091 cc/layers/tiled_layer_unittest.cc layer->fake_layer_updater()->ClearUpdateCount(); layer 1092 cc/layers/tiled_layer_unittest.cc LayerPushPropertiesTo(layer.get(), layer_impl.get()); layer 1097 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 300, 150)); layer 1105 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(6, layer->fake_layer_updater()->update_count()); layer 1107 cc/layers/tiled_layer_unittest.cc layer->fake_layer_updater()->ClearUpdateCount(); layer 1108 cc/layers/tiled_layer_unittest.cc LayerPushPropertiesTo(layer.get(), layer_impl.get()); layer 1113 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(50, 50, 200, 100)); layer 1121 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(6, layer->fake_layer_updater()->update_count()); layer 1123 cc/layers/tiled_layer_unittest.cc layer->fake_layer_updater()->ClearUpdateCount(); layer 1124 cc/layers/tiled_layer_unittest.cc LayerPushPropertiesTo(layer.get(), layer_impl.get()); layer 1129 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 300, 200)); layer 1133 cc/layers/tiled_layer_unittest.cc LayerPushPropertiesTo(layer.get(), layer_impl.get()); layer 1138 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(50, 50, 200, 100)); layer 1146 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(6, layer->fake_layer_updater()->update_count()); layer 1148 cc/layers/tiled_layer_unittest.cc layer->fake_layer_updater()->ClearUpdateCount(); layer 1149 cc/layers/tiled_layer_unittest.cc LayerPushPropertiesTo(layer.get(), layer_impl.get()); layer 1154 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(50, 50, 100, 100)); layer 1162 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(4, layer->fake_layer_updater()->update_count()); layer 1164 cc/layers/tiled_layer_unittest.cc layer->fake_layer_updater()->ClearUpdateCount(); layer 1165 cc/layers/tiled_layer_unittest.cc LayerPushPropertiesTo(layer.get(), layer_impl.get()); layer 1175 cc/layers/tiled_layer_unittest.cc scoped_refptr<FakeTiledLayer> layer = layer 1179 cc/layers/tiled_layer_unittest.cc layer_tree_host_->root_layer()->AddChild(layer); layer 1182 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(100, 200)); layer 1185 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 1187 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 1188 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), NULL); layer 1189 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(2, layer->fake_layer_updater()->update_count()); layer 1193 cc/layers/tiled_layer_unittest.cc scoped_refptr<FakeTiledLayer> layer = layer 1199 cc/layers/tiled_layer_unittest.cc layer_tree_host_->root_layer()->AddChild(layer); layer 1204 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(600, 600)); layer 1208 cc/layers/tiled_layer_unittest.cc layer->draw_properties().drawable_content_rect = layer 1209 cc/layers/tiled_layer_unittest.cc gfx::Rect(layer->content_bounds()); layer 1210 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = layer 1211 cc/layers/tiled_layer_unittest.cc gfx::Rect(layer->content_bounds()); layer 1212 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 600, 600)); layer 1214 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 1216 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 1217 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), &occluded); layer 1218 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(36 - 3, layer->fake_layer_updater()->update_count()); layer 1220 cc/layers/tiled_layer_unittest.cc layer->fake_layer_updater()->ClearUpdateCount(); layer 1221 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 1225 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 600, 600)); layer 1226 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 1227 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), &occluded); layer 1228 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(36 - 2, layer->fake_layer_updater()->update_count()); layer 1230 cc/layers/tiled_layer_unittest.cc layer->fake_layer_updater()->ClearUpdateCount(); layer 1231 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 1235 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 600, 600)); layer 1236 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 1237 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), &occluded); layer 1238 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(36, layer->fake_layer_updater()->update_count()); layer 1242 cc/layers/tiled_layer_unittest.cc scoped_refptr<FakeTiledLayer> layer = layer 1248 cc/layers/tiled_layer_unittest.cc layer_tree_host_->root_layer()->AddChild(layer); layer 1253 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(600, 600)); layer 1259 cc/layers/tiled_layer_unittest.cc layer->draw_properties().drawable_content_rect = gfx::Rect(0, 0, 600, 360); layer 1260 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 600, 360); layer 1261 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 600, 600)); layer 1263 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 1265 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 1266 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), &occluded); layer 1267 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(24 - 3, layer->fake_layer_updater()->update_count()); layer 1269 cc/layers/tiled_layer_unittest.cc layer->fake_layer_updater()->ClearUpdateCount(); layer 1274 cc/layers/tiled_layer_unittest.cc layer->draw_properties().drawable_content_rect = gfx::Rect(0, 0, 600, 350); layer 1275 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 600, 350); layer 1276 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 600, 600)); layer 1277 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 1279 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 1280 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), &occluded); layer 1281 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(24 - 6, layer->fake_layer_updater()->update_count()); layer 1283 cc/layers/tiled_layer_unittest.cc layer->fake_layer_updater()->ClearUpdateCount(); layer 1288 cc/layers/tiled_layer_unittest.cc layer->draw_properties().drawable_content_rect = gfx::Rect(0, 0, 600, 340); layer 1289 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 600, 340); layer 1290 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 600, 600)); layer 1291 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 1293 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 1294 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), &occluded); layer 1295 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(24 - 6, layer->fake_layer_updater()->update_count()); layer 1299 cc/layers/tiled_layer_unittest.cc scoped_refptr<FakeTiledLayer> layer = layer 1305 cc/layers/tiled_layer_unittest.cc layer_tree_host_->root_layer()->AddChild(layer); layer 1310 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(600, 600)); layer 1314 cc/layers/tiled_layer_unittest.cc layer->draw_properties().drawable_content_rect = gfx::Rect(0, 0, 600, 600); layer 1315 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 600, 600); layer 1316 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 600, 600)); layer 1317 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 1319 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 1320 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), &occluded); layer 1321 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(36 - 3, layer->fake_layer_updater()->update_count()); layer 1324 cc/layers/tiled_layer_unittest.cc layer->fake_layer_updater()->ClearUpdateCount(); layer 1325 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 1327 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 1331 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), &occluded); layer 1332 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(3, layer->fake_layer_updater()->update_count()); layer 1336 cc/layers/tiled_layer_unittest.cc scoped_refptr<FakeTiledLayer> layer = layer 1342 cc/layers/tiled_layer_unittest.cc layer_tree_host_->root_layer()->AddChild(layer); layer 1349 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(600, 600)); layer 1353 cc/layers/tiled_layer_unittest.cc layer->draw_properties().screen_space_transform = screen_transform; layer 1354 cc/layers/tiled_layer_unittest.cc layer->draw_properties().target_space_transform = screen_transform; layer 1357 cc/layers/tiled_layer_unittest.cc layer->draw_properties().drawable_content_rect = layer 1358 cc/layers/tiled_layer_unittest.cc gfx::Rect(layer->content_bounds()); layer 1359 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = layer 1360 cc/layers/tiled_layer_unittest.cc gfx::Rect(layer->content_bounds()); layer 1361 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 600, 600)); layer 1362 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 1364 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 1365 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), &occluded); layer 1366 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(36 - 3, layer->fake_layer_updater()->update_count()); layer 1370 cc/layers/tiled_layer_unittest.cc scoped_refptr<FakeTiledLayer> layer = layer 1389 cc/layers/tiled_layer_unittest.cc layer->SetAnchorPoint(gfx::PointF()); layer 1390 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(300, 300)); layer 1391 cc/layers/tiled_layer_unittest.cc scale_layer->AddChild(layer); layer 1393 cc/layers/tiled_layer_unittest.cc EXPECT_FLOAT_EQ(2.f, layer->contents_scale_x()); layer 1394 cc/layers/tiled_layer_unittest.cc EXPECT_FLOAT_EQ(2.f, layer->contents_scale_y()); layer 1396 cc/layers/tiled_layer_unittest.cc layer->content_bounds().ToString()); layer 1400 cc/layers/tiled_layer_unittest.cc layer->draw_properties().drawable_content_rect = layer 1401 cc/layers/tiled_layer_unittest.cc gfx::Rect(layer->bounds()); layer 1402 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = layer 1403 cc/layers/tiled_layer_unittest.cc gfx::Rect(layer->content_bounds()); layer 1404 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 600, 600)); layer 1405 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 1407 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 1408 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), &occluded); layer 1410 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(visible_tiles1, layer->fake_layer_updater()->update_count()); layer 1412 cc/layers/tiled_layer_unittest.cc layer->fake_layer_updater()->ClearUpdateCount(); layer 1416 cc/layers/tiled_layer_unittest.cc layer->draw_properties().drawable_content_rect = layer 1417 cc/layers/tiled_layer_unittest.cc gfx::Rect(layer->bounds()); layer 1418 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = layer 1419 cc/layers/tiled_layer_unittest.cc gfx::Rect(layer->content_bounds()); layer 1420 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 600, 600)); layer 1421 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 1423 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 1424 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), &occluded); layer 1426 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(visible_tiles2, layer->fake_layer_updater()->update_count()); layer 1428 cc/layers/tiled_layer_unittest.cc layer->fake_layer_updater()->ClearUpdateCount(); layer 1435 cc/layers/tiled_layer_unittest.cc layer->draw_properties().screen_space_transform = screen_transform; layer 1436 cc/layers/tiled_layer_unittest.cc layer->draw_properties().target_space_transform = screen_transform; layer 1441 cc/layers/tiled_layer_unittest.cc gfx::Rect layer_bounds_rect(layer->bounds()); layer 1442 cc/layers/tiled_layer_unittest.cc layer->draw_properties().drawable_content_rect = layer 1444 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = layer 1445 cc/layers/tiled_layer_unittest.cc gfx::Rect(layer->content_bounds()); layer 1446 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 600, 600)); layer 1447 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 1449 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 1450 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), &occluded); layer 1452 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(visible_tiles3, layer->fake_layer_updater()->update_count()); layer 1456 cc/layers/tiled_layer_unittest.cc scoped_refptr<FakeTiledLayer> layer = layer 1463 cc/layers/tiled_layer_unittest.cc layer_tree_host_->root_layer()->AddChild(layer); layer 1474 cc/layers/tiled_layer_unittest.cc layer->SetBounds(content_bounds.size()); layer 1476 cc/layers/tiled_layer_unittest.cc layer->draw_properties().drawable_content_rect = visible_bounds; layer 1477 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = visible_bounds; layer 1481 cc/layers/tiled_layer_unittest.cc layer->fake_layer_updater()->SetOpaquePaintRect(gfx::Rect()); layer 1482 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(content_bounds); layer 1483 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 1485 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 1486 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), &occluded); layer 1487 cc/layers/tiled_layer_unittest.cc opaque_contents = layer->VisibleContentOpaqueRegion(); layer 1493 cc/layers/tiled_layer_unittest.cc layer->fake_layer_updater()->SetOpaquePaintRect(opaque_paint_rect); layer 1494 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(content_bounds); layer 1495 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 1497 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 1498 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), &occluded); layer 1500 cc/layers/tiled_layer_unittest.cc opaque_contents = layer->VisibleContentOpaqueRegion(); layer 1505 cc/layers/tiled_layer_unittest.cc layer->fake_layer_updater()->SetOpaquePaintRect(gfx::Rect()); layer 1506 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 1508 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 1509 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), &occluded); layer 1511 cc/layers/tiled_layer_unittest.cc opaque_contents = layer->VisibleContentOpaqueRegion(); layer 1517 cc/layers/tiled_layer_unittest.cc layer->fake_layer_updater()->SetOpaquePaintRect(gfx::Rect()); layer 1518 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 1, 1)); layer 1519 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 1521 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 1522 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), &occluded); layer 1524 cc/layers/tiled_layer_unittest.cc opaque_contents = layer->VisibleContentOpaqueRegion(); layer 1530 cc/layers/tiled_layer_unittest.cc layer->fake_layer_updater()->SetOpaquePaintRect(gfx::Rect()); layer 1531 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(10, 10, 1, 1)); layer 1532 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 1534 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 1535 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), &occluded); layer 1537 cc/layers/tiled_layer_unittest.cc opaque_contents = layer->VisibleContentOpaqueRegion(); layer 1755 cc/layers/tiled_layer_unittest.cc scoped_refptr<UpdateTrackingTiledLayer> layer = layer 1758 cc/layers/tiled_layer_unittest.cc layer_tree_host_->root_layer()->AddChild(layer); layer 1761 cc/layers/tiled_layer_unittest.cc layer->SetPosition(layer_rect.origin()); layer 1762 cc/layers/tiled_layer_unittest.cc layer->SetBounds(layer_rect.size()); layer 1763 cc/layers/tiled_layer_unittest.cc layer->UpdateContentsScale(1.5f); layer 1766 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(content_rect.size(), layer->content_bounds()); layer 1767 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = content_rect; layer 1768 cc/layers/tiled_layer_unittest.cc layer->draw_properties().drawable_content_rect = content_rect; layer 1770 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 1772 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 1775 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), NULL); layer 1776 cc/layers/tiled_layer_unittest.cc layer->tracking_layer_painter()->ResetPaintedRect(); layer 1778 cc/layers/tiled_layer_unittest.cc EXPECT_RECT_EQ(gfx::Rect(), layer->tracking_layer_painter()->PaintedRect()); layer 1783 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(content_rect); layer 1784 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), NULL); layer 1786 cc/layers/tiled_layer_unittest.cc EXPECT_RECT_EQ(layer_rect, layer->tracking_layer_painter()->PaintedRect()); layer 1791 cc/layers/tiled_layer_unittest.cc scoped_refptr<UpdateTrackingTiledLayer> layer = layer 1794 cc/layers/tiled_layer_unittest.cc layer_tree_host_->root_layer()->AddChild(layer); layer 1797 cc/layers/tiled_layer_unittest.cc layer->SetPosition(layer_rect.origin()); layer 1798 cc/layers/tiled_layer_unittest.cc layer->SetBounds(layer_rect.size()); layer 1799 cc/layers/tiled_layer_unittest.cc layer->UpdateContentsScale(1.3f); layer 1801 cc/layers/tiled_layer_unittest.cc gfx::Rect content_rect(layer->content_bounds()); layer 1802 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = content_rect; layer 1803 cc/layers/tiled_layer_unittest.cc layer->draw_properties().drawable_content_rect = content_rect; layer 1805 cc/layers/tiled_layer_unittest.cc layer->SetTexturePriorities(priority_calculator_); layer 1807 cc/layers/tiled_layer_unittest.cc layer->SavePaintProperties(); layer 1810 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), NULL); layer 1811 cc/layers/tiled_layer_unittest.cc layer->tracking_layer_painter()->ResetPaintedRect(); layer 1813 cc/layers/tiled_layer_unittest.cc EXPECT_RECT_EQ(gfx::Rect(), layer->tracking_layer_painter()->PaintedRect()); layer 1818 cc/layers/tiled_layer_unittest.cc layer->SetNeedsDisplayRect(layer_rect); layer 1819 cc/layers/tiled_layer_unittest.cc layer->Update(queue_.get(), NULL); layer 1821 cc/layers/tiled_layer_unittest.cc EXPECT_RECT_EQ(layer_rect, layer->tracking_layer_painter()->PaintedRect()); layer 148 cc/layers/ui_resource_layer.cc void UIResourceLayer::PushPropertiesTo(LayerImpl* layer) { layer 149 cc/layers/ui_resource_layer.cc Layer::PushPropertiesTo(layer); layer 150 cc/layers/ui_resource_layer.cc UIResourceLayerImpl* layer_impl = static_cast<UIResourceLayerImpl*>(layer); layer 25 cc/layers/ui_resource_layer.h virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; layer 35 cc/layers/ui_resource_layer_impl.cc void UIResourceLayerImpl::PushPropertiesTo(LayerImpl* layer) { layer 36 cc/layers/ui_resource_layer_impl.cc LayerImpl::PushPropertiesTo(layer); layer 37 cc/layers/ui_resource_layer_impl.cc UIResourceLayerImpl* layer_impl = static_cast<UIResourceLayerImpl*>(layer); layer 44 cc/layers/ui_resource_layer_impl.h virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; layer 30 cc/layers/ui_resource_layer_impl_unittest.cc scoped_ptr<UIResourceLayerImpl> layer = layer 32 cc/layers/ui_resource_layer_impl_unittest.cc layer->draw_properties().visible_content_rect = visible_content_rect; layer 33 cc/layers/ui_resource_layer_impl_unittest.cc layer->SetBounds(layer_size); layer 34 cc/layers/ui_resource_layer_impl_unittest.cc layer->SetContentBounds(layer_size); layer 35 cc/layers/ui_resource_layer_impl_unittest.cc layer->CreateRenderSurface(); layer 36 cc/layers/ui_resource_layer_impl_unittest.cc layer->draw_properties().render_target = layer.get(); layer 41 cc/layers/ui_resource_layer_impl_unittest.cc layer->SetUIResourceId(uid); layer 43 cc/layers/ui_resource_layer_impl_unittest.cc return layer.Pass(); layer 46 cc/layers/ui_resource_layer_impl_unittest.cc void QuadSizeTest(scoped_ptr<UIResourceLayerImpl> layer, layer 50 cc/layers/ui_resource_layer_impl_unittest.cc layer->AppendQuads(&quad_culler, &data); layer 67 cc/layers/ui_resource_layer_impl_unittest.cc scoped_ptr<UIResourceLayerImpl> layer = GenerateUIResourceLayer(&host_impl, layer 72 cc/layers/ui_resource_layer_impl_unittest.cc QuadSizeTest(layer.Pass(), expected_quad_size); layer 77 cc/layers/ui_resource_layer_impl_unittest.cc layer = GenerateUIResourceLayer(&host_impl, layer 82 cc/layers/ui_resource_layer_impl_unittest.cc QuadSizeTest(layer.Pass(), expected_quad_size); layer 85 cc/layers/ui_resource_layer_impl_unittest.cc void OpaqueBoundsTest(scoped_ptr<UIResourceLayerImpl> layer, layer 89 cc/layers/ui_resource_layer_impl_unittest.cc layer->AppendQuads(&quad_culler, &data); layer 107 cc/layers/ui_resource_layer_impl_unittest.cc scoped_ptr<UIResourceLayerImpl> layer = GenerateUIResourceLayer(&host_impl, layer 113 cc/layers/ui_resource_layer_impl_unittest.cc OpaqueBoundsTest(layer.Pass(), expected_opaque_bounds); layer 116 cc/layers/ui_resource_layer_impl_unittest.cc layer = GenerateUIResourceLayer(&host_impl, layer 121 cc/layers/ui_resource_layer_impl_unittest.cc expected_opaque_bounds = gfx::Rect(layer->bounds()); layer 122 cc/layers/ui_resource_layer_impl_unittest.cc OpaqueBoundsTest(layer.Pass(), expected_opaque_bounds); layer 134 cc/layers/ui_resource_layer_impl_unittest.cc scoped_ptr<UIResourceLayerImpl> layer = GenerateUIResourceLayer( layer 136 cc/layers/ui_resource_layer_impl_unittest.cc layer->SetContentsOpaque(false); layer 138 cc/layers/ui_resource_layer_impl_unittest.cc OpaqueBoundsTest(layer.Pass(), expected_opaque_bounds); layer 140 cc/layers/ui_resource_layer_impl_unittest.cc layer = GenerateUIResourceLayer( layer 142 cc/layers/ui_resource_layer_impl_unittest.cc layer->SetContentsOpaque(true); layer 143 cc/layers/ui_resource_layer_impl_unittest.cc expected_opaque_bounds = gfx::Rect(layer->bounds()); layer 144 cc/layers/ui_resource_layer_impl_unittest.cc OpaqueBoundsTest(layer.Pass(), expected_opaque_bounds); layer 32 cc/layers/video_layer_impl.cc scoped_ptr<VideoLayerImpl> layer(new VideoLayerImpl(tree_impl, id)); layer 33 cc/layers/video_layer_impl.cc layer->SetProviderClientImpl(VideoFrameProviderClientImpl::Create(provider)); layer 36 cc/layers/video_layer_impl.cc return layer.Pass(); layer 61 cc/layers/video_layer_impl.cc void VideoLayerImpl::PushPropertiesTo(LayerImpl* layer) { layer 62 cc/layers/video_layer_impl.cc LayerImpl::PushPropertiesTo(layer); layer 64 cc/layers/video_layer_impl.cc VideoLayerImpl* other = static_cast<VideoLayerImpl*>(layer); layer 33 cc/layers/video_layer_impl.h virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; layer 1293 cc/resources/tile_manager.cc void TileManager::RegisterPictureLayerImpl(PictureLayerImpl* layer) { layer 1294 cc/resources/tile_manager.cc DCHECK(std::find(layers_.begin(), layers_.end(), layer) == layers_.end()); layer 1295 cc/resources/tile_manager.cc layers_.push_back(layer); layer 1298 cc/resources/tile_manager.cc void TileManager::UnregisterPictureLayerImpl(PictureLayerImpl* layer) { layer 1300 cc/resources/tile_manager.cc std::find(layers_.begin(), layers_.end(), layer); layer 1314 cc/resources/tile_manager.cc PictureLayerImpl* layer = *it; layer 1320 cc/resources/tile_manager.cc if (!layer->IsOnActiveOrPendingTree()) layer 1323 cc/resources/tile_manager.cc PictureLayerImpl* twin_layer = layer->GetTwinLayer(); layer 1330 cc/resources/tile_manager.cc WhichTree tree = layer->GetTree(); layer 1337 cc/resources/tile_manager.cc paired_layer.active_layer = layer; layer 1342 cc/resources/tile_manager.cc paired_layer.pending_layer = layer; layer 136 cc/resources/tile_manager.h void RegisterPictureLayerImpl(PictureLayerImpl* layer); layer 137 cc/resources/tile_manager.h void UnregisterPictureLayerImpl(PictureLayerImpl* layer); layer 279 cc/test/animation_test_common.cc int AddOpacityTransitionToLayer(Layer* layer, layer 284 cc/test/animation_test_common.cc return AddOpacityTransition(layer, layer 291 cc/test/animation_test_common.cc int AddOpacityTransitionToLayer(LayerImpl* layer, layer 296 cc/test/animation_test_common.cc return AddOpacityTransition(layer->layer_animation_controller(), layer 303 cc/test/animation_test_common.cc int AddAnimatedTransformToLayer(Layer* layer, layer 307 cc/test/animation_test_common.cc return AddAnimatedTransform(layer, duration, delta_x, delta_y); layer 310 cc/test/animation_test_common.cc int AddAnimatedTransformToLayer(LayerImpl* layer, layer 314 cc/test/animation_test_common.cc return AddAnimatedTransform(layer->layer_animation_controller(), layer 320 cc/test/animation_test_common.cc int AddAnimatedTransformToLayer(LayerImpl* layer, layer 324 cc/test/animation_test_common.cc return AddAnimatedTransform(layer->layer_animation_controller(), layer 330 cc/test/animation_test_common.cc int AddAnimatedFilterToLayer(Layer* layer, layer 334 cc/test/animation_test_common.cc return AddAnimatedFilter(layer, duration, start_brightness, end_brightness); layer 337 cc/test/animation_test_common.cc int AddAnimatedFilterToLayer(LayerImpl* layer, layer 341 cc/test/animation_test_common.cc return AddAnimatedFilter(layer->layer_animation_controller(), layer 137 cc/test/animation_test_common.h int AddOpacityTransitionToLayer(Layer* layer, layer 143 cc/test/animation_test_common.h int AddOpacityTransitionToLayer(LayerImpl* layer, layer 149 cc/test/animation_test_common.h int AddAnimatedTransformToLayer(Layer* layer, layer 154 cc/test/animation_test_common.h int AddAnimatedTransformToLayer(LayerImpl* layer, layer 159 cc/test/animation_test_common.h int AddAnimatedTransformToLayer(LayerImpl* layer, layer 164 cc/test/animation_test_common.h int AddAnimatedFilterToLayer(Layer* layer, layer 169 cc/test/animation_test_common.h int AddAnimatedFilterToLayer(LayerImpl* layer, layer 51 cc/test/fake_content_layer.cc void FakeContentLayer::PushPropertiesTo(LayerImpl* layer) { layer 52 cc/test/fake_content_layer.cc ContentLayer::PushPropertiesTo(layer); layer 37 cc/test/fake_content_layer.h virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; layer 46 cc/test/fake_painted_scrollbar_layer.cc void FakePaintedScrollbarLayer::PushPropertiesTo(LayerImpl* layer) { layer 47 cc/test/fake_painted_scrollbar_layer.cc PaintedScrollbarLayer::PushPropertiesTo(layer); layer 26 cc/test/fake_painted_scrollbar_layer.h virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; layer 35 cc/test/fake_picture_layer.cc void FakePictureLayer::PushPropertiesTo(LayerImpl* layer) { layer 36 cc/test/fake_picture_layer.cc PictureLayer::PushPropertiesTo(layer); layer 36 cc/test/fake_picture_layer.h virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; layer 57 cc/test/layer_test_common.h scoped_ptr<T> layer = T::Create(host_->host_impl()->active_tree(), 2); layer 58 cc/test/layer_test_common.h T* ptr = layer.get(); layer 59 cc/test/layer_test_common.h root_layer_impl_->AddChild(layer.template PassAs<LayerImpl>()); layer 65 cc/test/layer_test_common.h scoped_ptr<T> layer = T::Create(host_->host_impl()->active_tree(), 2, a); layer 66 cc/test/layer_test_common.h T* ptr = layer.get(); layer 67 cc/test/layer_test_common.h root_layer_impl_->AddChild(layer.template PassAs<LayerImpl>()); layer 73 cc/test/layer_test_common.h scoped_ptr<T> layer = layer 75 cc/test/layer_test_common.h T* ptr = layer.get(); layer 76 cc/test/layer_test_common.h root_layer_impl_->AddChild(layer.template PassAs<LayerImpl>()); layer 19 cc/test/layer_tree_json_parser_unittest.cc Layer* const layer) { layer 29 cc/test/layer_tree_json_parser_unittest.cc layer->children().size())); layer 31 cc/test/layer_tree_json_parser_unittest.cc layer->bounds())); layer 33 cc/test/layer_tree_json_parser_unittest.cc layer->position())); layer 36 cc/test/layer_tree_json_parser_unittest.cc layer->draw_transform())); layer 38 cc/test/layer_tree_json_parser_unittest.cc layer->contents_opaque())); layer 40 cc/test/layer_tree_json_parser_unittest.cc layer->scrollable())); layer 42 cc/test/layer_tree_json_parser_unittest.cc layer->opacity())); layer 44 cc/test/layer_tree_json_parser_unittest.cc layer->have_wheel_event_handlers())); layer 47 cc/test/layer_tree_json_parser_unittest.cc layer->have_scroll_event_handlers())); layer 50 cc/test/layer_tree_json_parser_unittest.cc layer->touch_event_handler_region())); layer 55 cc/test/layer_tree_json_parser_unittest.cc layer->children()[i]))); layer 120 cc/test/layer_tree_pixel_test.cc scoped_refptr<SolidColorLayer> layer = SolidColorLayer::Create(); layer 121 cc/test/layer_tree_pixel_test.cc layer->SetIsDrawable(true); layer 122 cc/test/layer_tree_pixel_test.cc layer->SetAnchorPoint(gfx::PointF()); layer 123 cc/test/layer_tree_pixel_test.cc layer->SetBounds(rect.size()); layer 124 cc/test/layer_tree_pixel_test.cc layer->SetPosition(rect.origin()); layer 125 cc/test/layer_tree_pixel_test.cc layer->SetBackgroundColor(color); layer 126 cc/test/layer_tree_pixel_test.cc return layer; layer 152 cc/test/layer_tree_pixel_test.cc scoped_refptr<SolidColorLayer> layer = CreateSolidColorLayer(rect, color); layer 170 cc/test/layer_tree_pixel_test.cc layer->AddChild(border_top); layer 171 cc/test/layer_tree_pixel_test.cc layer->AddChild(border_left); layer 172 cc/test/layer_tree_pixel_test.cc layer->AddChild(border_right); layer 173 cc/test/layer_tree_pixel_test.cc layer->AddChild(border_bottom); layer 174 cc/test/layer_tree_pixel_test.cc return layer; layer 179 cc/test/layer_tree_pixel_test.cc scoped_refptr<TextureLayer> layer = TextureLayer::CreateForMailbox(NULL); layer 180 cc/test/layer_tree_pixel_test.cc layer->SetIsDrawable(true); layer 181 cc/test/layer_tree_pixel_test.cc layer->SetAnchorPoint(gfx::PointF()); layer 182 cc/test/layer_tree_pixel_test.cc layer->SetBounds(rect.size()); layer 183 cc/test/layer_tree_pixel_test.cc layer->SetPosition(rect.origin()); layer 189 cc/test/layer_tree_pixel_test.cc layer->SetTextureMailbox(texture_mailbox, release_callback.Pass()); layer 191 cc/test/layer_tree_pixel_test.cc texture_layers_.push_back(layer); layer 193 cc/test/layer_tree_pixel_test.cc return layer; layer 9 cc/test/tiled_layer_test_common.cc FakeLayerUpdater::Resource::Resource(FakeLayerUpdater* layer, layer 11 cc/test/tiled_layer_test_common.cc : LayerUpdater::Resource(texture.Pass()), layer_(layer) { layer 52 cc/test/tiled_layer_test_common.cc FakeTiledLayer* layer) { layer 54 cc/test/tiled_layer_test_common.cc layer_ = layer; layer 54 cc/test/tiled_layer_test_common.h void SetRectToInvalidate(const gfx::Rect& rect, FakeTiledLayer* layer); layer 182 cc/trees/damage_tracker.cc LayerImpl* layer = layer_list[layer_index]; layer 187 cc/trees/damage_tracker.cc if (layer == layer->layer_tree_impl()->hud_layer()) layer 191 cc/trees/damage_tracker.cc layer, target_surface_layer_id)) layer 192 cc/trees/damage_tracker.cc ExtendDamageForRenderSurface(layer, &damage_rect); layer 194 cc/trees/damage_tracker.cc ExtendDamageForLayer(layer, &damage_rect); layer 263 cc/trees/damage_tracker.cc void DamageTracker::ExtendDamageForLayer(LayerImpl* layer, layer 284 cc/trees/damage_tracker.cc RectMapData& data = RectDataForLayer(layer->id(), &layer_is_new); layer 288 cc/trees/damage_tracker.cc layer->draw_transform(), layer 289 cc/trees/damage_tracker.cc gfx::RectF(gfx::PointF(), layer->content_bounds())); layer 292 cc/trees/damage_tracker.cc if (layer_is_new || layer->LayerPropertyChanged()) { layer 300 cc/trees/damage_tracker.cc } else if (!layer->update_rect().IsEmpty()) { layer 304 cc/trees/damage_tracker.cc layer->LayerRectToContentRect(layer->update_rect()); layer 306 cc/trees/damage_tracker.cc MathUtil::MapClippedRect(layer->draw_transform(), update_content_rect); layer 312 cc/trees/damage_tracker.cc LayerImpl* layer, gfx::RectF* target_damage_rect) { layer 328 cc/trees/damage_tracker.cc RenderSurfaceImpl* render_surface = layer->render_surface(); layer 331 cc/trees/damage_tracker.cc RectMapData& data = RectDataForLayer(layer->id(), &surface_is_new); layer 360 cc/trees/damage_tracker.cc if (layer->replica_layer()) { layer 370 cc/trees/damage_tracker.cc if (layer->replica_layer() && layer->replica_layer()->mask_layer()) { layer 371 cc/trees/damage_tracker.cc LayerImpl* replica_mask_layer = layer->replica_layer()->mask_layer(); layer 398 cc/trees/damage_tracker.cc if (layer->background_filters().HasFilterThatMovesPixels()) { layer 401 cc/trees/damage_tracker.cc layer->background_filters()); layer 60 cc/trees/damage_tracker.h void ExtendDamageForLayer(LayerImpl* layer, gfx::RectF* target_damage_rect); layer 61 cc/trees/damage_tracker.h void ExtendDamageForRenderSurface(LayerImpl* layer, layer 37 cc/trees/damage_tracker_unittest.cc void ClearDamageForAllSurfaces(LayerImpl* layer) { layer 38 cc/trees/damage_tracker_unittest.cc if (layer->render_surface()) layer 39 cc/trees/damage_tracker_unittest.cc layer->render_surface()->damage_tracker()->DidDrawDamagedArea(); layer 42 cc/trees/damage_tracker_unittest.cc for (size_t i = 0; i < layer->children().size(); ++i) layer 43 cc/trees/damage_tracker_unittest.cc ClearDamageForAllSurfaces(layer->children()[i]); layer 64 cc/trees/layer_sorter.cc : layer(layer_impl), layer 272 cc/trees/layer_sorter.cc RenderSurfaceImpl* render_surface = node.layer->render_surface(); layer 273 cc/trees/layer_sorter.cc if (!node.layer->DrawsContent() && !render_surface) layer 276 cc/trees/layer_sorter.cc DVLOG(2) << "Layer " << node.layer->id() << layer 277 cc/trees/layer_sorter.cc " (" << node.layer->bounds().width() << layer 278 cc/trees/layer_sorter.cc " x " << node.layer->bounds().height() << ")"; layer 287 cc/trees/layer_sorter.cc draw_transform = node.layer->draw_transform(); layer 288 cc/trees/layer_sorter.cc layer_width = node.layer->content_bounds().width(); layer 289 cc/trees/layer_sorter.cc layer_height = node.layer->content_bounds().height(); layer 310 cc/trees/layer_sorter.cc if (!node_a.layer->DrawsContent() && !node_a.layer->render_surface()) layer 314 cc/trees/layer_sorter.cc if (!node_b.layer->DrawsContent() && !node_b.layer->render_surface()) layer 332 cc/trees/layer_sorter.cc DVLOG(2) << start_node->layer->id() << " -> " << end_node->layer->id(); layer 407 cc/trees/layer_sorter.cc DVLOG(2) << from_node->layer->id() << ", "; layer 452 cc/trees/layer_sorter.cc next_node->layer->id() << layer 461 cc/trees/layer_sorter.cc *it = sorted_list[count++]->layer; layer 57 cc/trees/layer_sorter.h LayerImpl* layer; layer 180 cc/trees/layer_tree_host.cc static void LayerTreeHostOnOutputSurfaceCreatedCallback(Layer* layer) { layer 181 cc/trees/layer_tree_host.cc layer->OnOutputSurfaceCreated(); layer 743 cc/trees/layer_tree_host.cc static Layer* FindFirstScrollableLayer(Layer* layer) { layer 744 cc/trees/layer_tree_host.cc if (!layer) layer 747 cc/trees/layer_tree_host.cc if (layer->scrollable()) layer 748 cc/trees/layer_tree_host.cc return layer; layer 750 cc/trees/layer_tree_host.cc for (size_t i = 0; i < layer->children().size(); ++i) { layer 751 cc/trees/layer_tree_host.cc Layer* found = FindFirstScrollableLayer(layer->children()[i].get()); layer 759 cc/trees/layer_tree_host.cc void LayerTreeHost::CalculateLCDTextMetricsCallback(Layer* layer) { layer 760 cc/trees/layer_tree_host.cc if (!layer->SupportsLCDText()) layer 764 cc/trees/layer_tree_host.cc if (layer->draw_properties().can_use_lcd_text) { layer 766 cc/trees/layer_tree_host.cc if (layer->contents_opaque()) layer 860 cc/trees/layer_tree_host.cc static void LayerTreeHostReduceMemoryCallback(Layer* layer) { layer 861 cc/trees/layer_tree_host.cc layer->ReduceMemoryUsage(); layer 1022 cc/trees/layer_tree_host.cc Layer* layer = layer 1025 cc/trees/layer_tree_host.cc if (!layer) layer 1027 cc/trees/layer_tree_host.cc if (layer == outer_viewport_scroll_layer_.get()) { layer 1029 cc/trees/layer_tree_host.cc } else if (layer == inner_viewport_scroll_layer_.get()) { layer 1032 cc/trees/layer_tree_host.cc layer->SetScrollOffsetFromImplSide(layer->scroll_offset() + layer 364 cc/trees/layer_tree_host.h void CalculateLCDTextMetricsCallback(Layer* layer); layer 44 cc/trees/layer_tree_host_common.cc static gfx::Vector2dF GetEffectiveScrollDelta(LayerType* layer) { layer 45 cc/trees/layer_tree_host_common.cc gfx::Vector2dF scroll_delta = layer->ScrollDelta(); layer 50 cc/trees/layer_tree_host_common.cc if (layer->scroll_parent()) layer 51 cc/trees/layer_tree_host_common.cc scroll_delta += layer->scroll_parent()->ScrollDelta(); layer 56 cc/trees/layer_tree_host_common.cc static gfx::Vector2dF GetEffectiveTotalScrollOffset(LayerType* layer) { layer 57 cc/trees/layer_tree_host_common.cc gfx::Vector2dF offset = layer->TotalScrollOffset(); layer 61 cc/trees/layer_tree_host_common.cc if (layer->scroll_parent()) layer 62 cc/trees/layer_tree_host_common.cc offset += layer->scroll_parent()->ScrollDelta(); layer 117 cc/trees/layer_tree_host_common.cc static LayerType* NextTargetSurface(LayerType* layer) { layer 118 cc/trees/layer_tree_host_common.cc return layer->parent() ? layer->parent()->render_target() : 0; layer 171 cc/trees/layer_tree_host_common.cc const LayerType* layer, layer 177 cc/trees/layer_tree_host_common.cc const LayerType* clip_parent = layer->scroll_parent(); layer 180 cc/trees/layer_tree_host_common.cc clip_parent = layer->clip_parent(); layer 182 cc/trees/layer_tree_host_common.cc if (!clip_parent || clip_parent == layer->parent()) layer 186 cc/trees/layer_tree_host_common.cc DCHECK(layer->parent()); layer 198 cc/trees/layer_tree_host_common.cc if (clip_parent == layer->clip_parent()) { layer 201 cc/trees/layer_tree_host_common.cc *layer->parent(), layer 210 cc/trees/layer_tree_host_common.cc TranslateRectToTargetSpace<LayerType>(*layer->parent(), layer 242 cc/trees/layer_tree_host_common.cc LayerType* layer, layer 246 cc/trees/layer_tree_host_common.cc if (IsRootLayer(layer)) layer 256 cc/trees/layer_tree_host_common.cc LayerType* render_target = layer->clip_parent() layer 257 cc/trees/layer_tree_host_common.cc ? layer->clip_parent()->render_target() layer 258 cc/trees/layer_tree_host_common.cc : layer->parent()->render_target(); layer 264 cc/trees/layer_tree_host_common.cc if (layer->render_surface()) { layer 266 cc/trees/layer_tree_host_common.cc gfx::ToEnclosedRect(layer->render_surface()->DrawableContentRect()); layer 273 cc/trees/layer_tree_host_common.cc if (layer->clip_parent()) { layer 275 cc/trees/layer_tree_host_common.cc *layer->clip_parent(), layer 276 cc/trees/layer_tree_host_common.cc *layer, layer 325 cc/trees/layer_tree_host_common.cc template <typename LayerType> static inline bool IsRootLayer(LayerType* layer) { layer 326 cc/trees/layer_tree_host_common.cc return !layer->parent(); layer 330 cc/trees/layer_tree_host_common.cc static inline bool LayerIsInExisting3DRenderingContext(LayerType* layer) { layer 331 cc/trees/layer_tree_host_common.cc return layer->is_3d_sorted() && layer->parent() && layer 332 cc/trees/layer_tree_host_common.cc layer->parent()->is_3d_sorted(); layer 336 cc/trees/layer_tree_host_common.cc static bool IsRootLayerOfNewRenderingContext(LayerType* layer) { layer 337 cc/trees/layer_tree_host_common.cc if (layer->parent()) layer 338 cc/trees/layer_tree_host_common.cc return !layer->parent()->is_3d_sorted() && layer->is_3d_sorted(); layer 340 cc/trees/layer_tree_host_common.cc return layer->is_3d_sorted(); layer 344 cc/trees/layer_tree_host_common.cc static bool IsLayerBackFaceVisible(LayerType* layer) { layer 350 cc/trees/layer_tree_host_common.cc if (LayerIsInExisting3DRenderingContext(layer)) layer 351 cc/trees/layer_tree_host_common.cc return layer->draw_transform().IsBackFaceVisible(); layer 355 cc/trees/layer_tree_host_common.cc return layer->transform().IsBackFaceVisible(); layer 359 cc/trees/layer_tree_host_common.cc static bool IsSurfaceBackFaceVisible(LayerType* layer, layer 361 cc/trees/layer_tree_host_common.cc if (LayerIsInExisting3DRenderingContext(layer)) layer 364 cc/trees/layer_tree_host_common.cc if (IsRootLayerOfNewRenderingContext(layer)) layer 365 cc/trees/layer_tree_host_common.cc return layer->transform().IsBackFaceVisible(); layer 374 cc/trees/layer_tree_host_common.cc static inline bool LayerClipsSubtree(LayerType* layer) { layer 375 cc/trees/layer_tree_host_common.cc return layer->masks_to_bounds() || layer->mask_layer(); layer 380 cc/trees/layer_tree_host_common.cc LayerType* layer, layer 383 cc/trees/layer_tree_host_common.cc DCHECK(layer->render_target()); layer 386 cc/trees/layer_tree_host_common.cc if (!layer->DrawsContent() || layer->content_bounds().IsEmpty() || layer 387 cc/trees/layer_tree_host_common.cc layer->drawable_content_rect().IsEmpty()) layer 392 cc/trees/layer_tree_host_common.cc layer->drawable_content_rect(); layer 394 cc/trees/layer_tree_host_common.cc if (!layer->render_target()->render_surface()->clip_rect().IsEmpty()) { layer 413 cc/trees/layer_tree_host_common.cc gfx::Rect(layer->content_bounds()), layer 415 cc/trees/layer_tree_host_common.cc layer->draw_transform()); layer 418 cc/trees/layer_tree_host_common.cc static inline bool TransformToParentIsKnown(LayerImpl* layer) { return true; } layer 420 cc/trees/layer_tree_host_common.cc static inline bool TransformToParentIsKnown(Layer* layer) { layer 421 cc/trees/layer_tree_host_common.cc return !layer->TransformIsAnimating(); layer 424 cc/trees/layer_tree_host_common.cc static inline bool TransformToScreenIsKnown(LayerImpl* layer) { return true; } layer 426 cc/trees/layer_tree_host_common.cc static inline bool TransformToScreenIsKnown(Layer* layer) { layer 427 cc/trees/layer_tree_host_common.cc return !layer->screen_space_transform_is_animating(); layer 431 cc/trees/layer_tree_host_common.cc static bool LayerShouldBeSkipped(LayerType* layer, bool layer_is_drawn) { layer 452 cc/trees/layer_tree_host_common.cc if (layer->bounds().IsEmpty()) layer 455 cc/trees/layer_tree_host_common.cc LayerType* backface_test_layer = layer; layer 456 cc/trees/layer_tree_host_common.cc if (layer->use_parent_backface_visibility()) { layer 457 cc/trees/layer_tree_host_common.cc DCHECK(layer->parent()); layer 458 cc/trees/layer_tree_host_common.cc DCHECK(!layer->parent()->use_parent_backface_visibility()); layer 459 cc/trees/layer_tree_host_common.cc backface_test_layer = layer->parent(); layer 471 cc/trees/layer_tree_host_common.cc bool can_accept_input = !layer->touch_event_handler_region().IsEmpty() || layer 472 cc/trees/layer_tree_host_common.cc layer->have_wheel_event_handlers(); layer 473 cc/trees/layer_tree_host_common.cc if (!layer->DrawsContent() && !can_accept_input) layer 479 cc/trees/layer_tree_host_common.cc static inline bool SubtreeShouldBeSkipped(LayerImpl* layer, layer 483 cc/trees/layer_tree_host_common.cc if (layer->draw_properties().layer_or_descendant_has_copy_request) layer 493 cc/trees/layer_tree_host_common.cc if (layer->layer_tree_impl()->IsPendingTree() && layer->OpacityIsAnimating()) layer 500 cc/trees/layer_tree_host_common.cc return !layer->opacity(); layer 503 cc/trees/layer_tree_host_common.cc static inline bool SubtreeShouldBeSkipped(Layer* layer, bool layer_is_drawn) { layer 506 cc/trees/layer_tree_host_common.cc if (layer->draw_properties().layer_or_descendant_has_copy_request) layer 520 cc/trees/layer_tree_host_common.cc return !layer->opacity() && !layer->OpacityIsAnimating() && layer 521 cc/trees/layer_tree_host_common.cc !layer->OpacityCanAnimateOnImplThread(); layer 524 cc/trees/layer_tree_host_common.cc static inline void SavePaintPropertiesLayer(LayerImpl* layer) {} layer 526 cc/trees/layer_tree_host_common.cc static inline void SavePaintPropertiesLayer(Layer* layer) { layer 527 cc/trees/layer_tree_host_common.cc layer->SavePaintProperties(); layer 529 cc/trees/layer_tree_host_common.cc if (layer->mask_layer()) layer 530 cc/trees/layer_tree_host_common.cc layer->mask_layer()->SavePaintProperties(); layer 531 cc/trees/layer_tree_host_common.cc if (layer->replica_layer() && layer->replica_layer()->mask_layer()) layer 532 cc/trees/layer_tree_host_common.cc layer->replica_layer()->mask_layer()->SavePaintProperties(); layer 537 cc/trees/layer_tree_host_common.cc LayerType* layer, layer 549 cc/trees/layer_tree_host_common.cc bool is_root = IsRootLayer(layer); layer 552 cc/trees/layer_tree_host_common.cc if (layer->mask_layer()) { layer 558 cc/trees/layer_tree_host_common.cc if (layer->replica_layer()) { layer 564 cc/trees/layer_tree_host_common.cc if (!layer->filters().IsEmpty() || !layer->background_filters().IsEmpty()) { layer 570 cc/trees/layer_tree_host_common.cc layer->draw_properties().num_descendants_that_draw_content; layer 574 cc/trees/layer_tree_host_common.cc if (LayerIsInExisting3DRenderingContext(layer) && layer 575 cc/trees/layer_tree_host_common.cc layer->should_flatten_transform() && layer 589 cc/trees/layer_tree_host_common.cc if (!layer->uses_default_blend_mode()) { layer 601 cc/trees/layer_tree_host_common.cc LayerClipsSubtree(layer) || layer->HasDelegatedContent(); layer 619 cc/trees/layer_tree_host_common.cc (layer->DrawsContent() || num_descendants_that_draw_content > 1); layer 621 cc/trees/layer_tree_host_common.cc if (layer->opacity() != 1.f && layer->should_flatten_transform() && layer 645 cc/trees/layer_tree_host_common.cc if (layer->is_root_for_isolated_group()) { layer 654 cc/trees/layer_tree_host_common.cc if (layer->force_render_surface()) layer 658 cc/trees/layer_tree_host_common.cc if (layer->HasCopyRequest()) layer 668 cc/trees/layer_tree_host_common.cc LayerImpl* layer, layer 685 cc/trees/layer_tree_host_common.cc for (LayerImpl* current_target_surface = NextTargetSurface(layer); layer 733 cc/trees/layer_tree_host_common.cc Layer* layer, layer 738 cc/trees/layer_tree_host_common.cc LayerImpl* layer, layer 742 cc/trees/layer_tree_host_common.cc if (!layer->position_constraint().is_fixed_position()) layer 755 cc/trees/layer_tree_host_common.cc layer->position_constraint().is_fixed_to_right_edge(); layer 757 cc/trees/layer_tree_host_common.cc layer->position_constraint().is_fixed_to_bottom_edge(); layer 767 cc/trees/layer_tree_host_common.cc ComputeSizeDeltaCompensation(layer, container, position_offset)); layer 820 cc/trees/layer_tree_host_common.cc LayerImpl* layer, layer 852 cc/trees/layer_tree_host_common.cc layer->IsContainerForFixedPositionLayers() || layer 853 cc/trees/layer_tree_host_common.cc layer->position_constraint().is_fixed_position(); layer 859 cc/trees/layer_tree_host_common.cc scroll_delta.IsZero() && !layer->render_surface()) layer 876 cc/trees/layer_tree_host_common.cc layer, parent_matrix, scroll_delta); layer 888 cc/trees/layer_tree_host_common.cc if (layer->render_surface() && layer 892 cc/trees/layer_tree_host_common.cc if (!layer->render_surface()->draw_transform().GetInverse( layer 899 cc/trees/layer_tree_host_common.cc layer->render_surface()->draw_transform(); layer 906 cc/trees/layer_tree_host_common.cc static inline void CalculateContentsScale(LayerType* layer, layer 911 cc/trees/layer_tree_host_common.cc layer->CalculateContentsScale(contents_scale, layer 915 cc/trees/layer_tree_host_common.cc &layer->draw_properties().contents_scale_x, layer 916 cc/trees/layer_tree_host_common.cc &layer->draw_properties().contents_scale_y, layer 917 cc/trees/layer_tree_host_common.cc &layer->draw_properties().content_bounds); layer 919 cc/trees/layer_tree_host_common.cc LayerType* mask_layer = layer->mask_layer(); layer 932 cc/trees/layer_tree_host_common.cc layer->replica_layer() ? layer->replica_layer()->mask_layer() : NULL; layer 946 cc/trees/layer_tree_host_common.cc LayerImpl* layer, layer 952 cc/trees/layer_tree_host_common.cc CalculateContentsScale(layer, layer 960 cc/trees/layer_tree_host_common.cc Layer* layer, layer 970 cc/trees/layer_tree_host_common.cc bool need_to_set_raster_scale = layer->raster_scale_is_unknown(); layer 974 cc/trees/layer_tree_host_common.cc if (!need_to_set_raster_scale && layer->raster_scale() != 1.f && layer 975 cc/trees/layer_tree_host_common.cc ideal_raster_scale != layer->raster_scale()) { layer 984 cc/trees/layer_tree_host_common.cc layer->set_raster_scale(ideal_raster_scale); layer 989 cc/trees/layer_tree_host_common.cc if (!layer->raster_scale_is_unknown()) layer 990 cc/trees/layer_tree_host_common.cc raster_scale = layer->raster_scale(); layer 992 cc/trees/layer_tree_host_common.cc gfx::Size old_content_bounds = layer->content_bounds(); layer 993 cc/trees/layer_tree_host_common.cc float old_contents_scale_x = layer->contents_scale_x(); layer 994 cc/trees/layer_tree_host_common.cc float old_contents_scale_y = layer->contents_scale_y(); layer 997 cc/trees/layer_tree_host_common.cc CalculateContentsScale(layer, layer 1003 cc/trees/layer_tree_host_common.cc if (layer->content_bounds() != old_content_bounds || layer 1004 cc/trees/layer_tree_host_common.cc layer->contents_scale_x() != old_contents_scale_x || layer 1005 cc/trees/layer_tree_host_common.cc layer->contents_scale_y() != old_contents_scale_y) layer 1006 cc/trees/layer_tree_host_common.cc layer->SetNeedsPushProperties(); layer 1009 cc/trees/layer_tree_host_common.cc static inline RenderSurface* CreateOrReuseRenderSurface(Layer* layer) { layer 1013 cc/trees/layer_tree_host_common.cc DCHECK(!layer->render_surface()); layer 1014 cc/trees/layer_tree_host_common.cc layer->CreateRenderSurface(); layer 1015 cc/trees/layer_tree_host_common.cc return layer->render_surface(); layer 1018 cc/trees/layer_tree_host_common.cc static inline RenderSurfaceImpl* CreateOrReuseRenderSurface(LayerImpl* layer) { layer 1019 cc/trees/layer_tree_host_common.cc if (!layer->render_surface()) { layer 1020 cc/trees/layer_tree_host_common.cc layer->CreateRenderSurface(); layer 1021 cc/trees/layer_tree_host_common.cc return layer->render_surface(); layer 1024 cc/trees/layer_tree_host_common.cc layer->render_surface()->ClearLayerLists(); layer 1025 cc/trees/layer_tree_host_common.cc return layer->render_surface(); layer 1068 cc/trees/layer_tree_host_common.cc LayerType* layer, layer 1070 cc/trees/layer_tree_host_common.cc bool has_delegated_content = layer->HasDelegatedContent(); layer 1081 cc/trees/layer_tree_host_common.cc layer->draw_properties().sorted_for_recursion = false; layer 1082 cc/trees/layer_tree_host_common.cc layer->draw_properties().has_child_with_a_scroll_parent = false; layer 1084 cc/trees/layer_tree_host_common.cc if (layer->clip_parent()) layer 1087 cc/trees/layer_tree_host_common.cc for (size_t i = 0; i < layer->children().size(); ++i) { layer 1089 cc/trees/layer_tree_host_common.cc LayerTreeHostCommon::get_child_as_raw_ptr(layer->children(), i); layer 1099 cc/trees/layer_tree_host_common.cc layer->draw_properties().has_child_with_a_scroll_parent = true; layer 1103 cc/trees/layer_tree_host_common.cc if (layer->clip_children()) { layer 1104 cc/trees/layer_tree_host_common.cc int num_clip_children = layer->clip_children()->size(); layer 1109 cc/trees/layer_tree_host_common.cc if (layer->HasCopyRequest()) layer 1112 cc/trees/layer_tree_host_common.cc layer->draw_properties().num_descendants_that_draw_content = layer 1114 cc/trees/layer_tree_host_common.cc layer->draw_properties().num_unclipped_descendants = layer 1116 cc/trees/layer_tree_host_common.cc layer->draw_properties().layer_or_descendant_has_copy_request = layer 1178 cc/trees/layer_tree_host_common.cc LayerType* layer) { layer 1179 cc/trees/layer_tree_host_common.cc for (LayerType* ancestor = layer; ancestor; ancestor = ancestor->parent()) { layer 1190 cc/trees/layer_tree_host_common.cc LayerType* layer) { layer 1218 cc/trees/layer_tree_host_common.cc LayerType* child = GetChildContainingLayer(parent, layer); layer 1251 cc/trees/layer_tree_host_common.cc static void GetNewDescendantsStartIndexAndCount(LayerType* layer, layer 1254 cc/trees/layer_tree_host_common.cc *start_index = layer->draw_properties().index_of_first_descendants_addition; layer 1255 cc/trees/layer_tree_host_common.cc *count = layer->draw_properties().num_descendants_added; layer 1259 cc/trees/layer_tree_host_common.cc static void GetNewRenderSurfacesStartIndexAndCount(LayerType* layer, layer 1262 cc/trees/layer_tree_host_common.cc *start_index = layer->draw_properties() layer 1264 cc/trees/layer_tree_host_common.cc *count = layer->draw_properties().num_render_surfaces_added; layer 1298 cc/trees/layer_tree_host_common.cc LayerType* layer, layer 1440 cc/trees/layer_tree_host_common.cc !layer->hide_layer_and_subtree(); layer 1441 cc/trees/layer_tree_host_common.cc const bool layer_is_drawn = layer_is_visible || layer->HasCopyRequest(); layer 1444 cc/trees/layer_tree_host_common.cc if (!IsRootLayer(layer) && SubtreeShouldBeSkipped(layer, layer_is_drawn)) { layer 1445 cc/trees/layer_tree_host_common.cc if (layer->render_surface()) layer 1446 cc/trees/layer_tree_host_common.cc layer->ClearRenderSurface(); layer 1462 cc/trees/layer_tree_host_common.cc layer, &ancestor_clip_rect_in_target_space, &ancestor_clips_subtree); layer 1468 cc/trees/layer_tree_host_common.cc DrawProperties<LayerType>& layer_draw_properties = layer->draw_properties(); layer 1480 cc/trees/layer_tree_host_common.cc float accumulated_draw_opacity = layer->opacity(); layer 1481 cc/trees/layer_tree_host_common.cc bool animating_opacity_to_target = layer->OpacityIsAnimating(); layer 1483 cc/trees/layer_tree_host_common.cc if (layer->parent()) { layer 1484 cc/trees/layer_tree_host_common.cc accumulated_draw_opacity *= layer->parent()->draw_opacity(); layer 1485 cc/trees/layer_tree_host_common.cc animating_opacity_to_target |= layer->parent()->draw_opacity_is_animating(); layer 1487 cc/trees/layer_tree_host_common.cc layer->parent()->screen_space_opacity_is_animating(); layer 1490 cc/trees/layer_tree_host_common.cc bool animating_transform_to_target = layer->TransformIsAnimating(); layer 1492 cc/trees/layer_tree_host_common.cc if (layer->parent()) { layer 1494 cc/trees/layer_tree_host_common.cc layer->parent()->draw_transform_is_animating(); layer 1496 cc/trees/layer_tree_host_common.cc layer->parent()->screen_space_transform_is_animating(); layer 1499 cc/trees/layer_tree_host_common.cc gfx::Size bounds = layer->bounds(); layer 1500 cc/trees/layer_tree_host_common.cc gfx::PointF anchor_point = layer->anchor_point(); layer 1501 cc/trees/layer_tree_host_common.cc gfx::Vector2dF scroll_offset = GetEffectiveTotalScrollOffset(layer); layer 1502 cc/trees/layer_tree_host_common.cc gfx::PointF position = layer->position() - scroll_offset; layer 1505 cc/trees/layer_tree_host_common.cc if (!layer->transform().IsIdentity()) { layer 1510 cc/trees/layer_tree_host_common.cc layer->anchor_point_z()); layer 1512 cc/trees/layer_tree_host_common.cc combined_transform.PreconcatTransform(layer->transform()); layer 1516 cc/trees/layer_tree_host_common.cc -layer->anchor_point_z()); layer 1521 cc/trees/layer_tree_host_common.cc gfx::Vector2dF effective_scroll_delta = GetEffectiveScrollDelta(layer); layer 1522 cc/trees/layer_tree_host_common.cc if (!animating_transform_to_target && layer->scrollable() && layer 1546 cc/trees/layer_tree_host_common.cc ApplyPositionAdjustment(layer, data_from_ancestor.fixed_container, layer 1565 cc/trees/layer_tree_host_common.cc layer, layer 1579 cc/trees/layer_tree_host_common.cc SK_MScalar1 / layer->contents_scale_x(), layer 1580 cc/trees/layer_tree_host_common.cc SK_MScalar1 / layer->contents_scale_y()); layer 1586 cc/trees/layer_tree_host_common.cc if (layer->should_flatten_transform()) layer 1603 cc/trees/layer_tree_host_common.cc gfx::RectF content_rect(layer->content_bounds()); layer 1623 cc/trees/layer_tree_host_common.cc layer, combined_transform.Preserves2dAxisAlignment()); layer 1625 cc/trees/layer_tree_host_common.cc render_to_separate_surface = IsRootLayer(layer); layer 1630 cc/trees/layer_tree_host_common.cc if (!layer->double_sided() && TransformToParentIsKnown(layer) && layer 1631 cc/trees/layer_tree_host_common.cc IsSurfaceBackFaceVisible(layer, combined_transform)) { layer 1632 cc/trees/layer_tree_host_common.cc layer->ClearRenderSurface(); layer 1637 cc/trees/layer_tree_host_common.cc CreateOrReuseRenderSurface(layer); layer 1639 cc/trees/layer_tree_host_common.cc if (IsRootLayer(layer)) { layer 1647 cc/trees/layer_tree_host_common.cc layer->render_surface()->set_contributes_to_drawn_surface(false); layer 1662 cc/trees/layer_tree_host_common.cc Scale(render_surface_sublayer_scale.x() / layer->contents_scale_x(), layer 1663 cc/trees/layer_tree_host_common.cc render_surface_sublayer_scale.y() / layer->contents_scale_y()); layer 1677 cc/trees/layer_tree_host_common.cc layer->render_surface()->set_contributes_to_drawn_surface( layer 1706 cc/trees/layer_tree_host_common.cc if (layer->mask_layer()) { layer 1708 cc/trees/layer_tree_host_common.cc layer->mask_layer()->draw_properties(); layer 1709 cc/trees/layer_tree_host_common.cc mask_layer_draw_properties.render_target = layer; layer 1711 cc/trees/layer_tree_host_common.cc gfx::Rect(layer->content_bounds()); layer 1714 cc/trees/layer_tree_host_common.cc if (layer->replica_layer() && layer->replica_layer()->mask_layer()) { layer 1716 cc/trees/layer_tree_host_common.cc layer->replica_layer()->mask_layer()->draw_properties(); layer 1717 cc/trees/layer_tree_host_common.cc replica_mask_draw_properties.render_target = layer; layer 1719 cc/trees/layer_tree_host_common.cc gfx::Rect(layer->content_bounds()); layer 1729 cc/trees/layer_tree_host_common.cc if (layer->HasCopyRequest() || layer 1730 cc/trees/layer_tree_host_common.cc layer->has_replica() || layer 1731 cc/trees/layer_tree_host_common.cc layer->filters().HasReferenceFilter() || layer 1732 cc/trees/layer_tree_host_common.cc layer->filters().HasFilterThatMovesPixels()) { layer 1778 cc/trees/layer_tree_host_common.cc DCHECK(layer->render_surface()); layer 1779 cc/trees/layer_tree_host_common.cc DCHECK(!layer->parent() || layer->parent()->render_target() == layer 1783 cc/trees/layer_tree_host_common.cc AccumulatedSurfaceState<LayerType>(layer)); layer 1797 cc/trees/layer_tree_host_common.cc render_surface_layer_list->push_back(layer); layer 1799 cc/trees/layer_tree_host_common.cc DCHECK(layer->parent()); layer 1813 cc/trees/layer_tree_host_common.cc layer->ClearRenderSurface(); layer 1830 cc/trees/layer_tree_host_common.cc layer_draw_properties.render_target = layer->parent()->render_target(); layer 1837 cc/trees/layer_tree_host_common.cc MathUtil::MapClippedRect(layer->draw_transform(), content_rect)); layer 1839 cc/trees/layer_tree_host_common.cc if (LayerClipsSubtree(layer)) { layer 1841 cc/trees/layer_tree_host_common.cc if (ancestor_clips_subtree && !layer->render_surface()) { layer 1866 cc/trees/layer_tree_host_common.cc (layer->render_surface() ? layer->render_surface()->layer_list() layer 1873 cc/trees/layer_tree_host_common.cc if (!LayerShouldBeSkipped(layer, layer_is_drawn)) layer 1874 cc/trees/layer_tree_host_common.cc descendants.push_back(layer); layer 1882 cc/trees/layer_tree_host_common.cc if (!layer->children().empty()) { layer 1883 cc/trees/layer_tree_host_common.cc if (layer == globals.page_scale_application_layer) { layer 1891 cc/trees/layer_tree_host_common.cc if (layer->should_flatten_transform()) layer 1896 cc/trees/layer_tree_host_common.cc layer, layer 1901 cc/trees/layer_tree_host_common.cc layer->IsContainerForFixedPositionLayers() ? layer 1902 cc/trees/layer_tree_host_common.cc layer : data_from_ancestor.fixed_container; layer 1917 cc/trees/layer_tree_host_common.cc child_order_changed = SortChildrenForRecursion(&sorted_children, *layer); layer 1919 cc/trees/layer_tree_host_common.cc for (size_t i = 0; i < layer->children().size(); ++i) { layer 1927 cc/trees/layer_tree_host_common.cc : LayerTreeHostCommon::get_child_as_raw_ptr(layer->children(), i); layer 1957 cc/trees/layer_tree_host_common.cc *layer, layer 1963 cc/trees/layer_tree_host_common.cc *layer, layer 1973 cc/trees/layer_tree_host_common.cc if (layer->render_surface()) { layer 1974 cc/trees/layer_tree_host_common.cc DCHECK(accumulated_surface_state->back().render_target == layer); layer 1978 cc/trees/layer_tree_host_common.cc if (layer->render_surface() && !IsRootLayer(layer) && layer 1979 cc/trees/layer_tree_host_common.cc layer->render_surface()->layer_list().empty()) { layer 1980 cc/trees/layer_tree_host_common.cc RemoveSurfaceForEarlyExit(layer, render_surface_layer_list); layer 1991 cc/trees/layer_tree_host_common.cc if (layer->DrawsContent()) { layer 1998 cc/trees/layer_tree_host_common.cc layer, clip_rect_of_target_surface_in_target_space, rect_in_target_space); layer 2002 cc/trees/layer_tree_host_common.cc if (IsRootLayer(layer)) { layer 2004 cc/trees/layer_tree_host_common.cc DCHECK(layer->render_surface()); layer 2005 cc/trees/layer_tree_host_common.cc layer->render_surface()->SetContentRect( layer 2007 cc/trees/layer_tree_host_common.cc } else if (layer->render_surface()) { layer 2009 cc/trees/layer_tree_host_common.cc layer->render_surface(); layer 2016 cc/trees/layer_tree_host_common.cc if (!layer->replica_layer() && TransformToParentIsKnown(layer)) { layer 2037 cc/trees/layer_tree_host_common.cc RemoveSurfaceForEarlyExit(layer, render_surface_layer_list); layer 2046 cc/trees/layer_tree_host_common.cc DCHECK(layer->uses_default_blend_mode() || IsRootLayer(layer) || layer 2047 cc/trees/layer_tree_host_common.cc !layer->parent()->render_target() || layer 2048 cc/trees/layer_tree_host_common.cc IsRootLayer(layer->parent()->render_target()) || layer 2049 cc/trees/layer_tree_host_common.cc layer->parent()->render_target()->is_root_for_isolated_group()); layer 2056 cc/trees/layer_tree_host_common.cc gfx::Transform screen_space_transform = layer->screen_space_transform(); layer 2058 cc/trees/layer_tree_host_common.cc layer->contents_scale_x() / render_surface_sublayer_scale.x(), layer 2059 cc/trees/layer_tree_host_common.cc layer->contents_scale_y() / render_surface_sublayer_scale.y()); layer 2062 cc/trees/layer_tree_host_common.cc if (layer->replica_layer()) { layer 2067 cc/trees/layer_tree_host_common.cc layer->replica_layer()->position().x() + layer 2068 cc/trees/layer_tree_host_common.cc layer->replica_layer()->anchor_point().x() * bounds.width(), layer 2069 cc/trees/layer_tree_host_common.cc layer->replica_layer()->position().y() + layer 2070 cc/trees/layer_tree_host_common.cc layer->replica_layer()->anchor_point().y() * bounds.height()); layer 2072 cc/trees/layer_tree_host_common.cc layer->replica_layer()->transform()); layer 2074 cc/trees/layer_tree_host_common.cc -layer->replica_layer()->anchor_point().x() * bounds.width(), layer 2075 cc/trees/layer_tree_host_common.cc -layer->replica_layer()->anchor_point().y() * bounds.height()); layer 2083 cc/trees/layer_tree_host_common.cc layer->render_surface()->draw_transform() * layer 2090 cc/trees/layer_tree_host_common.cc layer->render_surface()->screen_space_transform() * layer 2097 cc/trees/layer_tree_host_common.cc SavePaintPropertiesLayer(layer); layer 2101 cc/trees/layer_tree_host_common.cc DCHECK(!layer->render_surface() || IsRootLayer(layer)); layer 2109 cc/trees/layer_tree_host_common.cc if (globals.layer_sorter && descendants.size() && layer->is_3d_sorted() && layer 2110 cc/trees/layer_tree_host_common.cc !LayerIsInExisting3DRenderingContext(layer)) { layer 2117 cc/trees/layer_tree_host_common.cc layer, local_drawable_content_rect_of_subtree, accumulated_surface_state); layer 2119 cc/trees/layer_tree_host_common.cc if (layer->HasContributingDelegatedRenderPasses()) { layer 2120 cc/trees/layer_tree_host_common.cc layer->render_target()->render_surface()-> layer 2121 cc/trees/layer_tree_host_common.cc AddContributingDelegatedRenderPassLayer(layer); layer 2299 cc/trees/layer_tree_host_common.cc LayerImpl* layer) { layer 2300 cc/trees/layer_tree_host_common.cc LayerImpl* current_layer = layer; layer 118 cc/trees/layer_tree_host_common.h const base::Callback<void(LayerType* layer)>& function); layer 153 cc/trees/layer_tree_host_common.h LayerType* layer, layer 163 cc/trees/layer_tree_host_common.h return layer->render_surface() && layer->id() != target_surface_layer_id; layer 193 cc/trees/layer_tree_host_common.h const base::Callback<void(LayerType* layer)>& function) { layer 42 cc/trees/layer_tree_host_common_unittest.cc LayerType* layer, layer 49 cc/trees/layer_tree_host_common_unittest.cc layer->SetTransform(transform); layer 50 cc/trees/layer_tree_host_common_unittest.cc layer->SetAnchorPoint(anchor); layer 51 cc/trees/layer_tree_host_common_unittest.cc layer->SetPosition(position); layer 52 cc/trees/layer_tree_host_common_unittest.cc layer->SetBounds(bounds); layer 53 cc/trees/layer_tree_host_common_unittest.cc layer->SetShouldFlattenTransform(flatten_transform); layer 54 cc/trees/layer_tree_host_common_unittest.cc layer->SetIs3dSorted(is_3d_sorted); layer 57 cc/trees/layer_tree_host_common_unittest.cc void SetLayerPropertiesForTesting(Layer* layer, layer 64 cc/trees/layer_tree_host_common_unittest.cc SetLayerPropertiesForTestingInternal<Layer>(layer, layer 73 cc/trees/layer_tree_host_common_unittest.cc void SetLayerPropertiesForTesting(LayerImpl* layer, layer 80 cc/trees/layer_tree_host_common_unittest.cc SetLayerPropertiesForTestingInternal<LayerImpl>(layer, layer 87 cc/trees/layer_tree_host_common_unittest.cc layer->SetContentBounds(bounds); layer 212 cc/trees/layer_tree_host_common_unittest.cc #define EXPECT_CONTENTS_SCALE_EQ(expected, layer) \ layer 214 cc/trees/layer_tree_host_common_unittest.cc EXPECT_FLOAT_EQ(expected, layer->contents_scale_x()); \ layer 215 cc/trees/layer_tree_host_common_unittest.cc EXPECT_FLOAT_EQ(expected, layer->contents_scale_y()); \ layer 269 cc/trees/layer_tree_host_common_unittest.cc scoped_refptr<Layer> layer = Layer::Create(); layer 279 cc/trees/layer_tree_host_common_unittest.cc root->AddChild(layer); layer 288 cc/trees/layer_tree_host_common_unittest.cc SetLayerPropertiesForTesting(layer.get(), layer 296 cc/trees/layer_tree_host_common_unittest.cc EXPECT_TRANSFORMATION_MATRIX_EQ(identity_matrix, layer->draw_transform()); layer 298 cc/trees/layer_tree_host_common_unittest.cc layer->screen_space_transform()); layer 302 cc/trees/layer_tree_host_common_unittest.cc SetLayerPropertiesForTesting(layer.get(), layer 310 cc/trees/layer_tree_host_common_unittest.cc EXPECT_TRANSFORMATION_MATRIX_EQ(identity_matrix, layer->draw_transform()); layer 312 cc/trees/layer_tree_host_common_unittest.cc layer->screen_space_transform()); layer 318 cc/trees/layer_tree_host_common_unittest.cc SetLayerPropertiesForTesting(layer.get(), layer 326 cc/trees/layer_tree_host_common_unittest.cc EXPECT_TRANSFORMATION_MATRIX_EQ(position_transform, layer->draw_transform()); layer 328 cc/trees/layer_tree_host_common_unittest.cc layer->screen_space_transform()); layer 335 cc/trees/layer_tree_host_common_unittest.cc SetLayerPropertiesForTesting(layer.get(), layer 343 cc/trees/layer_tree_host_common_unittest.cc EXPECT_TRANSFORMATION_MATRIX_EQ(layer_transform, layer->draw_transform()); layer 345 cc/trees/layer_tree_host_common_unittest.cc layer->screen_space_transform()); layer 352 cc/trees/layer_tree_host_common_unittest.cc SetLayerPropertiesForTesting(layer.get(), layer 360 cc/trees/layer_tree_host_common_unittest.cc EXPECT_TRANSFORMATION_MATRIX_EQ(expected_result, layer->draw_transform()); layer 362 cc/trees/layer_tree_host_common_unittest.cc layer->screen_space_transform()); layer 369 cc/trees/layer_tree_host_common_unittest.cc SetLayerPropertiesForTesting(layer.get(), layer 377 cc/trees/layer_tree_host_common_unittest.cc EXPECT_TRANSFORMATION_MATRIX_EQ(expected_result, layer->draw_transform()); layer 379 cc/trees/layer_tree_host_common_unittest.cc layer->screen_space_transform()); layer 561 cc/trees/layer_tree_host_impl.cc LayerImpl* layer, layer 567 cc/trees/layer_tree_host_impl.cc layer, layer 570 cc/trees/layer_tree_host_impl.cc layer->AppendQuads(&quad_culler, append_quads_data); layer 575 cc/trees/layer_tree_host_impl.cc LayerImpl* layer, layer 582 cc/trees/layer_tree_host_impl.cc layer, layer 587 cc/trees/layer_tree_host_impl.cc layer->render_surface()->AppendQuads(&quad_culler, layer 593 cc/trees/layer_tree_host_impl.cc if (layer->has_replica()) { layer 595 cc/trees/layer_tree_host_impl.cc layer->render_surface()->AppendQuads(&quad_culler, layer 915 cc/trees/layer_tree_host_impl.cc LayerImpl* layer = active_tree_->LayersWithCopyOutputRequest().back(); layer 916 cc/trees/layer_tree_host_impl.cc layer->TakeCopyRequestsAndTransformToTarget(&requests_to_abort); layer 1335 cc/trees/layer_tree_host_impl.cc static void LayerTreeHostImplDidBeginTracingCallback(LayerImpl* layer) { layer 1336 cc/trees/layer_tree_host_impl.cc layer->DidBeginTracing(); layer 2042 cc/trees/layer_tree_host_impl.cc static LayerImpl* NextScrollLayer(LayerImpl* layer) { layer 2043 cc/trees/layer_tree_host_impl.cc if (LayerImpl* scroll_parent = layer->scroll_parent()) layer 2045 cc/trees/layer_tree_host_impl.cc return layer->parent(); layer 2824 cc/trees/layer_tree_host_impl.cc void LayerTreeHostImpl::AnimateScrollbarsRecursive(LayerImpl* layer, layer 2826 cc/trees/layer_tree_host_impl.cc if (!layer) layer 2830 cc/trees/layer_tree_host_impl.cc layer->scrollbar_animation_controller(); layer 2838 cc/trees/layer_tree_host_impl.cc for (size_t i = 0; i < layer->children().size(); ++i) layer 2839 cc/trees/layer_tree_host_impl.cc AnimateScrollbarsRecursive(layer->children()[i], time); layer 2847 cc/trees/layer_tree_host_impl.cc void LayerTreeHostImpl::StartScrollbarAnimationRecursive(LayerImpl* layer, layer 2849 cc/trees/layer_tree_host_impl.cc if (!layer) layer 2853 cc/trees/layer_tree_host_impl.cc layer->scrollbar_animation_controller(); layer 2862 cc/trees/layer_tree_host_impl.cc for (size_t i = 0; i < layer->children().size(); ++i) layer 2863 cc/trees/layer_tree_host_impl.cc StartScrollbarAnimationRecursive(layer->children()[i], time); layer 502 cc/trees/layer_tree_host_impl.h void AnimateScrollbarsRecursive(LayerImpl* layer, layer 513 cc/trees/layer_tree_host_impl.h void StartScrollbarAnimationRecursive(LayerImpl* layer, base::TimeTicks time); layer 180 cc/trees/layer_tree_host_impl_unittest.cc static void ExpectClearedScrollDeltasRecursive(LayerImpl* layer) { layer 181 cc/trees/layer_tree_host_impl_unittest.cc ASSERT_EQ(layer->ScrollDelta(), gfx::Vector2d()); layer 182 cc/trees/layer_tree_host_impl_unittest.cc for (size_t i = 0; i < layer->children().size(); ++i) layer 183 cc/trees/layer_tree_host_impl_unittest.cc ExpectClearedScrollDeltasRecursive(layer->children()[i]); layer 279 cc/trees/layer_tree_host_impl_unittest.cc scoped_ptr<LayerImpl> layer = layer 281 cc/trees/layer_tree_host_impl_unittest.cc layer->SetScrollClipLayer(clip_layer->id()); layer 282 cc/trees/layer_tree_host_impl_unittest.cc layer->SetDrawsContent(true); layer 283 cc/trees/layer_tree_host_impl_unittest.cc layer->SetBounds(size); layer 284 cc/trees/layer_tree_host_impl_unittest.cc layer->SetContentBounds(size); layer 286 cc/trees/layer_tree_host_impl_unittest.cc return layer.Pass(); layer 1561 cc/trees/layer_tree_host_impl_unittest.cc DidDrawCheckLayer* layer = layer 1571 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(layer->will_draw_called()); layer 1572 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(layer->append_quads_called()); layer 1573 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(layer->did_draw_called()); layer 1579 cc/trees/layer_tree_host_impl_unittest.cc layer->set_will_draw_returns_false(); layer 1580 cc/trees/layer_tree_host_impl_unittest.cc layer->ClearDidDrawCheck(); layer 1587 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(layer->will_draw_called()); layer 1588 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_FALSE(layer->append_quads_called()); layer 1589 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_FALSE(layer->did_draw_called()); layer 1603 cc/trees/layer_tree_host_impl_unittest.cc DidDrawCheckLayer* layer = layer 1606 cc/trees/layer_tree_host_impl_unittest.cc layer->SetPosition(gfx::PointF(100.f, 100.f)); layer 1607 cc/trees/layer_tree_host_impl_unittest.cc layer->SetBounds(gfx::Size(10, 10)); layer 1608 cc/trees/layer_tree_host_impl_unittest.cc layer->SetContentBounds(gfx::Size(10, 10)); layer 1612 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_FALSE(layer->will_draw_called()); layer 1613 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_FALSE(layer->did_draw_called()); layer 1620 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_FALSE(layer->will_draw_called()); layer 1621 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_FALSE(layer->did_draw_called()); layer 1623 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(layer->visible_content_rect().IsEmpty()); layer 1626 cc/trees/layer_tree_host_impl_unittest.cc layer->SetPosition(gfx::PointF()); layer 1628 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_FALSE(layer->will_draw_called()); layer 1629 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_FALSE(layer->did_draw_called()); layer 1636 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(layer->will_draw_called()); layer 1637 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(layer->did_draw_called()); layer 1639 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_FALSE(layer->visible_content_rect().IsEmpty()); layer 97 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc scoped_refptr<PictureLayer> layer = PictureLayer::Create(&client); layer 99 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc layer->SetIsDrawable(true); layer 100 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc layer->SetAnchorPoint(gfx::PointF()); layer 101 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc layer->SetBounds(layer_rect.size()); layer 102 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc layer->SetPosition(layer_rect.origin()); layer 105 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc layer, layer 183 cc/trees/layer_tree_host_unittest.cc void VerifyBeforeValues(Layer* layer) { layer 184 cc/trees/layer_tree_host_unittest.cc EXPECT_EQ(gfx::Size(10, 10).ToString(), layer->bounds().ToString()); layer 185 cc/trees/layer_tree_host_unittest.cc EXPECT_FALSE(layer->hide_layer_and_subtree()); layer 186 cc/trees/layer_tree_host_unittest.cc EXPECT_FALSE(layer->DrawsContent()); layer 189 cc/trees/layer_tree_host_unittest.cc void SetBeforeValues(Layer* layer) { layer 190 cc/trees/layer_tree_host_unittest.cc layer->SetBounds(gfx::Size(10, 10)); layer 191 cc/trees/layer_tree_host_unittest.cc layer->SetHideLayerAndSubtree(false); layer 192 cc/trees/layer_tree_host_unittest.cc layer->SetIsDrawable(false); layer 195 cc/trees/layer_tree_host_unittest.cc void VerifyAfterValues(LayerImpl* layer) { layer 201 cc/trees/layer_tree_host_unittest.cc EXPECT_EQ(gfx::Size(20, 20).ToString(), layer->bounds().ToString()); layer 204 cc/trees/layer_tree_host_unittest.cc EXPECT_TRUE(layer->hide_layer_and_subtree()); layer 207 cc/trees/layer_tree_host_unittest.cc EXPECT_TRUE(layer->DrawsContent()); layer 212 cc/trees/layer_tree_host_unittest.cc void SetAfterValues(Layer* layer) { layer 218 cc/trees/layer_tree_host_unittest.cc layer->SetBounds(gfx::Size(20, 20)); layer 221 cc/trees/layer_tree_host_unittest.cc layer->SetHideLayerAndSubtree(true); layer 224 cc/trees/layer_tree_host_unittest.cc layer->SetIsDrawable(true); layer 1208 cc/trees/layer_tree_host_unittest.cc scoped_refptr<FakePictureLayer> layer = layer 1210 cc/trees/layer_tree_host_unittest.cc layer->set_always_update_resources(true); layer 1211 cc/trees/layer_tree_host_unittest.cc scroll_layer_ = layer; layer 1676 cc/trees/layer_tree_host_unittest.cc static void SetLayerPropertiesForTesting(Layer* layer, layer 1683 cc/trees/layer_tree_host_unittest.cc layer->RemoveAllChildren(); layer 1685 cc/trees/layer_tree_host_unittest.cc parent->AddChild(layer); layer 1686 cc/trees/layer_tree_host_unittest.cc layer->SetTransform(transform); layer 1687 cc/trees/layer_tree_host_unittest.cc layer->SetAnchorPoint(anchor); layer 1688 cc/trees/layer_tree_host_unittest.cc layer->SetPosition(position); layer 1689 cc/trees/layer_tree_host_unittest.cc layer->SetBounds(bounds); layer 1690 cc/trees/layer_tree_host_unittest.cc layer->SetContentsOpaque(opaque); layer 2585 cc/trees/layer_tree_host_unittest.cc void set_layer(Layer* layer) { layer_ = layer; } layer 2801 cc/trees/layer_tree_host_unittest.cc scoped_refptr<Layer> layer = PictureLayer::Create(&client_); layer 2802 cc/trees/layer_tree_host_unittest.cc layer->SetTransform(gfx::Transform(0.0, 0.0, 0.0, 0.0, 0.0, 0.0)); layer 2803 cc/trees/layer_tree_host_unittest.cc layer->SetBounds(gfx::Size(10, 10)); layer 2804 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->root_layer()->AddChild(layer); layer 2828 cc/trees/layer_tree_host_unittest.cc void set_layer(Layer* layer) { layer_ = layer; } layer 3290 cc/trees/layer_tree_host_unittest.cc virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE { layer 3291 cc/trees/layer_tree_host_unittest.cc LayerImpl::PushPropertiesTo(layer); layer 3295 cc/trees/layer_tree_host_unittest.cc layer)->push_properties_count_ = push_properties_count_; layer 3324 cc/trees/layer_tree_host_unittest.cc virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE { layer 3325 cc/trees/layer_tree_host_unittest.cc Layer::PushPropertiesTo(layer); layer 4354 cc/trees/layer_tree_host_unittest.cc scoped_refptr<IOSurfaceLayer> layer = IOSurfaceLayer::Create(); layer 4355 cc/trees/layer_tree_host_unittest.cc layer->SetBounds(gfx::Size(10, 10)); layer 4357 cc/trees/layer_tree_host_unittest.cc layer->SetIOSurfaceProperties(fake_io_surface_id, layer->bounds()); layer 4358 cc/trees/layer_tree_host_unittest.cc layer->SetIsDrawable(true); layer 4359 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->root_layer()->AddChild(layer); layer 4361 cc/trees/layer_tree_host_unittest.cc invalidate_layer_ = layer; layer 696 cc/trees/layer_tree_host_unittest_animation.cc scoped_refptr<Layer> layer = Layer::Create(); layer 697 cc/trees/layer_tree_host_unittest_animation.cc layer->set_layer_animation_delegate(this); layer 704 cc/trees/layer_tree_host_unittest_animation.cc layer->layer_animation_controller()->AddAnimation(animation.Pass()); layer 707 cc/trees/layer_tree_host_unittest_animation.cc layer_tree_host()->root_layer()->AddChild(layer); layer 263 cc/trees/layer_tree_host_unittest_copyrequest.cc void AddCopyRequest(Layer* layer) { layer 264 cc/trees/layer_tree_host_unittest_copyrequest.cc layer->RequestCopyOfOutput( layer 478 cc/trees/layer_tree_host_unittest_copyrequest.cc void AddCopyRequest(Layer* layer) { layer 479 cc/trees/layer_tree_host_unittest_copyrequest.cc layer->RequestCopyOfOutput( layer 692 cc/trees/layer_tree_host_unittest_copyrequest.cc virtual void RequestCopy(Layer* layer) = 0; layer 741 cc/trees/layer_tree_host_unittest_copyrequest.cc virtual void RequestCopy(Layer* layer) OVERRIDE { layer 791 cc/trees/layer_tree_host_unittest_copyrequest.cc virtual void RequestCopy(Layer* layer) OVERRIDE { layer 75 cc/trees/layer_tree_host_unittest_occlusion.cc void VerifyOcclusion(TestLayer* layer) const { layer 76 cc/trees/layer_tree_host_unittest_occlusion.cc EXPECT_EQ(layer->expected_occlusion().ToString(), layer 77 cc/trees/layer_tree_host_unittest_occlusion.cc layer->occlusion().ToString()); layer 79 cc/trees/layer_tree_host_unittest_occlusion.cc for (size_t i = 0; i < layer->children().size(); ++i) { layer 80 cc/trees/layer_tree_host_unittest_occlusion.cc TestLayer* child = static_cast<TestLayer*>(layer->children()[i].get()); layer 85 cc/trees/layer_tree_host_unittest_occlusion.cc void SetLayerPropertiesForTesting(TestLayer* layer, layer 91 cc/trees/layer_tree_host_unittest_occlusion.cc layer->RemoveAllChildren(); layer 93 cc/trees/layer_tree_host_unittest_occlusion.cc parent->AddChild(layer); layer 94 cc/trees/layer_tree_host_unittest_occlusion.cc layer->SetTransform(transform); layer 95 cc/trees/layer_tree_host_unittest_occlusion.cc layer->SetPosition(position); layer 96 cc/trees/layer_tree_host_unittest_occlusion.cc layer->SetBounds(bounds); layer 97 cc/trees/layer_tree_host_unittest_occlusion.cc layer->SetContentsOpaque(opaque); layer 99 cc/trees/layer_tree_host_unittest_occlusion.cc layer->SetAnchorPoint(gfx::PointF()); layer 1181 cc/trees/layer_tree_host_unittest_scroll.cc virtual void DidScroll(Layer* layer) { layer 1187 cc/trees/layer_tree_host_unittest_scroll.cc layer->RemoveFromParent(); layer 31 cc/trees/layer_tree_impl.cc LayerScrollOffsetDelegateProxy(LayerImpl* layer, layer 34 cc/trees/layer_tree_impl.cc : layer_(layer), delegate_(delegate), layer_tree_impl_(layer_tree) {} layer 109 cc/trees/layer_tree_impl.cc void LayerTreeImpl::SetRootLayer(scoped_ptr<LayerImpl> layer) { layer 117 cc/trees/layer_tree_impl.cc root_layer_ = layer.Pass(); layer 252 cc/trees/layer_tree_impl.cc void LayerTreeImpl::SetCurrentlyScrollingLayer(LayerImpl* layer) { layer 253 cc/trees/layer_tree_impl.cc if (currently_scrolling_layer_ == layer) layer 260 cc/trees/layer_tree_impl.cc currently_scrolling_layer_ = layer; layer 261 cc/trees/layer_tree_impl.cc if (layer && layer->scrollbar_animation_controller()) layer 262 cc/trees/layer_tree_impl.cc layer->scrollbar_animation_controller()->DidScrollGestureBegin(); layer 363 cc/trees/layer_tree_impl.cc LayerImpl* layer = root_scroll_layer->children()[0]; layer 364 cc/trees/layer_tree_impl.cc return MathUtil::MapEnclosingClippedRect(layer->screen_space_transform(), layer 365 cc/trees/layer_tree_impl.cc gfx::Rect(layer->content_bounds())); layer 368 cc/trees/layer_tree_impl.cc static void ApplySentScrollDeltasFromAbortedCommitTo(LayerImpl* layer) { layer 369 cc/trees/layer_tree_impl.cc layer->ApplySentScrollDeltasFromAbortedCommit(); layer 386 cc/trees/layer_tree_impl.cc static void ApplyScrollDeltasSinceBeginMainFrameTo(LayerImpl* layer) { layer 387 cc/trees/layer_tree_impl.cc layer->ApplyScrollDeltasSinceBeginMainFrame(); layer 491 cc/trees/layer_tree_impl.cc LayerImpl* layer = *it; layer 493 cc/trees/layer_tree_impl.cc layer->UpdateTilePriorities(); layer 494 cc/trees/layer_tree_impl.cc if (layer->mask_layer()) layer 495 cc/trees/layer_tree_impl.cc layer->mask_layer()->UpdateTilePriorities(); layer 496 cc/trees/layer_tree_impl.cc if (layer->replica_layer() && layer->replica_layer()->mask_layer()) layer 497 cc/trees/layer_tree_impl.cc layer->replica_layer()->mask_layer()->UpdateTilePriorities(); layer 525 cc/trees/layer_tree_impl.cc void LayerTreeImpl::RegisterLayer(LayerImpl* layer) { layer 526 cc/trees/layer_tree_impl.cc DCHECK(!LayerById(layer->id())); layer 527 cc/trees/layer_tree_impl.cc layer_id_map_[layer->id()] = layer; layer 530 cc/trees/layer_tree_impl.cc void LayerTreeImpl::UnregisterLayer(LayerImpl* layer) { layer 531 cc/trees/layer_tree_impl.cc DCHECK(LayerById(layer->id())); layer 532 cc/trees/layer_tree_impl.cc layer_id_map_.erase(layer->id()); layer 541 cc/trees/layer_tree_impl.cc static void DidBecomeActiveRecursive(LayerImpl* layer) { layer 542 cc/trees/layer_tree_impl.cc layer->DidBecomeActive(); layer 543 cc/trees/layer_tree_impl.cc for (size_t i = 0; i < layer->children().size(); ++i) layer 544 cc/trees/layer_tree_impl.cc DidBecomeActiveRecursive(layer->children()[i]); layer 807 cc/trees/layer_tree_impl.cc gfx::Vector2dF LayerTreeImpl::GetDelegatedScrollOffset(LayerImpl* layer) { layer 810 cc/trees/layer_tree_impl.cc if (layer == InnerViewportScrollLayer() && !OuterViewportScrollLayer()) layer 826 cc/trees/layer_tree_impl.cc if (layer == InnerViewportScrollLayer()) layer 839 cc/trees/layer_tree_impl.cc if (layer == OuterViewportScrollLayer()) layer 915 cc/trees/layer_tree_impl.cc void LayerTreeImpl::AddLayerWithCopyOutputRequest(LayerImpl* layer) { layer 925 cc/trees/layer_tree_impl.cc CHECK(layers_with_copy_output_request_[i] != layer) layer 928 cc/trees/layer_tree_impl.cc layers_with_copy_output_request_.push_back(layer); layer 931 cc/trees/layer_tree_impl.cc void LayerTreeImpl::RemoveLayerWithCopyOutputRequest(LayerImpl* layer) { layer 939 cc/trees/layer_tree_impl.cc layer); layer 945 cc/trees/layer_tree_impl.cc CHECK(layers_with_copy_output_request_[i] != layer) layer 126 cc/trees/layer_tree_impl.h void SetCurrentlyScrollingLayer(LayerImpl* layer); layer 193 cc/trees/layer_tree_impl.h void RegisterLayer(LayerImpl* layer); layer 194 cc/trees/layer_tree_impl.h void UnregisterLayer(LayerImpl* layer); layer 222 cc/trees/layer_tree_impl.h gfx::Vector2dF GetDelegatedScrollOffset(LayerImpl* layer); layer 240 cc/trees/layer_tree_impl.h void AddLayerWithCopyOutputRequest(LayerImpl* layer); layer 241 cc/trees/layer_tree_impl.h void RemoveLayerWithCopyOutputRequest(LayerImpl* layer); layer 101 cc/trees/occlusion_tracker.cc static inline bool LayerOpacityKnown(const Layer* layer) { layer 102 cc/trees/occlusion_tracker.cc return !layer->draw_opacity_is_animating(); layer 104 cc/trees/occlusion_tracker.cc static inline bool LayerOpacityKnown(const LayerImpl* layer) { layer 107 cc/trees/occlusion_tracker.cc static inline bool LayerTransformsToTargetKnown(const Layer* layer) { layer 108 cc/trees/occlusion_tracker.cc return !layer->draw_transform_is_animating(); layer 110 cc/trees/occlusion_tracker.cc static inline bool LayerTransformsToTargetKnown(const LayerImpl* layer) { layer 133 cc/trees/occlusion_tracker.cc static inline bool LayerIsInUnsorted3dRenderingContext(const Layer* layer) { layer 134 cc/trees/occlusion_tracker.cc return layer->is_3d_sorted(); layer 136 cc/trees/occlusion_tracker.cc static inline bool LayerIsInUnsorted3dRenderingContext(const LayerImpl* layer) { layer 141 cc/trees/occlusion_tracker.cc static inline bool LayerIsHidden(const LayerType* layer) { layer 142 cc/trees/occlusion_tracker.cc return layer->hide_layer_and_subtree() || layer 143 cc/trees/occlusion_tracker.cc (layer->parent() && LayerIsHidden(layer->parent())); layer 401 cc/trees/occlusion_tracker.cc const LayerType* layer) { layer 403 cc/trees/occlusion_tracker.cc DCHECK_EQ(layer->render_target(), stack_.back().target); layer 407 cc/trees/occlusion_tracker.cc if (!layer->DrawsContent()) layer 410 cc/trees/occlusion_tracker.cc if (!LayerOpacityKnown(layer) || layer->draw_opacity() < 1) layer 413 cc/trees/occlusion_tracker.cc if (!layer->uses_default_blend_mode()) layer 416 cc/trees/occlusion_tracker.cc if (LayerIsInUnsorted3dRenderingContext(layer)) layer 419 cc/trees/occlusion_tracker.cc if (!LayerTransformsToTargetKnown(layer)) layer 422 cc/trees/occlusion_tracker.cc Region opaque_contents = layer->VisibleContentOpaqueRegion(); layer 426 cc/trees/occlusion_tracker.cc DCHECK(layer->visible_content_rect().Contains(opaque_contents.bounds())); layer 429 cc/trees/occlusion_tracker.cc if (!layer->draw_transform().Preserves2dAxisAlignment()) layer 433 cc/trees/occlusion_tracker.cc layer->render_target()->render_surface(), screen_space_clip_rect_); layer 434 cc/trees/occlusion_tracker.cc if (layer->is_clipped()) { layer 435 cc/trees/occlusion_tracker.cc clip_rect_in_target.Intersect(layer->clip_rect()); layer 438 cc/trees/occlusion_tracker.cc layer->render_target()->render_surface()->content_rect()); layer 446 cc/trees/occlusion_tracker.cc layer->draw_transform(), layer 463 cc/trees/occlusion_tracker.cc layer->render_target()->render_surface()->screen_space_transform(), layer 476 cc/trees/occlusion_tracker.cc SubtractRegions(gfx::Rect(layer->content_bounds()), opaque_contents); layer 483 cc/trees/occlusion_tracker.cc MathUtil::MapClippedRect(layer->draw_transform(), layer 491 cc/trees/occlusion_tracker.cc layer->render_target()->render_surface()->screen_space_transform(), layer 595 cc/trees/occlusion_tracker.cc const LayerType* layer, layer 600 cc/trees/occlusion_tracker.cc DCHECK(layer->render_surface()); layer 602 cc/trees/occlusion_tracker.cc DCHECK_EQ(layer->render_target(), layer); layer 604 cc/trees/occlusion_tracker.cc DCHECK(layer->parent()); layer 607 cc/trees/occlusion_tracker.cc DCHECK_EQ(layer, stack_.back().target); layer 64 cc/trees/occlusion_tracker.h const LayerType* layer, layer 132 cc/trees/occlusion_tracker.h void MarkOccludedBehindLayer(const LayerType* layer); layer 81 cc/trees/occlusion_tracker_unittest.cc bool OccludedLayer(const LayerType* layer, layer 83 cc/trees/occlusion_tracker_unittest.cc DCHECK(layer->visible_content_rect().Contains(content_rect)); layer 85 cc/trees/occlusion_tracker_unittest.cc layer->render_target(), content_rect, layer->draw_transform()); layer 90 cc/trees/occlusion_tracker_unittest.cc gfx::Rect UnoccludedLayerContentRect(const LayerType* layer, layer 92 cc/trees/occlusion_tracker_unittest.cc DCHECK(layer->visible_content_rect().Contains(content_rect)); layer 94 cc/trees/occlusion_tracker_unittest.cc layer->render_target(), content_rect, layer->draw_transform()); layer 97 cc/trees/occlusion_tracker_unittest.cc gfx::Rect UnoccludedSurfaceContentRect(const LayerType* layer, layer 100 cc/trees/occlusion_tracker_unittest.cc typename LayerType::RenderSurfaceType* surface = layer->render_surface(); layer 105 cc/trees/occlusion_tracker_unittest.cc layer, content_rect, draw_transform); layer 124 cc/trees/occlusion_tracker_unittest.cc static LayerPtrType PassLayerPtr(ContentLayerPtrType* layer) { layer 125 cc/trees/occlusion_tracker_unittest.cc LayerPtrType ref(*layer); layer 126 cc/trees/occlusion_tracker_unittest.cc *layer = NULL; layer 130 cc/trees/occlusion_tracker_unittest.cc static LayerPtrType PassLayerPtr(LayerPtrType* layer) { layer 131 cc/trees/occlusion_tracker_unittest.cc LayerPtrType ref(*layer); layer 132 cc/trees/occlusion_tracker_unittest.cc *layer = NULL; layer 136 cc/trees/occlusion_tracker_unittest.cc static void DestroyLayer(LayerPtrType* layer) { *layer = NULL; } layer 157 cc/trees/occlusion_tracker_unittest.cc static LayerPtrType PassLayerPtr(LayerPtrType* layer) { layer 158 cc/trees/occlusion_tracker_unittest.cc return layer->Pass(); layer 161 cc/trees/occlusion_tracker_unittest.cc static LayerPtrType PassLayerPtr(ContentLayerPtrType* layer) { layer 162 cc/trees/occlusion_tracker_unittest.cc return layer->PassAs<LayerType>(); layer 165 cc/trees/occlusion_tracker_unittest.cc static void DestroyLayer(LayerPtrType* layer) { layer->reset(); } layer 190 cc/trees/occlusion_tracker_unittest.cc typename Types::ContentLayerPtrType layer( layer 192 cc/trees/occlusion_tracker_unittest.cc typename Types::ContentLayerType* layer_ptr = layer.get(); layer 196 cc/trees/occlusion_tracker_unittest.cc root_ = Types::PassLayerPtr(&layer); layer 207 cc/trees/occlusion_tracker_unittest.cc typename Types::LayerPtrType layer(Types::CreateLayer(GetHost())); layer 208 cc/trees/occlusion_tracker_unittest.cc typename Types::LayerType* layer_ptr = layer.get(); layer 210 cc/trees/occlusion_tracker_unittest.cc parent->AddChild(Types::PassLayerPtr(&layer)); layer 218 cc/trees/occlusion_tracker_unittest.cc typename Types::LayerType* layer = layer 220 cc/trees/occlusion_tracker_unittest.cc layer->SetForceRenderSurface(true); layer 221 cc/trees/occlusion_tracker_unittest.cc return layer; layer 230 cc/trees/occlusion_tracker_unittest.cc typename Types::ContentLayerPtrType layer( layer 232 cc/trees/occlusion_tracker_unittest.cc typename Types::ContentLayerType* layer_ptr = layer.get(); layer 245 cc/trees/occlusion_tracker_unittest.cc parent->AddChild(Types::PassLayerPtr(&layer)); layer 254 cc/trees/occlusion_tracker_unittest.cc typename Types::ContentLayerPtrType layer( layer 256 cc/trees/occlusion_tracker_unittest.cc typename Types::ContentLayerType* layer_ptr = layer.get(); layer 258 cc/trees/occlusion_tracker_unittest.cc SetReplica(owning_layer, Types::PassLayerPtr(&layer)); layer 265 cc/trees/occlusion_tracker_unittest.cc typename Types::ContentLayerPtrType layer( layer 267 cc/trees/occlusion_tracker_unittest.cc typename Types::ContentLayerType* layer_ptr = layer.get(); layer 269 cc/trees/occlusion_tracker_unittest.cc SetMask(owning_layer, Types::PassLayerPtr(&layer)); layer 279 cc/trees/occlusion_tracker_unittest.cc typename Types::ContentLayerType* layer = layer 281 cc/trees/occlusion_tracker_unittest.cc layer->SetForceRenderSurface(true); layer 282 cc/trees/occlusion_tracker_unittest.cc return layer; layer 288 cc/trees/occlusion_tracker_unittest.cc void AddCopyRequest(Layer* layer) { layer 289 cc/trees/occlusion_tracker_unittest.cc layer->RequestCopyOfOutput( layer 295 cc/trees/occlusion_tracker_unittest.cc void AddCopyRequest(LayerImpl* layer) { layer 301 cc/trees/occlusion_tracker_unittest.cc layer->PassCopyRequests(&requests); layer 335 cc/trees/occlusion_tracker_unittest.cc void SetDrawsContent(Layer* layer, bool draws_content) { layer 336 cc/trees/occlusion_tracker_unittest.cc layer->SetIsDrawable(draws_content); layer 339 cc/trees/occlusion_tracker_unittest.cc void EnterLayer(typename Types::LayerType* layer, layer 341 cc/trees/occlusion_tracker_unittest.cc ASSERT_EQ(layer, *layer_iterator_); layer 346 cc/trees/occlusion_tracker_unittest.cc void LeaveLayer(typename Types::LayerType* layer, layer 348 cc/trees/occlusion_tracker_unittest.cc ASSERT_EQ(layer, *layer_iterator_); layer 354 cc/trees/occlusion_tracker_unittest.cc void VisitLayer(typename Types::LayerType* layer, layer 356 cc/trees/occlusion_tracker_unittest.cc EnterLayer(layer, occlusion); layer 357 cc/trees/occlusion_tracker_unittest.cc LeaveLayer(layer, occlusion); layer 361 cc/trees/occlusion_tracker_unittest.cc typename Types::LayerType* layer, layer 363 cc/trees/occlusion_tracker_unittest.cc ASSERT_EQ(layer, *layer_iterator_); layer 373 cc/trees/occlusion_tracker_unittest.cc typename Types::LayerType* layer, layer 375 cc/trees/occlusion_tracker_unittest.cc ASSERT_EQ(layer, *layer_iterator_); layer 382 cc/trees/occlusion_tracker_unittest.cc typename Types::LayerType* layer, layer 384 cc/trees/occlusion_tracker_unittest.cc EnterContributingSurface(layer, occlusion); layer 385 cc/trees/occlusion_tracker_unittest.cc LeaveContributingSurface(layer, occlusion); layer 399 cc/trees/occlusion_tracker_unittest.cc void SetBaseProperties(typename Types::LayerType* layer, layer 403 cc/trees/occlusion_tracker_unittest.cc layer->SetTransform(transform); layer 404 cc/trees/occlusion_tracker_unittest.cc layer->SetAnchorPoint(gfx::PointF()); layer 405 cc/trees/occlusion_tracker_unittest.cc layer->SetPosition(position); layer 406 cc/trees/occlusion_tracker_unittest.cc layer->SetBounds(bounds); layer 409 cc/trees/occlusion_tracker_unittest.cc void SetProperties(Layer* layer, layer 413 cc/trees/occlusion_tracker_unittest.cc SetBaseProperties(layer, transform, position, bounds); layer 416 cc/trees/occlusion_tracker_unittest.cc void SetProperties(LayerImpl* layer, layer 420 cc/trees/occlusion_tracker_unittest.cc SetBaseProperties(layer, transform, position, bounds); layer 422 cc/trees/occlusion_tracker_unittest.cc layer->SetContentBounds(layer->bounds()); layer 425 cc/trees/occlusion_tracker_unittest.cc void SetReplica(Layer* owning_layer, scoped_refptr<Layer> layer) { layer 426 cc/trees/occlusion_tracker_unittest.cc owning_layer->SetReplicaLayer(layer.get()); layer 427 cc/trees/occlusion_tracker_unittest.cc replica_layers_.push_back(layer); layer 430 cc/trees/occlusion_tracker_unittest.cc void SetReplica(LayerImpl* owning_layer, scoped_ptr<LayerImpl> layer) { layer 431 cc/trees/occlusion_tracker_unittest.cc owning_layer->SetReplicaLayer(layer.Pass()); layer 434 cc/trees/occlusion_tracker_unittest.cc void SetMask(Layer* owning_layer, scoped_refptr<Layer> layer) { layer 435 cc/trees/occlusion_tracker_unittest.cc owning_layer->SetMaskLayer(layer.get()); layer 436 cc/trees/occlusion_tracker_unittest.cc mask_layers_.push_back(layer); layer 439 cc/trees/occlusion_tracker_unittest.cc void SetMask(LayerImpl* owning_layer, scoped_ptr<LayerImpl> layer) { layer 440 cc/trees/occlusion_tracker_unittest.cc owning_layer->SetMaskLayer(layer.Pass()); layer 530 cc/trees/occlusion_tracker_unittest.cc typename Types::ContentLayerType* layer = layer 542 cc/trees/occlusion_tracker_unittest.cc this->VisitLayer(layer, &occlusion); layer 652 cc/trees/occlusion_tracker_unittest.cc typename Types::ContentLayerType* layer = layer 664 cc/trees/occlusion_tracker_unittest.cc this->VisitLayer(layer, &occlusion); layer 722 cc/trees/occlusion_tracker_unittest.cc typename Types::ContentLayerType* layer = layer 734 cc/trees/occlusion_tracker_unittest.cc this->VisitLayer(layer, &occlusion); layer 794 cc/trees/occlusion_tracker_unittest.cc typename Types::ContentLayerType* layer = layer 805 cc/trees/occlusion_tracker_unittest.cc this->VisitLayer(layer, &occlusion); layer 955 cc/trees/occlusion_tracker_unittest.cc typename Types::ContentLayerType* layer = layer 982 cc/trees/occlusion_tracker_unittest.cc this->VisitLayer(layer, &occlusion); layer 1134 cc/trees/occlusion_tracker_unittest.cc typename Types::ContentLayerType* layer = this->CreateDrawingLayer( layer 1142 cc/trees/occlusion_tracker_unittest.cc layer_transform, layer->visible_content_rect()); layer 1144 cc/trees/occlusion_tracker_unittest.cc this->VisitLayer(layer, &occlusion); layer 1747 cc/trees/occlusion_tracker_unittest.cc typename Types::ContentLayerType* layer = layer 1757 cc/trees/occlusion_tracker_unittest.cc this->EnterLayer(layer, &occlusion); layer 1759 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(layer, gfx::Rect(0, 0, 100, 100))); layer 1760 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(layer, gfx::Rect(100, 0, 100, 100))); layer 1761 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(layer, gfx::Rect(0, 100, 100, 100))); layer 1762 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(layer, gfx::Rect(100, 100, 100, 100))); layer 1764 cc/trees/occlusion_tracker_unittest.cc this->LeaveLayer(layer, &occlusion); layer 1765 cc/trees/occlusion_tracker_unittest.cc this->VisitContributingSurface(layer, &occlusion); layer 1783 cc/trees/occlusion_tracker_unittest.cc typename Types::ContentLayerType* layer = layer 1793 cc/trees/occlusion_tracker_unittest.cc layer->SetOpaqueContentsRect(gfx::Rect(0, 0, 100, 100)); layer 1796 cc/trees/occlusion_tracker_unittest.cc this->VisitLayer(layer, &occlusion); layer 1812 cc/trees/occlusion_tracker_unittest.cc layer->SetOpaqueContentsRect(gfx::Rect(20, 20, 180, 180)); layer 1815 cc/trees/occlusion_tracker_unittest.cc this->VisitLayer(layer, &occlusion); layer 1831 cc/trees/occlusion_tracker_unittest.cc layer->SetOpaqueContentsRect(gfx::Rect(150, 150, 100, 100)); layer 1834 cc/trees/occlusion_tracker_unittest.cc this->VisitLayer(layer, &occlusion); layer 1865 cc/trees/occlusion_tracker_unittest.cc typename Types::ContentLayerType* layer = layer 1875 cc/trees/occlusion_tracker_unittest.cc this->EnterLayer(layer, &occlusion); layer 1881 cc/trees/occlusion_tracker_unittest.cc occlusion.UnoccludedLayerContentRect(layer, gfx::Rect(0, 0, 200, 200))); layer 1956 cc/trees/occlusion_tracker_unittest.cc typename Types::ContentLayerType* layer = layer 1964 cc/trees/occlusion_tracker_unittest.cc layer->SetIs3dSorted(true); layer 1965 cc/trees/occlusion_tracker_unittest.cc layer->SetShouldFlattenTransform(false); layer 1971 cc/trees/occlusion_tracker_unittest.cc this->EnterLayer(layer, &occlusion); layer 1975 cc/trees/occlusion_tracker_unittest.cc occlusion.UnoccludedLayerContentRect(layer, gfx::Rect(0, 0, 200, 200))); layer 2005 cc/trees/occlusion_tracker_unittest.cc typename Types::ContentLayerType* layer = this->CreateDrawingLayer( layer 2009 cc/trees/occlusion_tracker_unittest.cc layer->SetShouldFlattenTransform(false); layer 2010 cc/trees/occlusion_tracker_unittest.cc layer->SetIs3dSorted(true); layer 2015 cc/trees/occlusion_tracker_unittest.cc this->EnterLayer(layer, &occlusion); layer 2022 cc/trees/occlusion_tracker_unittest.cc layer, gfx::Rect(0, 26, 500, 474)). layer 2048 cc/trees/occlusion_tracker_unittest.cc typename Types::ContentLayerType* layer = this->CreateDrawingLayer( layer 2052 cc/trees/occlusion_tracker_unittest.cc layer->SetShouldFlattenTransform(false); layer 2053 cc/trees/occlusion_tracker_unittest.cc layer->SetIs3dSorted(true); layer 2060 cc/trees/occlusion_tracker_unittest.cc this->VisitLayer(layer, &occlusion); layer 2089 cc/trees/occlusion_tracker_unittest.cc typename Types::ContentLayerType* layer = this->CreateDrawingLayer( layer 2093 cc/trees/occlusion_tracker_unittest.cc layer->SetShouldFlattenTransform(false); layer 2094 cc/trees/occlusion_tracker_unittest.cc layer->SetIs3dSorted(true); layer 2103 cc/trees/occlusion_tracker_unittest.cc this->VisitLayer(layer, &occlusion); layer 2134 cc/trees/occlusion_tracker_unittest.cc typename Types::ContentLayerType* layer = layer 2172 cc/trees/occlusion_tracker_unittest.cc layer->layer_animation_controller(), 10.0, 0.f, 1.f, false); layer 2177 cc/trees/occlusion_tracker_unittest.cc EXPECT_TRUE(layer->draw_opacity_is_animating()); layer 2233 cc/trees/occlusion_tracker_unittest.cc this->VisitLayer(layer, &occlusion); layer 2254 cc/trees/occlusion_tracker_unittest.cc typename Types::ContentLayerType* layer = layer 2292 cc/trees/occlusion_tracker_unittest.cc layer->layer_animation_controller(), 10.0, 1.f, 0.f, false); layer 2297 cc/trees/occlusion_tracker_unittest.cc EXPECT_TRUE(layer->draw_opacity_is_animating()); layer 2353 cc/trees/occlusion_tracker_unittest.cc this->VisitLayer(layer, &occlusion); layer 2375 cc/trees/occlusion_tracker_unittest.cc typename Types::ContentLayerType* layer = layer 2403 cc/trees/occlusion_tracker_unittest.cc layer->layer_animation_controller(), 10.0, 30, 0); layer 2410 cc/trees/occlusion_tracker_unittest.cc EXPECT_TRUE(layer->draw_transform_is_animating()); layer 2411 cc/trees/occlusion_tracker_unittest.cc EXPECT_TRUE(layer->screen_space_transform_is_animating()); layer 2483 cc/trees/occlusion_tracker_unittest.cc this->VisitLayer(layer, &occlusion); layer 21 cc/trees/quad_culler.cc const LayerImpl* layer, layer 26 cc/trees/quad_culler.cc layer_(layer), layer 59 cc/trees/quad_culler.cc const LayerImpl* layer) { layer 22 cc/trees/quad_culler.h const LayerImpl* layer, layer 44 cc/trees/quad_culler_unittest.cc scoped_ptr<TiledLayerImpl> layer = layer 49 cc/trees/quad_culler_unittest.cc layer->SetTilingData(*tiler); layer 50 cc/trees/quad_culler_unittest.cc layer->set_skips_draw(false); layer 51 cc/trees/quad_culler_unittest.cc layer->SetDrawsContent(true); layer 52 cc/trees/quad_culler_unittest.cc layer->draw_properties().target_space_transform = draw_transform; layer 53 cc/trees/quad_culler_unittest.cc layer->draw_properties().screen_space_transform = draw_transform; layer 54 cc/trees/quad_culler_unittest.cc layer->draw_properties().visible_content_rect = layer_rect; layer 55 cc/trees/quad_culler_unittest.cc layer->draw_properties().opacity = opacity; layer 56 cc/trees/quad_culler_unittest.cc layer->SetContentsOpaque(opaque); layer 57 cc/trees/quad_culler_unittest.cc layer->SetBounds(layer_rect.size()); layer 58 cc/trees/quad_culler_unittest.cc layer->SetContentBounds(layer_rect.size()); layer 67 cc/trees/quad_culler_unittest.cc layer->PushTileProperties(i, j, resource_id++, tile_opaque_rect, false); layer 72 cc/trees/quad_culler_unittest.cc layer->draw_transform(), layer->visible_content_rect()); layer 74 cc/trees/quad_culler_unittest.cc layer->CreateRenderSurface(); layer 75 cc/trees/quad_culler_unittest.cc layer->render_surface()->SetContentRect(rect_in_target); layer 76 cc/trees/quad_culler_unittest.cc surface_layer_list.push_back(layer.get()); layer 77 cc/trees/quad_culler_unittest.cc layer->render_surface()->layer_list().push_back(layer.get()); layer 79 cc/trees/quad_culler_unittest.cc layer->draw_properties().render_target = parent->render_target(); layer 80 cc/trees/quad_culler_unittest.cc parent->render_surface()->layer_list().push_back(layer.get()); layer 85 cc/trees/quad_culler_unittest.cc layer->draw_properties().drawable_content_rect = rect_in_target; layer 87 cc/trees/quad_culler_unittest.cc return layer.Pass(); layer 92 cc/trees/quad_culler_unittest.cc TiledLayerImpl* layer, layer 97 cc/trees/quad_culler_unittest.cc quad_list, shared_state_list, layer, *occlusion_tracker, false); layer 99 cc/trees/quad_culler_unittest.cc layer->AppendQuads(&quad_culler, &data); layer 90 cc/trees/tree_synchronizer.cc LayerType* layer, layer 92 cc/trees/tree_synchronizer.cc scoped_ptr<LayerImpl> layer_impl = old_layers->take(layer->id()); layer 95 cc/trees/tree_synchronizer.cc layer_impl = layer->CreateLayerImpl(tree_impl); layer 97 cc/trees/tree_synchronizer.cc (*new_layers)[layer->id()] = layer_impl.get(); layer 105 cc/trees/tree_synchronizer.cc LayerType* layer, layer 107 cc/trees/tree_synchronizer.cc if (!layer) layer 111 cc/trees/tree_synchronizer.cc ReuseOrCreateLayerImpl(new_layers, old_layers, layer, tree_impl); layer 114 cc/trees/tree_synchronizer.cc for (size_t i = 0; i < layer->children().size(); ++i) { layer 116 cc/trees/tree_synchronizer.cc new_layers, old_layers, layer->child_at(i), tree_impl)); layer 120 cc/trees/tree_synchronizer.cc new_layers, old_layers, layer->mask_layer(), tree_impl)); layer 122 cc/trees/tree_synchronizer.cc new_layers, old_layers, layer->replica_layer(), tree_impl)); layer 130 cc/trees/tree_synchronizer.cc Layer* layer, layer 133 cc/trees/tree_synchronizer.cc new_layers, old_layers, layer, tree_impl); layer 139 cc/trees/tree_synchronizer.cc LayerImpl* layer, layer 142 cc/trees/tree_synchronizer.cc new_layers, old_layers, layer, tree_impl); layer 148 cc/trees/tree_synchronizer.cc LayerType* layer) { layer 149 cc/trees/tree_synchronizer.cc if (!layer) layer 152 cc/trees/tree_synchronizer.cc for (size_t i = 0; i < layer->children().size(); ++i) { layer 154 cc/trees/tree_synchronizer.cc LayerType, ScrollbarLayerType>(new_layers, layer->child_at(i)); layer 157 cc/trees/tree_synchronizer.cc ScrollbarLayerType* scrollbar_layer = layer->ToScrollbarLayer(); layer 162 cc/trees/tree_synchronizer.cc new_layers->find(layer->id()); layer 173 cc/trees/tree_synchronizer.cc Layer* layer) { layer 175 cc/trees/tree_synchronizer.cc new_layers, layer); layer 179 cc/trees/tree_synchronizer.cc LayerImpl* layer) { layer 182 cc/trees/tree_synchronizer.cc ScrollbarLayerImplBase>(new_layers, layer); layer 188 cc/trees/tree_synchronizer.cc LayerType* layer, layer 191 cc/trees/tree_synchronizer.cc if (!layer) { layer 196 cc/trees/tree_synchronizer.cc DCHECK_EQ(layer->id(), layer_impl->id()); layer 198 cc/trees/tree_synchronizer.cc bool push_layer = layer->needs_push_properties(); layer 200 cc/trees/tree_synchronizer.cc layer->descendant_needs_push_properties(); layer 203 cc/trees/tree_synchronizer.cc layer->PushPropertiesTo(layer_impl); layer 204 cc/trees/tree_synchronizer.cc else if (layer->ToScrollbarLayer()) layer 205 cc/trees/tree_synchronizer.cc layer->ToScrollbarLayer()->PushScrollClipPropertiesTo(layer_impl); layer 209 cc/trees/tree_synchronizer.cc PushPropertiesInternal(layer->mask_layer(), layer 212 cc/trees/tree_synchronizer.cc PushPropertiesInternal(layer->replica_layer(), layer 217 cc/trees/tree_synchronizer.cc DCHECK_EQ(layer->children().size(), impl_children.size()); layer 219 cc/trees/tree_synchronizer.cc for (size_t i = 0; i < layer->children().size(); ++i) { layer 220 cc/trees/tree_synchronizer.cc PushPropertiesInternal(layer->child_at(i), layer 230 cc/trees/tree_synchronizer.cc layer->num_dependents_need_push_properties_ = layer 235 cc/trees/tree_synchronizer.cc layer->needs_push_properties(); layer 239 cc/trees/tree_synchronizer.cc static void CheckScrollAndClipPointersRecursive(Layer* layer, layer 241 cc/trees/tree_synchronizer.cc DCHECK_EQ(!!layer, !!layer_impl); layer 242 cc/trees/tree_synchronizer.cc if (!layer) layer 245 cc/trees/tree_synchronizer.cc DCHECK_EQ(!!layer->scroll_parent(), !!layer_impl->scroll_parent()); layer 246 cc/trees/tree_synchronizer.cc if (layer->scroll_parent()) layer 247 cc/trees/tree_synchronizer.cc DCHECK_EQ(layer->scroll_parent()->id(), layer_impl->scroll_parent()->id()); layer 249 cc/trees/tree_synchronizer.cc DCHECK_EQ(!!layer->clip_parent(), !!layer_impl->clip_parent()); layer 250 cc/trees/tree_synchronizer.cc if (layer->clip_parent()) layer 251 cc/trees/tree_synchronizer.cc DCHECK_EQ(layer->clip_parent()->id(), layer_impl->clip_parent()->id()); layer 253 cc/trees/tree_synchronizer.cc DCHECK_EQ(!!layer->scroll_children(), !!layer_impl->scroll_children()); layer 254 cc/trees/tree_synchronizer.cc if (layer->scroll_children()) { layer 255 cc/trees/tree_synchronizer.cc for (std::set<Layer*>::iterator it = layer->scroll_children()->begin(); layer 256 cc/trees/tree_synchronizer.cc it != layer->scroll_children()->end(); layer 258 cc/trees/tree_synchronizer.cc DCHECK_EQ((*it)->scroll_parent(), layer); layer 268 cc/trees/tree_synchronizer.cc DCHECK_EQ(!!layer->clip_children(), !!layer_impl->clip_children()); layer 269 cc/trees/tree_synchronizer.cc if (layer->clip_children()) { layer 270 cc/trees/tree_synchronizer.cc for (std::set<Layer*>::iterator it = layer->clip_children()->begin(); layer 271 cc/trees/tree_synchronizer.cc it != layer->clip_children()->end(); layer 273 cc/trees/tree_synchronizer.cc DCHECK_EQ((*it)->clip_parent(), layer); layer 283 cc/trees/tree_synchronizer.cc for (size_t i = 0u; i < layer->children().size(); ++i) { layer 284 cc/trees/tree_synchronizer.cc CheckScrollAndClipPointersRecursive(layer->child_at(i), layer 289 cc/trees/tree_synchronizer.cc void TreeSynchronizer::PushProperties(Layer* layer, layer 293 cc/trees/tree_synchronizer.cc layer, layer_impl, &num_dependents_need_push_properties); layer 295 cc/trees/tree_synchronizer.cc CheckScrollAndClipPointersRecursive(layer, layer_impl); layer 299 cc/trees/tree_synchronizer.cc void TreeSynchronizer::PushProperties(LayerImpl* layer, LayerImpl* layer_impl) { layer 302 cc/trees/tree_synchronizer.cc layer, layer_impl, &num_dependents_need_push_properties); layer 43 cc/trees/tree_synchronizer.h LayerType* layer, layer 102 cc/trees/tree_synchronizer_unittest.cc void ExpectTreesAreIdentical(Layer* layer, layer 105 cc/trees/tree_synchronizer_unittest.cc ASSERT_TRUE(layer); layer 108 cc/trees/tree_synchronizer_unittest.cc EXPECT_EQ(layer->id(), layer_impl->id()); layer 111 cc/trees/tree_synchronizer_unittest.cc EXPECT_EQ(layer->non_fast_scrollable_region(), layer 114 cc/trees/tree_synchronizer_unittest.cc ASSERT_EQ(!!layer->mask_layer(), !!layer_impl->mask_layer()); layer 115 cc/trees/tree_synchronizer_unittest.cc if (layer->mask_layer()) { layer 118 cc/trees/tree_synchronizer_unittest.cc layer->mask_layer(), layer_impl->mask_layer(), tree_impl); layer 121 cc/trees/tree_synchronizer_unittest.cc ASSERT_EQ(!!layer->replica_layer(), !!layer_impl->replica_layer()); layer 122 cc/trees/tree_synchronizer_unittest.cc if (layer->replica_layer()) { layer 125 cc/trees/tree_synchronizer_unittest.cc layer->replica_layer(), layer_impl->replica_layer(), tree_impl); layer 128 cc/trees/tree_synchronizer_unittest.cc const LayerList& layer_children = layer->children(); layer 133 cc/trees/tree_synchronizer_unittest.cc const std::set<Layer*>* layer_scroll_children = layer->scroll_children(); layer 145 cc/trees/tree_synchronizer_unittest.cc const Layer* layer_scroll_parent = layer->scroll_parent(); layer 152 cc/trees/tree_synchronizer_unittest.cc ASSERT_TRUE(layer_scroll_parent->scroll_children()->find(layer) != layer 158 cc/trees/tree_synchronizer_unittest.cc const std::set<Layer*>* layer_clip_children = layer->clip_children(); layer 167 cc/trees/tree_synchronizer_unittest.cc const Layer* layer_clip_parent = layer->clip_parent(); layer 178 cc/trees/tree_synchronizer_unittest.cc ASSERT_TRUE(clip_children->find(layer) != clip_children->end()); layer 81 chrome/browser/chromeos/display/overscan_calibrator.cc ->layer(); layer 385 chrome/browser/chromeos/login/kiosk_browsertest.cc login_display_host->GetNativeWindow()->layer()->GetTargetOpacity() == layer 591 chrome/browser/chromeos/login/login_display_host_impl.cc lock_container->layer()->SetOpacity(1.0); layer 924 chrome/browser/chromeos/login/login_display_host_impl.cc ui::Layer* layer = login_window_->GetLayer(); layer 925 chrome/browser/chromeos/login/login_display_host_impl.cc ui::ScopedLayerAnimationSettings animation(layer->GetAnimator()); layer 930 chrome/browser/chromeos/login/login_display_host_impl.cc layer->SetOpacity(0); layer 42 chrome/browser/chromeos/ui/focus_ring_layer.cc ui::Layer* root_layer = root_window->layer(); layer 87 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc native_view->layer()->SetAnimator(animator); layer 164 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc ui::Layer* layer = widget_view->layer(); layer 165 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc ui::ScopedLayerAnimationSettings settings(layer->GetAnimator()); layer 169 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc layer->SetBounds(rect); layer 89 chrome/browser/ui/ash/launcher/multi_profile_app_window_launcher_controller.cc !app_window->GetNativeWindow()->layer()->GetTargetOpacity()) { layer 93 chrome/browser/ui/ash/launcher/multi_profile_app_window_launcher_controller.cc app_window->GetNativeWindow()->layer()->SetOpacity(1.0f); layer 224 chrome/browser/ui/views/frame/browser_frame.cc CHECK(top_container->layer()); layer 1853 chrome/browser/ui/views/frame/browser_view.cc if (child != infobar_container_ && !child->layer()) layer 1011 chrome/browser/ui/views/location_bar/location_bar_view.cc if (!child_at(i)->layer() && layer 28 chrome/browser/ui/views/tabs/window_finder_ash.cc if (window->layer()->type() == ui::LAYER_TEXTURED) layer 53 chrome/test/base/interactive_test_utils_views.cc if (window && window->layer()) { layer 54 chrome/test/base/interactive_test_utils_views.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); layer 854 content/browser/android/content_view_core_impl.cc void ContentViewCoreImpl::AttachLayer(scoped_refptr<cc::Layer> layer) { layer 855 content/browser/android/content_view_core_impl.cc root_layer_->AddChild(layer); layer 858 content/browser/android/content_view_core_impl.cc void ContentViewCoreImpl::RemoveLayer(scoped_refptr<cc::Layer> layer) { layer 859 content/browser/android/content_view_core_impl.cc layer->RemoveFromParent(); layer 313 content/browser/android/content_view_core_impl.h void AttachLayer(scoped_refptr<cc::Layer> layer); layer 314 content/browser/android/content_view_core_impl.h void RemoveLayer(scoped_refptr<cc::Layer> layer); layer 97 content/browser/android/edge_effect.cc void DisableLayer(cc::Layer* layer) { layer 98 content/browser/android/edge_effect.cc DCHECK(layer); layer 99 content/browser/android/edge_effect.cc layer->SetIsDrawable(false); layer 100 content/browser/android/edge_effect.cc layer->SetTransform(gfx::Transform()); layer 101 content/browser/android/edge_effect.cc layer->SetOpacity(1.f); layer 104 content/browser/android/edge_effect.cc void UpdateLayer(cc::Layer* layer, layer 109 content/browser/android/edge_effect.cc DCHECK(layer); layer 110 content/browser/android/edge_effect.cc layer->SetIsDrawable(true); layer 111 content/browser/android/edge_effect.cc layer->SetTransform(ComputeTransform(edge, size, height)); layer 112 content/browser/android/edge_effect.cc layer->SetBounds(gfx::Size(size.width(), height)); layer 113 content/browser/android/edge_effect.cc layer->SetOpacity(Clamp(opacity, 0.f, 1.f)); layer 65 content/browser/android/overscroll_glow.cc scoped_refptr<cc::ImageLayer> layer = cc::ImageLayer::Create(); layer 66 content/browser/android/overscroll_glow.cc layer->SetBitmap(bitmap); layer 67 content/browser/android/overscroll_glow.cc return layer; layer 184 content/browser/media/capture/desktop_capture_device_aura.cc desktop_layer_ = desktop_window_->layer(); layer 268 content/browser/media/capture/desktop_capture_device_aura.cc ui::ConvertRectToPixel(desktop_window_->layer(), layer 591 content/browser/renderer_host/compositor_impl_android.cc void CompositorImpl::AttachLayerForReadback(scoped_refptr<cc::Layer> layer) { layer 592 content/browser/renderer_host/compositor_impl_android.cc root_layer_->AddChild(layer); layer 111 content/browser/renderer_host/compositor_impl_android.h virtual void AttachLayerForReadback(scoped_refptr<cc::Layer> layer) OVERRIDE; layer 762 content/browser/renderer_host/render_widget_host_view_aura.cc window_->layer()->RequestCopyOfOutput(request.Pass()); layer 928 content/browser/renderer_host/render_widget_host_view_aura.cc window_->layer()->SetFillsBoundsOpaquely(background.isOpaque()); layer 1194 content/browser/renderer_host/render_widget_host_view_aura.cc return GetCompositor() && window_->layer()->has_external_content(); layer 1199 content/browser/renderer_host/render_widget_host_view_aura.cc window_->layer()->has_external_content() && layer 1307 content/browser/renderer_host/render_widget_host_view_aura.cc window_->layer()->SetExternalTexture(current_surface_.get()); layer 1312 content/browser/renderer_host/render_widget_host_view_aura.cc window_->layer()->SetShowPaintedContent(); layer 1511 content/browser/renderer_host/render_widget_host_view_aura.cc window_->layer()->SetShowDelegatedContent(frame_provider_.get(), layer 1577 content/browser/renderer_host/render_widget_host_view_aura.cc window_->layer()->SetShowPaintedContent(); layer 2562 content/browser/renderer_host/render_widget_host_view_aura.cc if (window_->layer()->fills_bounds_opaquely()) layer 3410 content/browser/renderer_host/render_widget_host_view_aura.cc window_->layer()->SetShowPaintedContent(); layer 121 content/browser/web_contents/aura/gesture_nav_simple.cc ui::Layer* layer = arrow_.get(); layer 127 content/browser/web_contents/aura/gesture_nav_simple.cc layer->SetTransform(transform); layer 128 content/browser/web_contents/aura/gesture_nav_simple.cc layer->SetOpacity(opacity); layer 222 content/browser/web_contents/aura/gesture_nav_simple.cc clip_layer_->SetBounds(window->layer()->bounds()); layer 226 content/browser/web_contents/aura/gesture_nav_simple.cc ui::Layer* parent = window->layer()->parent(); layer 72 content/browser/web_contents/aura/overscroll_navigation_overlay.cc explicit OverlayDismissAnimator(scoped_ptr<ui::Layer> layer) layer 73 content/browser/web_contents/aura/overscroll_navigation_overlay.cc : layer_(layer.Pass()) { layer 167 content/browser/web_contents/aura/overscroll_navigation_overlay.cc scoped_ptr<ui::Layer> layer; layer 169 content/browser/web_contents/aura/overscroll_navigation_overlay.cc layer.reset(window_->AcquireLayer()); layer 175 content/browser/web_contents/aura/overscroll_navigation_overlay.cc if (layer.get()) { layer 178 content/browser/web_contents/aura/overscroll_navigation_overlay.cc (new OverlayDismissAnimator(layer.Pass()))->Animate(); layer 199 content/browser/web_contents/aura/overscroll_navigation_overlay.cc ui::Layer* layer = new ui::Layer(ui::LAYER_TEXTURED); layer 200 content/browser/web_contents/aura/overscroll_navigation_overlay.cc layer->set_delegate(layer_delegate_.get()); layer 201 content/browser/web_contents/aura/overscroll_navigation_overlay.cc return layer; layer 267 content/browser/web_contents/aura/overscroll_navigation_overlay.cc window_->layer()->SetTransform(gfx::Transform()); layer 31 content/browser/web_contents/aura/shadow_layer_delegate.h ui::Layer* layer() { return layer_.get(); } layer 95 content/browser/web_contents/aura/window_slider.cc ui::Layer* parent = owner_->layer()->parent(); layer 98 content/browser/web_contents/aura/window_slider.cc parent->StackAbove(slider_.get(), owner_->layer()); layer 100 content/browser/web_contents/aura/window_slider.cc parent->StackBelow(slider_.get(), owner_->layer()); layer 101 content/browser/web_contents/aura/window_slider.cc slider_->SetBounds(owner_->layer()->bounds()); layer 146 content/browser/web_contents/aura/window_slider.cc translate_layer = owner_->layer(); layer 170 content/browser/web_contents/aura/window_slider.cc ui::Layer* sliding = delta_x_ < 0 ? slider_.get() : owner_->layer(); layer 207 content/browser/web_contents/aura/window_slider.cc translate_layer = owner_->layer(); layer 227 content/browser/web_contents/aura/window_slider.cc scoped_ptr<ui::Layer> layer, scoped_ptr<ShadowLayerDelegate> shadow) { layer 230 content/browser/web_contents/aura/window_slider.cc layer.reset(); layer 235 content/browser/web_contents/aura/window_slider.cc scoped_ptr<ui::Layer> layer, scoped_ptr<ShadowLayerDelegate> shadow) { layer 238 content/browser/web_contents/aura/window_slider.cc layer.reset(); layer 100 content/browser/web_contents/aura/window_slider.h void SlideAnimationCompleted(scoped_ptr<ui::Layer> layer, layer 103 content/browser/web_contents/aura/window_slider.h void ResetSlideAnimationCompleted(scoped_ptr<ui::Layer> layer, layer 124 content/browser/web_contents/aura/window_slider_unittest.cc ui::Layer* layer = new ui::Layer(ui::LAYER_SOLID_COLOR); layer 125 content/browser/web_contents/aura/window_slider_unittest.cc layer->SetColor(SK_ColorRED); layer 126 content/browser/web_contents/aura/window_slider_unittest.cc return layer; layer 343 content/browser/web_contents/aura/window_slider_unittest.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); layer 598 content/browser/web_contents/aura/window_slider_unittest.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); layer 742 content/browser/web_contents/web_contents_view_aura.cc overscroll_window_->layer()->SetMasksToBounds(false); layer 768 content/browser/web_contents/web_contents_view_aura.cc overscroll_shadow_.reset(new ShadowLayerDelegate(animate_window->layer())); layer 774 content/browser/web_contents/web_contents_view_aura.cc content->layer()->GetAnimator()->AbortAllAnimations(); layer 776 content/browser/web_contents/web_contents_view_aura.cc content->layer()->SetLayerBrightness(0.f); layer 786 content/browser/web_contents/web_contents_view_aura.cc ui::ScopedLayerAnimationSettings settings(target->layer()->GetAnimator()); layer 794 content/browser/web_contents/web_contents_view_aura.cc ui::ScopedLayerAnimationSettings settings(target->layer()->GetAnimator()); layer 819 content/browser/web_contents/web_contents_view_aura.cc ui::ScopedLayerAnimationSettings settings(target->layer()->GetAnimator()); layer 888 content/browser/web_contents/web_contents_view_aura.cc window->layer()->SetLayerBrightness(brightness); layer 1009 content/browser/web_contents/web_contents_view_aura.cc window_->layer()->SetMasksToBounds(true); layer 1205 content/browser/web_contents/web_contents_view_aura.cc ui::ScopedLayerAnimationSettings settings(target->layer()->GetAnimator()); layer 1252 content/browser/web_contents/web_contents_view_aura.cc target->layer()->GetAnimator()->AbortAllAnimations(); layer 1290 content/browser/web_contents/web_contents_view_aura.cc content->layer()->SetLayerBrightness(0.f); layer 19 content/public/browser/android/content_view_layer_renderer.h virtual void AttachLayer(blink::WebLayer* layer) = 0; layer 20 content/public/browser/android/content_view_layer_renderer.h virtual void DetachLayer(blink::WebLayer* layer) = 0; layer 202 content/renderer/child_frame_compositing_helper.cc cc::Layer* layer) { layer 210 content/renderer/child_frame_compositing_helper.cc layer->SetBounds(device_scale_adjusted_size); layer 129 content/renderer/child_frame_compositing_helper.h cc::Layer* layer); layer 76 content/renderer/gpu/gpu_benchmarking_extension.cc void Serialize(const cc::Layer* layer) { layer 77 content/renderer/gpu/gpu_benchmarking_extension.cc const cc::LayerList& children = layer->children(); layer 82 content/renderer/gpu/gpu_benchmarking_extension.cc skia::RefPtr<SkPicture> picture = layer->GetPicture(); layer 420 content/renderer/gpu/render_widget_compositor.cc void RenderWidgetCompositor::setRootLayer(const blink::WebLayer& layer) { layer 422 content/renderer/gpu/render_widget_compositor.cc static_cast<const webkit::WebLayerImpl*>(&layer)->layer()); layer 504 content/renderer/gpu/render_widget_compositor.cc void RenderWidgetCompositor::registerForAnimations(blink::WebLayer* layer) { layer 505 content/renderer/gpu/render_widget_compositor.cc cc::Layer* cc_layer = static_cast<webkit::WebLayerImpl*>(layer)->layer(); layer 515 content/renderer/gpu/render_widget_compositor.cc static_cast<const webkit::WebLayerImpl*>(pageScaleLayer)->layer(), layer 517 content/renderer/gpu/render_widget_compositor.cc ->layer(), layer 521 content/renderer/gpu/render_widget_compositor.cc outerViewportScrollLayer)->layer() layer 77 content/renderer/gpu/render_widget_compositor.h virtual void setRootLayer(const blink::WebLayer& layer); layer 105 content/renderer/gpu/render_widget_compositor.h virtual void registerForAnimations(blink::WebLayer* layer); layer 1148 content/renderer/media/android/webmediaplayer_android.cc cc::Layer* layer = video_weblayer_->layer(); layer 1149 content/renderer/media/android/webmediaplayer_android.cc gfx::RectF rect(layer->bounds()); layer 1150 content/renderer/media/android/webmediaplayer_android.cc while (layer) { layer 1151 content/renderer/media/android/webmediaplayer_android.cc rect.Offset(layer->position().OffsetFromOrigin()); layer 1152 content/renderer/media/android/webmediaplayer_android.cc layer = layer->parent(); layer 36 content/renderer/pepper/fullscreen_container.h virtual void SetLayer(blink::WebLayer* layer) = 0; layer 404 content/renderer/render_widget_fullscreen_pepper.cc void RenderWidgetFullscreenPepper::SetLayer(blink::WebLayer* layer) { layer 405 content/renderer/render_widget_fullscreen_pepper.cc layer_ = layer; layer 39 content/renderer/render_widget_fullscreen_pepper.h virtual void SetLayer(blink::WebLayer* layer) OVERRIDE; layer 33 content/shell/android/shell_manager.h void ShellAttachLayer(blink::WebLayer* layer); layer 34 content/shell/android/shell_manager.h void ShellRemoveLayer(blink::WebLayer* layer); layer 59 content/test/web_layer_tree_view_impl_for_testing.cc static_cast<const WebLayerImpl*>(&root)->layer()); layer 165 content/test/web_layer_tree_view_impl_for_testing.cc static_cast<const WebLayerImpl*>(pageScaleLayer)->layer(), layer 166 content/test/web_layer_tree_view_impl_for_testing.cc static_cast<const WebLayerImpl*>(innerViewportScrollLayer)->layer(), layer 170 content/test/web_layer_tree_view_impl_for_testing.cc ? static_cast<const WebLayerImpl*>(outerViewportScrollLayer)->layer() layer 33 content/test/web_layer_tree_view_impl_for_testing.h virtual void setRootLayer(const blink::WebLayer& layer); layer 1039 media/base/container_names.cc int layer = ReadBits(&reader, 2); layer 1040 media/base/container_names.cc RCHECK(layer != 0); layer 1063 media/base/container_names.cc if (layer == LAYER_1) layer 1065 media/base/container_names.cc else if (layer == LAYER_2) layer 1070 media/base/container_names.cc if (layer == LAYER_1) layer 1075 media/base/container_names.cc if (layer == LAYER_1) layer 190 media/formats/mp4/box_definitions.cc layer(-1), layer 215 media/formats/mp4/box_definitions.cc reader->Read2s(&layer) && layer 118 media/formats/mp4/box_definitions.h int16 layer; layer 34 media/formats/mpeg/adts_stream_parser.cc int layer; layer 45 media/formats/mpeg/adts_stream_parser.cc !reader.ReadBits(2, &layer) || layer 62 media/formats/mpeg/adts_stream_parser.cc << " layer 0x" << layer layer 68 media/formats/mpeg/adts_stream_parser.cc if (sync != 0xfff || layer != 0 || frame_length < bytes_read || layer 74 media/formats/mpeg/adts_stream_parser.cc << " layer 0x" << layer layer 111 media/formats/mpeg/mp3_stream_parser.cc int layer; layer 122 media/formats/mpeg/mp3_stream_parser.cc !reader.ReadBits(2, &layer) || layer 136 media/formats/mpeg/mp3_stream_parser.cc << " layer 0x" << layer layer 143 media/formats/mpeg/mp3_stream_parser.cc layer == kLayerReserved || layer 149 media/formats/mpeg/mp3_stream_parser.cc << " layer 0x" << layer layer 156 media/formats/mpeg/mp3_stream_parser.cc if (layer == kLayer2 && kIsAllowed[bitrate_index][channel_mode]) { layer 164 media/formats/mpeg/mp3_stream_parser.cc int bitrate = kBitrateMap[bitrate_index][kVersionLayerMap[version][layer]]; layer 169 media/formats/mpeg/mp3_stream_parser.cc << " layer " << layer layer 190 media/formats/mpeg/mp3_stream_parser.cc switch (layer) { layer 215 media/formats/mpeg/mp3_stream_parser.cc if (layer == kLayer1) { layer 227 media/formats/mpeg/mp3_stream_parser.cc *frame_size += (layer == kLayer1) ? 4 : 1; layer 33 mojo/examples/aura_demo/demo_context_factory.h ui::Layer* layer) OVERRIDE; layer 178 net/third_party/nss/ssl/sslsock.c PRFileDesc *layer; layer 184 net/third_party/nss/ssl/sslsock.c layer = PR_GetIdentitiesLayer(fd, ssl_layer_id); layer 185 net/third_party/nss/ssl/sslsock.c if (layer == NULL) { layer 190 net/third_party/nss/ssl/sslsock.c ss = (sslSocket *)layer->secret; layer 191 net/third_party/nss/ssl/sslsock.c ss->fd = layer; layer 2870 net/third_party/nss/ssl/sslsock.c PRFileDesc *layer = NULL; layer 2882 net/third_party/nss/ssl/sslsock.c layer = PR_CreateIOLayerStub(ssl_layer_id, &combined_methods); layer 2883 net/third_party/nss/ssl/sslsock.c if (layer == NULL) layer 2885 net/third_party/nss/ssl/sslsock.c layer->secret = (PRFilePrivate *)ns; layer 2898 net/third_party/nss/ssl/sslsock.c status = PR_PushIOLayer(stack, id, layer); layer 2902 net/third_party/nss/ssl/sslsock.c ns->fd = (id == PR_TOP_IO_LAYER) ? stack : layer; layer 2906 net/third_party/nss/ssl/sslsock.c if (layer) { layer 2907 net/third_party/nss/ssl/sslsock.c layer->dtor(layer); /* free layer */ layer 202 skia/ext/platform_canvas_unittest.cc LayerSaver layer(*canvas, kLayerX, kLayerY, kLayerW, kLayerH); layer 227 skia/ext/platform_canvas_unittest.cc LayerSaver layer(*canvas, 0, 0, 16, 16); layer 246 skia/ext/platform_canvas_unittest.cc LayerSaver layer(*canvas, kLayerX, kLayerY, kLayerW, kLayerH); layer 257 skia/ext/platform_canvas_unittest.cc LayerSaver layer(*canvas, kLayerX, kLayerY, kLayerW, kLayerH); layer 268 skia/ext/platform_canvas_unittest.cc LayerSaver layer(*canvas, kLayerX, kLayerY, kLayerW, kLayerH); layer 284 skia/ext/platform_canvas_unittest.cc LayerSaver layer(*canvas, kLayerX, kLayerY, kLayerW, kLayerH); layer 307 skia/ext/platform_canvas_unittest.cc LayerSaver layer(*canvas, kLayerX, kLayerY, kLayerW, kLayerH); layer 322 skia/ext/platform_canvas_unittest.cc LayerSaver layer(*canvas, kLayerX, kLayerY, kLayerW, kLayerH); layer 336 skia/ext/platform_canvas_unittest.cc LayerSaver layer(*canvas, kLayerX, kLayerY, kLayerW, kLayerH); layer 352 skia/ext/platform_canvas_unittest.cc LayerSaver layer(*canvas, kLayerX, kLayerY, kLayerW, kLayerH); layer 373 skia/ext/platform_canvas_unittest.cc LayerSaver layer(*canvas, kLayerX, kLayerY, kLayerW, kLayerH); layer 547 third_party/npapi/npspy/extern/nspr/prio.h PRFileDesc *fd_stack, PRDescIdentity id, PRFileDesc *layer); layer 93 ui/app_list/views/app_list_folder_view.cc layer()->GetAnimator()->StopAnimating(); layer 100 ui/app_list/views/app_list_folder_view.cc layer()->SetOpacity(show ? 0.0f : 1.0f); layer 104 ui/app_list/views/app_list_folder_view.cc ui::ScopedLayerAnimationSettings animation(layer()->GetAnimator()); layer 111 ui/app_list/views/app_list_folder_view.cc layer()->SetOpacity(show ? 1.0f : 0.0f); layer 138 ui/app_list/views/app_list_folder_view.cc if (layer()->opacity() == 0.0f) layer 152 ui/app_list/views/app_list_folder_view.cc if (layer()->opacity() == 1.0f) layer 157 ui/app_list/views/app_list_folder_view.cc if (layer()->opacity() == 0.0f && !hide_for_reparent_) layer 161 ui/app_list/views/app_list_item_view.cc ui::ScopedLayerAnimationSettings settings(layer()->GetAnimator()); layer 164 ui/app_list/views/app_list_item_view.cc layer()->SetTransform(gfx::Transform()); layer 167 ui/app_list/views/app_list_item_view.cc const gfx::Rect bounds(layer()->bounds().size()); layer 168 ui/app_list/views/app_list_item_view.cc layer()->SetTransform(gfx::GetScaleTransform( layer 117 ui/app_list/views/app_list_main_view.cc contents_view_->layer()->SetMasksToBounds(true); layer 277 ui/app_list/views/app_list_view.cc app_list_main_view_->layer()->SetMasksToBounds(true); layer 292 ui/app_list/views/app_list_view.cc speech_view_->layer()->SetOpacity(0.0f); layer 316 ui/app_list/views/app_list_view.cc window->layer()->SetMasksToBounds(true); layer 479 ui/app_list/views/app_list_view.cc speech_view_->layer()->SetTransform(speech_transform); layer 483 ui/app_list/views/app_list_view.cc app_list_main_view_->layer()->GetAnimator()); layer 488 ui/app_list/views/app_list_view.cc app_list_main_view_->layer()->SetOpacity(recognizing ? 0.0f : 1.0f); layer 493 ui/app_list/views/app_list_view.cc speech_view_->layer()->GetAnimator()); layer 499 ui/app_list/views/app_list_view.cc speech_view_->layer()->SetOpacity(recognizing ? 1.0f : 0.0f); layer 501 ui/app_list/views/app_list_view.cc speech_view_->layer()->SetTransform(gfx::Transform()); layer 503 ui/app_list/views/app_list_view.cc speech_view_->layer()->SetTransform(speech_transform); layer 108 ui/app_list/views/apps_grid_view.cc ui::Layer* layer, layer 111 ui/app_list/views/apps_grid_view.cc layer_(layer), layer 112 ui/app_list/views/apps_grid_view.cc layer_start_(layer ? layer->bounds() : gfx::Rect()), layer 119 ui/app_list/views/apps_grid_view.cc view_->layer()->SetOpacity(animation->GetCurrentValue()); layer 120 ui/app_list/views/apps_grid_view.cc view_->layer()->ScheduleDraw(); layer 130 ui/app_list/views/apps_grid_view.cc view_->layer()->SetOpacity(1.0f); layer 131 ui/app_list/views/apps_grid_view.cc view_->layer()->ScheduleDraw(); layer 134 ui/app_list/views/apps_grid_view.cc view_->layer()->SetOpacity(1.0f); layer 135 ui/app_list/views/apps_grid_view.cc view_->layer()->ScheduleDraw(); layer 164 ui/app_list/views/apps_grid_view.cc view_->layer()->SetOpacity(1 - animation->GetCurrentValue()); layer 165 ui/app_list/views/apps_grid_view.cc view_->layer()->ScheduleDraw(); layer 372 ui/app_list/views/apps_grid_view.cc layer()->SetOpacity(1.0f); layer 695 ui/app_list/views/apps_grid_view.cc layer()->GetAnimator()->StopAnimating(); layer 699 ui/app_list/views/apps_grid_view.cc layer()->SetOpacity(show ? 0.0f : 1.0f); layer 701 ui/app_list/views/apps_grid_view.cc ui::ScopedLayerAnimationSettings animation(layer()->GetAnimator()); layer 708 ui/app_list/views/apps_grid_view.cc layer()->SetOpacity(show ? 1.0f : 0.0f); layer 1162 ui/app_list/views/apps_grid_view.cc scoped_ptr<ui::Layer> layer; layer 1164 ui/app_list/views/apps_grid_view.cc layer = view->RecreateLayer(); layer 1165 ui/app_list/views/apps_grid_view.cc layer->SuppressPaint(); layer 1168 ui/app_list/views/apps_grid_view.cc view->layer()->SetOpacity(0.f); layer 1184 ui/app_list/views/apps_grid_view.cc new RowMoveAnimationDelegate(view, layer.release(), current_out), layer 1906 ui/app_list/views/apps_grid_view.cc ui::ScopedLayerAnimationSettings animator(view->layer()->GetAnimator()); layer 1910 ui/app_list/views/apps_grid_view.cc view->layer()->SetOpacity(hide ? 0 : 1); layer 1915 ui/app_list/views/apps_grid_view.cc if (layer()->opacity() == 0.0f) layer 42 ui/app_list/views/folder_background_view.cc const gfx::Rect bounds(layer()->bounds().size()); layer 46 ui/app_list/views/folder_background_view.cc layer()->SetOpacity(0.0f); layer 47 ui/app_list/views/folder_background_view.cc layer()->SetTransform(transform); layer 49 ui/app_list/views/folder_background_view.cc layer()->SetOpacity(1.0f); layer 50 ui/app_list/views/folder_background_view.cc layer()->SetTransform(gfx::Transform()); layer 53 ui/app_list/views/folder_background_view.cc ui::ScopedLayerAnimationSettings settings(layer()->GetAnimator()); layer 59 ui/app_list/views/folder_background_view.cc layer()->SetOpacity(1.0f); layer 60 ui/app_list/views/folder_background_view.cc layer()->SetTransform(gfx::Transform()); layer 63 ui/app_list/views/folder_background_view.cc layer()->SetOpacity(0.0f); layer 64 ui/app_list/views/folder_background_view.cc layer()->SetTransform(transform); layer 27 ui/app_list/views/pulsing_block_view.cc void SchedulePulsingAnimation(ui::Layer* layer) { layer 28 ui/app_list/views/pulsing_block_view.cc DCHECK(layer); layer 40 ui/app_list/views/pulsing_block_view.cc const gfx::Rect local_bounds(layer->bounds().size()); layer 66 ui/app_list/views/pulsing_block_view.cc layer->GetAnimator()->ScheduleTogether(animations); layer 93 ui/app_list/views/pulsing_block_view.cc SchedulePulsingAnimation(layer()); layer 48 ui/app_list/views/top_icon_animation_view.cc transform.Translate(scaled_rect_.x() - layer()->bounds().x(), layer 49 ui/app_list/views/top_icon_animation_view.cc scaled_rect_.y() - layer()->bounds().y()); layer 54 ui/app_list/views/top_icon_animation_view.cc layer()->SetTransform(transform); layer 59 ui/app_list/views/top_icon_animation_view.cc ui::ScopedLayerAnimationSettings settings(layer()->GetAnimator()); layer 64 ui/app_list/views/top_icon_animation_view.cc layer()->SetTransform(open_folder_ ? gfx::Transform() : transform); layer 259 ui/aura/bench/bench_main.cc SoftwareScrollBench(ColoredLayer* layer, layer 263 ui/aura/bench/bench_main.cc layer_(layer), layer 327 ui/aura/bench/bench_main.cc host->window()->layer()->Add(&background); layer 361 ui/aura/bench/bench_main.cc ui::PrintLayerHierarchy(host->window()->layer(), gfx::Point(100, 100)); layer 74 ui/aura/test/test_windows.cc return ObjectIsAbove<ui::Layer>(upper->layer(), lower->layer()); layer 96 ui/aura/window.cc if (target->layer()) layer 97 ui/aura/window.cc return target->layer(); layer 101 ui/aura/window.cc ui::Layer* layer = FindStackingTargetLayerDown<T>(*i, ignore); layer 102 ui/aura/window.cc if (layer) layer 103 ui/aura/window.cc return layer; layer 119 ui/aura/window.cc ui::Layer* layer = FindStackingTargetLayerDown<T>(*i, ignore); layer 120 ui/aura/window.cc if (layer) layer 121 ui/aura/window.cc return layer; layer 141 ui/aura/window.cc if (target->layer()) layer 150 ui/aura/window.cc if (child->layer()) { layer 151 ui/aura/window.cc layers->push_back(child->layer()); layer 221 ui/aura/window.cc if (layer()) layer 222 ui/aura/window.cc layer()->SuppressPaint(); layer 276 ui/aura/window.cc if (layer()) layer 277 ui/aura/window.cc layer()->set_delegate(NULL); layer 284 ui/aura/window.cc layer()->SetVisible(false); layer 285 ui/aura/window.cc layer()->set_delegate(this); layer 287 ui/aura/window.cc layer()->SetFillsBoundsOpaquely(!transparent_); layer 295 ui/aura/window.cc DCHECK(!layer()); layer 302 ui/aura/window.cc if (layer()) layer 308 ui/aura/window.cc if (layer()) layer 309 ui/aura/window.cc layer()->SetFillsBoundsOpaquely(!transparent_); layer 313 ui/aura/window.cc if (layer()) layer 314 ui/aura/window.cc layer()->SetFillsBoundsCompletely(fills_bounds); layer 337 ui/aura/window.cc if (layer()) { layer 338 ui/aura/window.cc DCHECK_EQ(visible_, layer()->GetTargetVisibility()); layer 361 ui/aura/window.cc if (window->layer()) layer 362 ui/aura/window.cc return window->layer()->IsDrawn(); layer 394 ui/aura/window.cc if (!layer()) { layer 401 ui/aura/window.cc layer()->SetTransform(transform); layer 448 ui/aura/window.cc if (!layer()) layer 451 ui/aura/window.cc if (!parent_ || parent_->layer()) layer 452 ui/aura/window.cc return layer()->GetTargetBounds(); layer 461 ui/aura/window.cc return layer()->GetTargetBounds(); layer 463 ui/aura/window.cc gfx::Rect layer_target_bounds = layer()->GetTargetBounds(); layer 469 ui/aura/window.cc if (!layer() && parent_) { layer 477 ui/aura/window.cc } else if (layer() && layer()->SchedulePaint(rect)) { layer 522 ui/aura/window.cc child->ReparentLayers(ancestor_with_layer->layer(), offset); layer 599 ui/aura/window.cc } else if ((source != target) && (!source->layer() || !target->layer())) { layer 600 ui/aura/window.cc if (!source->layer()) { layer 605 ui/aura/window.cc if (!target->layer()) { layer 610 ui/aura/window.cc ui::Layer::ConvertPointToLayer(source->layer(), target->layer(), point); layer 612 ui/aura/window.cc ui::Layer::ConvertPointToLayer(source->layer(), target->layer(), point); layer 763 ui/aura/window.cc if (layer()) layer 764 ui/aura/window.cc layer()->SuppressPaint(); layer 793 ui/aura/window.cc layer() ? layer 794 ui/aura/window.cc (layer()->GetTargetVisibility() ? "LayerVisible" : "LayerHidden") : layer 796 ui/aura/window.cc layer() ? layer()->opacity() : 1.0f); layer 890 ui/aura/window.cc if (!layer()) { layer 896 ui/aura/window.cc if (parent_ && !parent_->layer()) { layer 903 ui/aura/window.cc layer()->SetBounds(actual_new_bounds); layer 909 ui/aura/window.cc if (!layer() || layer()->delegate() != this) layer 914 ui/aura/window.cc if ((layer() && visible == layer()->GetTargetVisibility()) || layer 915 ui/aura/window.cc (!layer() && visible == visible_)) layer 925 ui/aura/window.cc else if (layer()) layer 926 ui/aura/window.cc layer()->SetVisible(visible); layer 951 ui/aura/window.cc if (!child->layer() && child->visible_) { layer 1028 ui/aura/window.cc child->UnparentLayers(!layer(), offset); layer 1040 ui/aura/window.cc if (!layer()) { layer 1050 ui/aura/window.cc if (layer()->parent()) layer 1051 ui/aura/window.cc layer()->parent()->Remove(layer()); layer 1054 ui/aura/window.cc gfx::Rect layer_bounds(layer()->bounds()); layer 1056 ui/aura/window.cc layer()->SetBounds(layer_bounds); layer 1065 ui/aura/window.cc if (!layer()) { layer 1073 ui/aura/window.cc parent_layer->Add(layer()); layer 1074 ui/aura/window.cc gfx::Rect layer_bounds(layer()->bounds().size()); layer 1076 ui/aura/window.cc layer()->SetBounds(layer_bounds); layer 1082 ui/aura/window.cc if (!layer()) { layer 1086 ui/aura/window.cc gfx::Rect layer_bounds(layer()->bounds()); layer 1088 ui/aura/window.cc layer()->SetBounds(layer_bounds); layer 1139 ui/aura/window.cc ancestor_with_layer ? ancestor_with_layer->layer() : NULL; layer 1143 ui/aura/window.cc if (child->layer() && target->layer()) { layer 1145 ui/aura/window.cc ancestor_layer->StackAbove(child->layer(), target->layer()); layer 1147 ui/aura/window.cc ancestor_layer->StackBelow(child->layer(), target->layer()); layer 1316 ui/aura/window.cc if (layer()) { layer 1317 ui/aura/window.cc bounds_ = layer()->bounds(); layer 1318 ui/aura/window.cc if (parent_ && !parent_->layer()) { layer 1410 ui/aura/window.cc DCHECK(layer()); layer 1419 ui/aura/window.cc layer()->set_name(layer_name); layer 1435 ui/aura/window.cc if (window->layer()) layer 592 ui/aura/window_event_dispatcher.cc ui::ConvertPointToDIP(host_->window()->layer(), point)); layer 46 ui/aura/window_targeter_unittest.cc CHECK(window->layer()); layer 47 ui/aura/window_targeter_unittest.cc CHECK(root->layer()); layer 49 ui/aura/window_targeter_unittest.cc if (!window->layer()->GetTargetTransformRelativeTo(root->layer(), &transform)) layer 62 ui/aura/window_tree_host.cc gfx::RectF new_bounds(ui::ConvertRectToDIP(root_window_->layer(), bounds)); layer 115 ui/aura/window_tree_host.cc compositor_->SetRootLayer(window()->layer()); layer 139 ui/aura/window_tree_host.cc if (!window()->layer()->GetAnimator()->is_animating()) layer 144 ui/aura/window_tree_host.cc float scale = ui::GetDeviceScaleFactor(window()->layer()); layer 158 ui/aura/window_tree_host.cc float scale = ui::GetDeviceScaleFactor(window()->layer()); layer 668 ui/aura/window_unittest.cc ASSERT_EQ(2u, parent.layer()->children().size()); layer 669 ui/aura/window_unittest.cc EXPECT_EQ(child1.layer(), parent.layer()->children()[0]); layer 670 ui/aura/window_unittest.cc EXPECT_EQ(child2.layer(), parent.layer()->children()[1]); layer 676 ui/aura/window_unittest.cc ASSERT_EQ(2u, parent.layer()->children().size()); layer 677 ui/aura/window_unittest.cc EXPECT_EQ(child1.layer(), parent.layer()->children()[1]); layer 678 ui/aura/window_unittest.cc EXPECT_EQ(child2.layer(), parent.layer()->children()[0]); layer 732 ui/aura/window_unittest.cc ASSERT_EQ(2u, parent.layer()->children().size()); layer 733 ui/aura/window_unittest.cc EXPECT_EQ(child2.layer(), parent.layer()->children()[0]); layer 734 ui/aura/window_unittest.cc EXPECT_EQ(child1.layer(), parent.layer()->children()[1]); layer 744 ui/aura/window_unittest.cc ASSERT_EQ(3u, parent.layer()->children().size()); layer 745 ui/aura/window_unittest.cc EXPECT_EQ(child1.layer(), parent.layer()->children()[0]); layer 746 ui/aura/window_unittest.cc EXPECT_EQ(child2.layer(), parent.layer()->children()[1]); layer 747 ui/aura/window_unittest.cc EXPECT_EQ(child3.layer(), parent.layer()->children()[2]); layer 755 ui/aura/window_unittest.cc ASSERT_EQ(3u, parent.layer()->children().size()); layer 756 ui/aura/window_unittest.cc EXPECT_EQ(child2.layer(), parent.layer()->children()[0]); layer 757 ui/aura/window_unittest.cc EXPECT_EQ(child3.layer(), parent.layer()->children()[1]); layer 758 ui/aura/window_unittest.cc EXPECT_EQ(child1.layer(), parent.layer()->children()[2]); layer 766 ui/aura/window_unittest.cc ASSERT_EQ(3u, parent.layer()->children().size()); layer 767 ui/aura/window_unittest.cc EXPECT_EQ(child2.layer(), parent.layer()->children()[0]); layer 768 ui/aura/window_unittest.cc EXPECT_EQ(child1.layer(), parent.layer()->children()[1]); layer 769 ui/aura/window_unittest.cc EXPECT_EQ(child3.layer(), parent.layer()->children()[2]); layer 1629 ui/aura/window_unittest.cc EXPECT_FALSE(!w1->layer()); layer 1630 ui/aura/window_unittest.cc w1->layer()->GetAnimator()->set_disable_timer_for_test(true); layer 1631 ui/aura/window_unittest.cc gfx::AnimationContainerElement* element = w1->layer()->GetAnimator(); layer 1634 ui/aura/window_unittest.cc EXPECT_EQ("0,0 100x100", w1->layer()->GetTargetBounds().ToString()); layer 1638 ui/aura/window_unittest.cc ui::ScopedLayerAnimationSettings settings(w1->layer()->GetAnimator()); layer 1643 ui/aura/window_unittest.cc EXPECT_EQ("100,100 100x100", w1->layer()->GetTargetBounds().ToString()); layer 1650 ui/aura/window_unittest.cc ui::ScopedLayerAnimationSettings settings(w1->layer()->GetAnimator()); layer 1655 ui/aura/window_unittest.cc EXPECT_EQ("0,0 100x100", w1->layer()->GetTargetBounds().ToString()); layer 1659 ui/aura/window_unittest.cc w1->layer()->GetAnimator()->last_step_time(); layer 1870 ui/aura/window_unittest.cc ui::Layer* parent = window1->parent()->layer(); layer 1883 ui/aura/window_unittest.cc EXPECT_TRUE(window1_layer.get() == window1->layer()); layer 1910 ui/aura/window_unittest.cc ui::Layer* layer = w.layer(); layer 1911 ui/aura/window_unittest.cc layer->set_scale_content(false); layer 1912 ui/aura/window_unittest.cc layer->SetVisible(false); layer 1913 ui/aura/window_unittest.cc layer->SetMasksToBounds(true); layer 1916 ui/aura/window_unittest.cc layer->Add(&child_layer); layer 1919 ui/aura/window_unittest.cc layer = w.layer(); layer 1920 ui/aura/window_unittest.cc EXPECT_EQ(ui::LAYER_SOLID_COLOR, layer->type()); layer 1921 ui/aura/window_unittest.cc EXPECT_FALSE(layer->scale_content()); layer 1922 ui/aura/window_unittest.cc EXPECT_FALSE(layer->visible()); layer 1923 ui/aura/window_unittest.cc EXPECT_EQ(1u, layer->children().size()); layer 1924 ui/aura/window_unittest.cc EXPECT_TRUE(layer->GetMasksToBounds()); layer 1926 ui/aura/window_unittest.cc EXPECT_EQ("0,0 100x100", layer->bounds().ToString()); layer 1938 ui/aura/window_unittest.cc root_window()->layer()->children(); layer 1940 ui/aura/window_unittest.cc EXPECT_EQ(w->layer(), child_layers[0]); layer 1960 ui/aura/window_unittest.cc window1->layer()->set_name("1"); layer 1962 ui/aura/window_unittest.cc window2->layer()->set_name("2"); layer 1964 ui/aura/window_unittest.cc window3->layer()->set_name("3"); layer 1968 ui/aura/window_unittest.cc ui::test::ChildLayerNamesAsString(*root_window()->layer())); layer 1969 ui/aura/window_unittest.cc window1->layer()->set_delegate(NULL); layer 1975 ui/aura/window_unittest.cc ui::test::ChildLayerNamesAsString(*root_window()->layer())); layer 1995 ui/aura/window_unittest.cc window->layer()->SetVisible(visible); layer 2008 ui/aura/window_unittest.cc EXPECT_TRUE(window->layer()->visible()); layer 2012 ui/aura/window_unittest.cc EXPECT_FALSE(window->layer()->visible()); layer 2018 ui/aura/window_unittest.cc EXPECT_TRUE(window->layer()->visible()); layer 2309 ui/aura/window_unittest.cc window->layer()->GetAnimator()->set_disable_timer_for_test(true); layer 2315 ui/aura/window_unittest.cc ui::ScopedLayerAnimationSettings settings(window->layer()->GetAnimator()); layer 2325 ui/aura/window_unittest.cc window->layer()->GetAnimator()->last_step_time(); layer 2326 ui/aura/window_unittest.cc gfx::AnimationContainerElement* element = window->layer()->GetAnimator(); layer 2344 ui/aura/window_unittest.cc window->layer()->GetAnimator()->set_disable_timer_for_test(true); layer 2351 ui/aura/window_unittest.cc EXPECT_EQ(NULL, window->layer()->delegate()); layer 2355 ui/aura/window_unittest.cc ui::ScopedLayerAnimationSettings settings(window->layer()->GetAnimator()); layer 2367 ui/aura/window_unittest.cc window->layer()->GetAnimator()->last_step_time(); layer 2368 ui/aura/window_unittest.cc gfx::AnimationContainerElement* element = window->layer()->GetAnimator(); layer 2374 ui/aura/window_unittest.cc EXPECT_NE("0,0 100x100", window->layer()->bounds().ToString()); layer 2649 ui/aura/window_unittest.cc root.layer()->SendDamagedRects(); layer 2653 ui/aura/window_unittest.cc gfx::SkIRectToRect(root.layer()->damaged_region().getBounds()). layer 2661 ui/aura/window_unittest.cc root.layer()->SendDamagedRects(); layer 2666 ui/aura/window_unittest.cc gfx::SkIRectToRect(root.layer()->damaged_region().getBounds()). layer 2713 ui/aura/window_unittest.cc EXPECT_EQ(root.layer(), w111->layer()->parent()); layer 2714 ui/aura/window_unittest.cc EXPECT_EQ(root.layer(), w12->layer()->parent()); layer 2715 ui/aura/window_unittest.cc EXPECT_EQ(w12->layer(), w121->layer()->parent()); layer 2725 ui/aura/window_unittest.cc EXPECT_EQ("8,10 100x100", w12->layer()->bounds().ToString()); layer 2726 ui/aura/window_unittest.cc EXPECT_EQ("9,12 100x100", w111->layer()->bounds().ToString()); layer 2727 ui/aura/window_unittest.cc EXPECT_EQ("9,10 100x100", w121->layer()->bounds().ToString()); layer 2732 ui/aura/window_unittest.cc EXPECT_TRUE(w111->layer()->parent() == NULL); layer 2733 ui/aura/window_unittest.cc EXPECT_TRUE(w12->layer()->parent() == NULL); layer 2743 ui/aura/window_unittest.cc EXPECT_EQ("7,8 100x100", w12->layer()->bounds().ToString()); layer 2744 ui/aura/window_unittest.cc EXPECT_EQ("5,6 100x100", w111->layer()->bounds().ToString()); layer 2745 ui/aura/window_unittest.cc EXPECT_EQ("9,10 100x100", w121->layer()->bounds().ToString()); layer 2795 ui/aura/window_unittest.cc EXPECT_EQ("11,14 11x12", w111->layer()->bounds().ToString()); layer 2801 ui/aura/window_unittest.cc EXPECT_EQ("9,12 100x100", w111->layer()->bounds().ToString()); layer 2810 ui/aura/window_unittest.cc EXPECT_EQ("11,14 100x100", w111->layer()->bounds().ToString()); layer 2817 ui/aura/window_unittest.cc EXPECT_EQ("7,8 11x12", w111->layer()->bounds().ToString()); layer 3035 ui/aura/window_unittest.cc if (window->layer()) layer 3036 ui/aura/window_unittest.cc window->layer()->set_name(name); layer 3117 ui/aura/window_unittest.cc std::string BuildLayerTreeDescription(const ui::Layer& layer) { layer 3119 ui/aura/window_unittest.cc result += layer.name(); layer 3120 ui/aura/window_unittest.cc if (layer.children().empty()) layer 3124 ui/aura/window_unittest.cc for (size_t i = 0; i < layer.children().size(); ++i) { layer 3127 ui/aura/window_unittest.cc result += BuildLayerTreeDescription(*(layer.children()[i])); layer 3136 ui/aura/window_unittest.cc std::string BuildRootLayerTreeDescription(const ui::Layer& layer) { layer 3138 ui/aura/window_unittest.cc for (size_t i = 0; i < layer.children().size(); ++i) { layer 3141 ui/aura/window_unittest.cc result += BuildLayerTreeDescription(*(layer.children()[i])); layer 3291 ui/aura/window_unittest.cc BuildRootLayerTreeDescription(*root.layer())) layer 21 ui/base/android/window_android_compositor.h virtual void AttachLayerForReadback(scoped_refptr<cc::Layer> layer) = 0; layer 28 ui/compositor/debug_utils.cc void PrintLayerHierarchyImp(const Layer* layer, layer 34 ui/compositor/debug_utils.cc layer->transform().TransformPointReverse(&mouse_location); layer 35 ui/compositor/debug_utils.cc bool mouse_inside_layer_bounds = layer->bounds().Contains(mouse_location); layer 36 ui/compositor/debug_utils.cc mouse_location.Offset(-layer->bounds().x(), -layer->bounds().y()); layer 44 ui/compositor/debug_utils.cc *out << UTF8ToWide(layer->name()) << L' ' << layer; layer 46 ui/compositor/debug_utils.cc switch (layer->type()) { layer 52 ui/compositor/debug_utils.cc if (layer->fills_bounds_opaquely()) layer 60 ui/compositor/debug_utils.cc if (!layer->visible()) layer 65 ui/compositor/debug_utils.cc *out << L"bounds: " << layer->bounds().x() << L',' << layer->bounds().y(); layer 66 ui/compositor/debug_utils.cc *out << L' ' << layer->bounds().width() << L'x' << layer->bounds().height(); layer 68 ui/compositor/debug_utils.cc if (layer->opacity() != 1.0f) { layer 70 ui/compositor/debug_utils.cc *out << L"opacity: " << std::setprecision(2) << layer->opacity(); layer 74 ui/compositor/debug_utils.cc if (!layer->transform().IsIdentity() && layer 75 ui/compositor/debug_utils.cc gfx::DecomposeTransform(&decomp, layer->transform())) { layer 91 ui/compositor/debug_utils.cc for (size_t i = 0, count = layer->children().size(); i < count; ++i) { layer 93 ui/compositor/debug_utils.cc layer->children()[i], indent + 3, mouse_location, out); layer 99 ui/compositor/debug_utils.cc void PrintLayerHierarchy(const Layer* layer, gfx::Point mouse_location) { layer 102 ui/compositor/debug_utils.cc PrintLayerHierarchyImp(layer, 0, mouse_location, &out); layer 19 ui/compositor/debug_utils.h COMPOSITOR_EXPORT void PrintLayerHierarchy(const Layer* layer, layer 21 ui/compositor/dip_util.cc float GetDeviceScaleFactor(const Layer* layer) { layer 22 ui/compositor/dip_util.cc return layer->device_scale_factor(); layer 25 ui/compositor/dip_util.cc gfx::Point ConvertPointToDIP(const Layer* layer, layer 28 ui/compositor/dip_util.cc gfx::ScalePoint(point_in_pixel, 1.0f / GetDeviceScaleFactor(layer))); layer 31 ui/compositor/dip_util.cc gfx::PointF ConvertPointToDIP(const Layer* layer, layer 33 ui/compositor/dip_util.cc return gfx::ScalePoint(point_in_pixel, 1.0f / GetDeviceScaleFactor(layer)); layer 36 ui/compositor/dip_util.cc gfx::Size ConvertSizeToDIP(const Layer* layer, layer 39 ui/compositor/dip_util.cc gfx::ScaleSize(size_in_pixel, 1.0f / GetDeviceScaleFactor(layer))); layer 42 ui/compositor/dip_util.cc gfx::Rect ConvertRectToDIP(const Layer* layer, layer 44 ui/compositor/dip_util.cc float scale = 1.0f / GetDeviceScaleFactor(layer); layer 48 ui/compositor/dip_util.cc gfx::Point ConvertPointToPixel(const Layer* layer, layer 51 ui/compositor/dip_util.cc gfx::ScalePoint(point_in_dip, GetDeviceScaleFactor(layer))); layer 54 ui/compositor/dip_util.cc gfx::Size ConvertSizeToPixel(const Layer* layer, layer 57 ui/compositor/dip_util.cc gfx::ScaleSize(size_in_dip, GetDeviceScaleFactor(layer))); layer 60 ui/compositor/dip_util.cc gfx::Rect ConvertRectToPixel(const Layer* layer, layer 62 ui/compositor/dip_util.cc float scale = GetDeviceScaleFactor(layer); layer 21 ui/compositor/dip_util.h COMPOSITOR_EXPORT float GetDeviceScaleFactor(const Layer* layer); layer 26 ui/compositor/dip_util.h const Layer* layer, layer 29 ui/compositor/dip_util.h const Layer* layer, layer 32 ui/compositor/dip_util.h const Layer* layer, layer 35 ui/compositor/dip_util.h const Layer* layer, layer 38 ui/compositor/dip_util.h const Layer* layer, layer 41 ui/compositor/dip_util.h const Layer* layer, layer 44 ui/compositor/dip_util.h const Layer* layer, layer 38 ui/compositor/layer.cc const ui::Layer* GetRoot(const ui::Layer* layer) { layer 39 ui/compositor/layer.cc while (layer->parent()) layer 40 ui/compositor/layer.cc layer = layer->parent(); layer 41 ui/compositor/layer.cc return layer; layer 387 ui/compositor/layer.cc const Layer* layer = this; layer 388 ui/compositor/layer.cc while (layer && layer->visible_) layer 389 ui/compositor/layer.cc layer = layer->parent_; layer 390 ui/compositor/layer.cc return layer == NULL; layer 17 ui/compositor/layer_owner.cc void LayerOwner::SetLayer(Layer* layer) { layer 19 ui/compositor/layer_owner.cc layer_owner_.reset(layer); layer 20 ui/compositor/layer_owner.cc layer_ = layer; layer 21 ui/compositor/layer_owner.h void SetLayer(Layer* layer); layer 38 ui/compositor/layer_owner.h ui::Layer* layer() { return layer_; } layer 39 ui/compositor/layer_owner.h const ui::Layer* layer() const { return layer_; } layer 14 ui/compositor/layer_tree_owner.cc void DeepDeleteLayers(Layer* layer) { layer 15 ui/compositor/layer_tree_owner.cc std::vector<Layer*> children = layer->children(); layer 22 ui/compositor/layer_tree_owner.cc delete layer; layer 114 ui/compositor/layer_unittest.cc Layer* layer = new ColoredLayer(color); layer 115 ui/compositor/layer_unittest.cc layer->SetBounds(bounds); layer 116 ui/compositor/layer_unittest.cc return layer; layer 120 ui/compositor/layer_unittest.cc Layer* layer = CreateLayer(LAYER_NOT_DRAWN); layer 121 ui/compositor/layer_unittest.cc layer->SetBounds(bounds); layer 122 ui/compositor/layer_unittest.cc return layer; layer 171 ui/compositor/layer_unittest.cc void SchedulePaintForLayer(Layer* layer) { layer 172 ui/compositor/layer_unittest.cc layer->SchedulePaint( layer 173 ui/compositor/layer_unittest.cc gfx::Rect(0, 0, layer->bounds().width(), layer->bounds().height())); layer 366 ui/compositor/layer_unittest.cc scoped_ptr<Layer> layer(CreateColorLayer(SK_ColorRED, layer 368 ui/compositor/layer_unittest.cc DrawTree(layer.get()); layer 423 ui/compositor/layer_unittest.cc Layer* layer = new ColoredLayer(color); layer 424 ui/compositor/layer_unittest.cc layer->SetBounds(bounds); layer 425 ui/compositor/layer_unittest.cc return layer; layer 429 ui/compositor/layer_unittest.cc Layer* layer = CreateLayer(LAYER_NOT_DRAWN); layer 430 ui/compositor/layer_unittest.cc layer->SetBounds(bounds); layer 431 ui/compositor/layer_unittest.cc return layer; layer 440 ui/compositor/layer_unittest.cc void SchedulePaintForLayer(Layer* layer) { layer 441 ui/compositor/layer_unittest.cc layer->SchedulePaint( layer 442 ui/compositor/layer_unittest.cc gfx::Rect(0, 0, layer->bounds().width(), layer->bounds().height())); layer 616 ui/compositor/layer_unittest.cc Layer* layer = new Layer(type); layer 617 ui/compositor/layer_unittest.cc layer->set_delegate(default_layer_delegate_.get()); layer 618 ui/compositor/layer_unittest.cc return layer; layer 622 ui/compositor/layer_unittest.cc Layer* layer = CreateTextureLayer(bounds); layer 623 ui/compositor/layer_unittest.cc compositor()->SetRootLayer(layer); layer 624 ui/compositor/layer_unittest.cc return layer; layer 628 ui/compositor/layer_unittest.cc Layer* layer = CreateLayer(LAYER_TEXTURED); layer 629 ui/compositor/layer_unittest.cc layer->SetBounds(bounds); layer 630 ui/compositor/layer_unittest.cc return layer; layer 634 ui/compositor/layer_unittest.cc Layer* layer = CreateLayer(LAYER_NOT_DRAWN); layer 635 ui/compositor/layer_unittest.cc layer->SetBounds(bounds); layer 636 ui/compositor/layer_unittest.cc return layer; layer 657 ui/compositor/layer_unittest.cc scoped_ptr<Layer> layer(CreateLayer(LAYER_NOT_DRAWN)); layer 659 ui/compositor/layer_unittest.cc layer->set_name(name); layer 661 ui/compositor/layer_unittest.cc layer->TakeDebugInfo(); layer 844 ui/compositor/layer_unittest.cc scoped_ptr<Layer> layer( layer 850 ui/compositor/layer_unittest.cc layer->Add(layer2.get()); layer 852 ui/compositor/layer_unittest.cc DrawTree(layer.get()); layer 1085 ui/compositor/layer_unittest.cc void set_layer(Layer* layer) { layer 1086 ui/compositor/layer_unittest.cc layer_ = layer; layer 107 ui/compositor/scoped_layer_animation_settings.cc if (inverse_observer_->layer()) { layer 150 ui/compositor/scoped_layer_animation_settings.cc if (inverse_observer_->layer() && !base) { layer 152 ui/compositor/scoped_layer_animation_settings.cc } else if (base && !(inverse_observer_->layer())) { layer 237 ui/keyboard/keyboard_controller.cc ui::LayerAnimator* container_animator = container_->layer()->GetAnimator(); layer 251 ui/keyboard/keyboard_controller.cc container_->layer()->SetOpacity(kAnimationStartOrAfterHideOpacity); layer 360 ui/keyboard/keyboard_controller.cc !container_->layer()->GetAnimator()->is_animating()) layer 368 ui/keyboard/keyboard_controller.cc ui::LayerAnimator* container_animator = container_->layer()->GetAnimator(); layer 376 ui/keyboard/keyboard_controller.cc container_->layer()->SetOpacity(kAnimationStartOrAfterHideOpacity); layer 397 ui/keyboard/keyboard_controller.cc container_->layer()->SetOpacity(1.0); layer 35 ui/keyboard/keyboard_controller_unittest.cc void RunAnimationForLayer(ui::Layer* layer) { layer 40 ui/keyboard/keyboard_controller_unittest.cc ui::LayerAnimatorTestController controller(layer->GetAnimator()); layer 41 ui/keyboard/keyboard_controller_unittest.cc gfx::AnimationContainerElement* element = layer->GetAnimator(); layer 471 ui/keyboard/keyboard_controller_unittest.cc ui::Layer* layer = keyboard_container()->layer(); layer 478 ui/keyboard/keyboard_controller_unittest.cc float show_start_opacity = layer->opacity(); layer 481 ui/keyboard/keyboard_controller_unittest.cc EXPECT_EQ(transform, layer->transform()); layer 484 ui/keyboard/keyboard_controller_unittest.cc RunAnimationForLayer(layer); layer 487 ui/keyboard/keyboard_controller_unittest.cc float show_end_opacity = layer->opacity(); layer 489 ui/keyboard/keyboard_controller_unittest.cc EXPECT_EQ(gfx::Transform(), layer->transform()); layer 497 ui/keyboard/keyboard_controller_unittest.cc EXPECT_TRUE(keyboard_container()->layer()->visible()); layer 499 ui/keyboard/keyboard_controller_unittest.cc float hide_start_opacity = layer->opacity(); layer 504 ui/keyboard/keyboard_controller_unittest.cc RunAnimationForLayer(layer); layer 506 ui/keyboard/keyboard_controller_unittest.cc EXPECT_FALSE(keyboard_container()->layer()->visible()); layer 508 ui/keyboard/keyboard_controller_unittest.cc float hide_end_opacity = layer->opacity(); layer 510 ui/keyboard/keyboard_controller_unittest.cc EXPECT_EQ(transform, layer->transform()); layer 518 ui/keyboard/keyboard_controller_unittest.cc ui::Layer* layer = keyboard_container()->layer(); layer 520 ui/keyboard/keyboard_controller_unittest.cc RunAnimationForLayer(layer); layer 525 ui/keyboard/keyboard_controller_unittest.cc RunAnimationForLayer(layer); layer 528 ui/keyboard/keyboard_controller_unittest.cc EXPECT_EQ(1.0, layer->opacity()); layer 529 ui/keyboard/keyboard_controller_unittest.cc EXPECT_EQ(gfx::Transform(), layer->transform()); layer 253 ui/message_center/views/message_center_view.cc if (view->layer()) { layer 319 ui/message_center/views/message_center_view.cc if (!child_at(i)->layer()) layer 328 ui/message_center/views/message_center_view.cc if (child_at(i)->layer()) layer 329 ui/message_center/views/message_center_view.cc parent_layer->StackAtBottom(child_at(i)->layer()); layer 376 ui/message_center/views/message_center_view.cc (*iter)->layer()->SetOpacity(animation->CurrentValueBetween(1.0, 0.0)); layer 496 ui/message_center/views/message_center_view.cc DCHECK(child->layer()); layer 577 ui/message_center/views/message_center_view.cc scroller_->layer()->SetMasksToBounds(true); layer 658 ui/message_center/views/message_center_view.cc if (source_view_->layer()) { layer 665 ui/message_center/views/message_center_view.cc if (target_view_->layer()) { layer 668 ui/message_center/views/message_center_view.cc target_view_->layer()->SetOpacity(0); layer 940 ui/message_center/views/message_center_view.cc if (source_view_->layer()) layer 941 ui/message_center/views/message_center_view.cc source_view_->layer()->SetOpacity(1.0); layer 942 ui/message_center/views/message_center_view.cc if (target_view_->layer()) layer 943 ui/message_center/views/message_center_view.cc target_view_->layer()->SetOpacity(1.0); layer 953 ui/message_center/views/message_center_view.cc source_view_->layer()) { layer 954 ui/message_center/views/message_center_view.cc source_view_->layer()->SetOpacity( layer 958 ui/message_center/views/message_center_view.cc target_view_->layer()) { layer 959 ui/message_center/views/message_center_view.cc target_view_->layer()->SetOpacity( layer 131 ui/snapshot/snapshot_aura.cc request->set_area(ui::ConvertRectToPixel(window->layer(), source_rect)); layer 132 ui/snapshot/snapshot_aura.cc window->layer()->RequestCopyOfOutput(request.Pass()); layer 81 ui/v2/public/view.h inline const ui::Layer* layer() const; layer 82 ui/v2/public/view.h inline ui::Layer* layer(); layer 121 ui/v2/src/view.cc explicit ViewLayerOwner(ui::Layer* layer) { layer 122 ui/v2/src/view.cc layer_ = layer; layer 273 ui/v2/src/view.cc return layer_owner_.get() ? layer_owner_->layer() : NULL; layer 277 ui/v2/src/view.cc return const_cast<ui::Layer*>(const_cast<const View*>(this)->layer()); layer 281 ui/v2/src/view.cc return !!layer(); layer 286 ui/v2/src/view.cc layer()->SetVisible(visible_); layer 287 ui/v2/src/view.cc layer()->set_delegate(layer_owner_.get()); layer 210 ui/views/bubble/tray_bubble_view.cc path.addRoundRect(gfx::RectToSkRect(gfx::Rect(layer()->bounds().size())), layer 353 ui/views/bubble/tray_bubble_view.cc layer()->parent()->SetMaskLayer(bubble_content_mask_->layer()); layer 363 ui/views/bubble/tray_bubble_view.cc bubble_content_mask_->layer()->SetBounds(layer()->bounds()); layer 506 ui/views/bubble/tray_bubble_view.cc details.parent->layer()->SetMasksToBounds(true); layer 50 ui/views/controls/slide_out_view.cc layer()->SetTransform(transform); layer 51 ui/views/controls/slide_out_view.cc layer()->SetOpacity( layer 71 ui/views/controls/slide_out_view.cc ui::ScopedLayerAnimationSettings settings(layer()->GetAnimator()); layer 74 ui/views/controls/slide_out_view.cc layer()->SetTransform(gfx::Transform()); layer 75 ui/views/controls/slide_out_view.cc layer()->SetOpacity(1.f); layer 80 ui/views/controls/slide_out_view.cc int swipe_out_duration = kSwipeOutTotalDurationMS * layer()->opacity(); layer 81 ui/views/controls/slide_out_view.cc ui::ScopedLayerAnimationSettings settings(layer()->GetAnimator()); layer 88 ui/views/controls/slide_out_view.cc layer()->SetTransform(transform); layer 89 ui/views/controls/slide_out_view.cc layer()->SetOpacity(0.f); layer 363 ui/views/view.cc return layer()->GetTargetBounds(); layer 482 ui/views/view.cc return layer() ? layer()->transform() : gfx::Transform(); layer 487 ui/views/view.cc if (layer()) { layer 488 ui/views/view.cc layer()->SetTransform(transform); layer 495 ui/views/view.cc if (!layer()) layer 497 ui/views/view.cc layer()->SetTransform(transform); layer 498 ui/views/view.cc layer()->ScheduleDraw(); layer 504 ui/views/view.cc if (paint_to_layer_ && !layer()) { layer 506 ui/views/view.cc } else if (!paint_to_layer_ && layer()) { layer 754 ui/views/view.cc if (layer()) { layer 755 ui/views/view.cc layer()->SchedulePaint(rect); layer 1378 ui/views/view.cc if (!child_at(i)->layer()) layer 1410 ui/views/view.cc if (layer()) layer 1411 ui/views/view.cc layer()->SetFillsBoundsOpaquely(fills_bounds_opaquely); layer 1416 ui/views/view.cc if (layer()) { layer 1418 ui/views/view.cc *layer_parent = layer(); layer 1429 ui/views/view.cc if (!layer()) layer 1444 ui/views/view.cc if (parent_layer != layer()) layer 1446 ui/views/view.cc if (layer() && parent_layer != layer()) { layer 1447 ui/views/view.cc parent_layer->Add(layer()); layer 1458 ui/views/view.cc for (const View* v = parent_; visible && v && !v->layer(); v = v->parent_) layer 1465 ui/views/view.cc if (layer()) { layer 1466 ui/views/view.cc layer()->SetVisible(ancestor_visible && visible_); layer 1474 ui/views/view.cc if (layer()) { layer 1486 ui/views/view.cc if (!layer() || !layer()->fills_bounds_opaquely()) layer 1501 ui/views/view.cc while (v && !v->layer()) layer 1507 ui/views/view.cc ui::Layer* layer = widget->GetLayer(); layer 1508 ui/views/view.cc if (layer) layer 1509 ui/views/view.cc widget->GetRootView()->ReorderChildLayers(layer); layer 1512 ui/views/view.cc v->ReorderChildLayers(v->layer()); layer 1526 ui/views/view.cc if (layer() && layer() != parent_layer) { layer 1527 ui/views/view.cc DCHECK_EQ(parent_layer, layer()->parent()); layer 1528 ui/views/view.cc parent_layer->StackAtBottom(layer()); layer 1692 ui/views/view.cc if (layer()) { layer 1693 ui/views/view.cc if (layer()->texture()) layer 1698 ui/views/view.cc if (layer()->fills_bounds_opaquely()) layer 1748 ui/views/view.cc if (!layer() || type == SCHEDULE_PAINT_SIZE_CHANGED) { layer 1757 ui/views/view.cc layer()->ScheduleDraw(); layer 1864 ui/views/view.cc if (details.is_add && layer() && !layer()->parent()) { layer 1908 ui/views/view.cc if (layer()) { layer 1994 ui/views/view.cc layer()->SetBounds(bounds); layer 2065 ui/views/view.cc layer()->set_delegate(this); layer 2067 ui/views/view.cc layer()->set_name(GetClassName()); layer 2086 ui/views/view.cc if (layer() && !layer()->parent()) { layer 2095 ui/views/view.cc if (layer()) { layer 2096 ui/views/view.cc if (layer()->parent()) layer 2097 ui/views/view.cc layer()->parent()->Remove(layer()); layer 2108 ui/views/view.cc layer()->SetBounds(GetLocalBounds() + offset); layer 2109 ui/views/view.cc DCHECK_NE(layer(), parent_layer); layer 2111 ui/views/view.cc parent_layer->Add(layer()); layer 2112 ui/views/view.cc layer()->SchedulePaint(GetLocalBounds()); layer 2113 ui/views/view.cc MoveLayerToParent(layer(), gfx::Point()); layer 2117 ui/views/view.cc ui::Layer* new_parent = layer()->parent(); layer 2118 ui/views/view.cc std::vector<ui::Layer*> children = layer()->children(); layer 2120 ui/views/view.cc layer()->Remove(children[i]); layer 49 ui/views/view_unittest.cc bool LayerIsAncestor(const ui::Layer* ancestor, const ui::Layer* layer) { layer 50 ui/views/view_unittest.cc while (layer && layer != ancestor) layer 51 ui/views/view_unittest.cc layer = layer->parent(); layer 52 ui/views/view_unittest.cc return layer == ancestor; layer 75 ui/views/view_unittest.cc const ui::Layer* FirstLayer(const ui::Layer* layer) { layer 76 ui/views/view_unittest.cc const ui::Layer* l = layer; layer 82 ui/views/view_unittest.cc const ui::Layer* NextLayer(const ui::Layer* layer) { layer 83 ui/views/view_unittest.cc const ui::Layer* parent = layer->parent(); layer 89 ui/views/view_unittest.cc if (children[index] == layer) layer 101 ui/views/view_unittest.cc const ui::Layer* layer) { layer 103 ui/views/view_unittest.cc const ui::Layer* l = FirstLayer(layer); layer 106 ui/views/view_unittest.cc while (v && !v->layer()) layer 113 ui/views/view_unittest.cc EXPECT_EQ(l, v->layer()); layer 114 ui/views/view_unittest.cc if (v->layer() != l) layer 122 ui/views/view_unittest.cc << vv->IsDrawn() << " " << vv->layer(); layer 133 ui/views/view_unittest.cc if (v == view || l == layer) layer 134 ui/views/view_unittest.cc return v == view && l == layer; layer 178 ui/views/view_unittest.cc if (!view->layer() && base::RandDouble() < 0.1) layer 2928 ui/views/view_unittest.cc EXPECT_TRUE(v1->layer() != NULL); layer 2931 ui/views/view_unittest.cc ASSERT_TRUE(v1->layer() != NULL); layer 2932 ui/views/view_unittest.cc EXPECT_EQ(root_layer, v1->layer()->parent()); layer 2933 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(20, 30, 140, 150), v1->layer()->bounds()); layer 2938 ui/views/view_unittest.cc EXPECT_TRUE(v2->layer() == NULL); layer 2941 ui/views/view_unittest.cc ASSERT_TRUE(v2->layer() != NULL); layer 2942 ui/views/view_unittest.cc EXPECT_EQ(v1->layer(), v2->layer()->parent()); layer 2943 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(10, 20, 30, 40), v2->layer()->bounds()); layer 2948 ui/views/view_unittest.cc EXPECT_TRUE(v1->layer() == NULL); layer 2949 ui/views/view_unittest.cc EXPECT_TRUE(v2->layer() != NULL); layer 2950 ui/views/view_unittest.cc EXPECT_EQ(root_layer, v2->layer()->parent()); layer 2952 ui/views/view_unittest.cc EXPECT_EQ(root_layer->children()[0], v2->layer()); layer 2955 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(30, 50, 30, 40), v2->layer()->bounds()); layer 2961 ui/views/view_unittest.cc EXPECT_TRUE(v1->layer() != NULL); layer 2962 ui/views/view_unittest.cc EXPECT_TRUE(v2->layer() != NULL); layer 2963 ui/views/view_unittest.cc EXPECT_EQ(root_layer, v1->layer()->parent()); layer 2964 ui/views/view_unittest.cc EXPECT_EQ(v1->layer(), v2->layer()->parent()); layer 2966 ui/views/view_unittest.cc EXPECT_EQ(root_layer->children()[0], v1->layer()); layer 2967 ui/views/view_unittest.cc ASSERT_EQ(1u, v1->layer()->children().size()); layer 2968 ui/views/view_unittest.cc EXPECT_EQ(v1->layer()->children()[0], v2->layer()); layer 2969 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(10, 20, 30, 40), v2->layer()->bounds()); layer 2988 ui/views/view_unittest.cc ASSERT_TRUE(v3->layer() != NULL); layer 2993 ui/views/view_unittest.cc EXPECT_EQ(v1->layer(), v3->layer()->parent()); layer 3003 ui/views/view_unittest.cc EXPECT_TRUE(v1->layer() != NULL); layer 3006 ui/views/view_unittest.cc v1->layer()->SetAnimator(animator); layer 3012 ui/views/view_unittest.cc EXPECT_NE(bounds, v1->layer()->bounds()); layer 3029 ui/views/view_unittest.cc ASSERT_TRUE(v2->layer() != NULL); layer 3030 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(30, 41, 40, 50), v2->layer()->bounds()); layer 3033 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(35, 47, 40, 50), v2->layer()->bounds()); layer 3036 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(36, 48, 40, 50), v2->layer()->bounds()); layer 3041 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(31, 42, 40, 50), v2->layer()->bounds()); layer 3045 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(30, 41, 20, 30), v2->layer()->bounds()); layer 3064 ui/views/view_unittest.cc v1->layer()->bounds()); layer 3070 ui/views/view_unittest.cc v1->layer()->bounds()); layer 3071 ui/views/view_unittest.cc gfx::Rect l1bounds = v1->layer()->bounds(); layer 3077 ui/views/view_unittest.cc EXPECT_FALSE(v2->layer()); layer 3081 ui/views/view_unittest.cc v2->layer()->bounds()); layer 3082 ui/views/view_unittest.cc gfx::Rect l2bounds = v2->layer()->bounds(); layer 3085 ui/views/view_unittest.cc EXPECT_EQ(l1bounds, v1->layer()->bounds()); layer 3086 ui/views/view_unittest.cc EXPECT_EQ(l2bounds, v2->layer()->bounds()); layer 3092 ui/views/view_unittest.cc EXPECT_EQ(l1bounds, v1->layer()->bounds()); layer 3095 ui/views/view_unittest.cc EXPECT_EQ(l1bounds, v1->layer()->bounds()); layer 3096 ui/views/view_unittest.cc EXPECT_EQ(l2bounds, v2->layer()->bounds()); layer 3101 ui/views/view_unittest.cc EXPECT_EQ(l2bounds, v2->layer()->bounds()); layer 3131 ui/views/view_unittest.cc ASSERT_TRUE(view->layer() != NULL); layer 3132 ui/views/view_unittest.cc EXPECT_EQ(2.0f, view->layer()->transform().matrix().get(0, 0)); layer 3139 ui/views/view_unittest.cc ASSERT_TRUE(view->layer() != NULL); layer 3140 ui/views/view_unittest.cc EXPECT_EQ(2.0f, view->layer()->transform().matrix().get(0, 0)); layer 3153 ui/views/view_unittest.cc EXPECT_TRUE(v1->layer()); layer 3155 ui/views/view_unittest.cc v1->layer())); layer 3161 ui/views/view_unittest.cc v1->layer())); layer 3162 ui/views/view_unittest.cc EXPECT_TRUE(v1->layer()->IsDrawn()); layer 3165 ui/views/view_unittest.cc EXPECT_FALSE(v1->layer()->IsDrawn()); layer 3168 ui/views/view_unittest.cc EXPECT_TRUE(v1->layer()->IsDrawn()); layer 3171 ui/views/view_unittest.cc EXPECT_FALSE(v1->layer()->IsDrawn()); layer 3174 ui/views/view_unittest.cc EXPECT_TRUE(v1->layer()->IsDrawn()); layer 3190 ui/views/view_unittest.cc v2->layer())); layer 3191 ui/views/view_unittest.cc EXPECT_TRUE(v2->layer()->IsDrawn()); layer 3196 ui/views/view_unittest.cc v2->layer())); layer 3203 ui/views/view_unittest.cc v2->layer())); layer 3204 ui/views/view_unittest.cc EXPECT_TRUE(v2->layer()->IsDrawn()); layer 3243 ui/views/view_unittest.cc content_view->layer()->SchedulePaint(gfx::Rect(0, 0, 10, 10)); layer 3267 ui/views/view_unittest.cc EXPECT_TRUE(v1->layer()->IsDrawn()); layer 3268 ui/views/view_unittest.cc EXPECT_FALSE(v4->layer()->IsDrawn()); layer 3271 ui/views/view_unittest.cc EXPECT_TRUE(v1->layer()->IsDrawn()); layer 3272 ui/views/view_unittest.cc EXPECT_FALSE(v4->layer()->IsDrawn()); layer 3275 ui/views/view_unittest.cc EXPECT_TRUE(v1->layer()->IsDrawn()); layer 3276 ui/views/view_unittest.cc EXPECT_FALSE(v4->layer()->IsDrawn()); layer 3279 ui/views/view_unittest.cc EXPECT_TRUE(v1->layer()->IsDrawn()); layer 3280 ui/views/view_unittest.cc EXPECT_FALSE(v4->layer()->IsDrawn()); layer 3281 ui/views/view_unittest.cc EXPECT_TRUE(ViewAndLayerTreeAreConsistent(v1, v1->layer())); layer 3284 ui/views/view_unittest.cc EXPECT_TRUE(v1->layer()->IsDrawn()); layer 3285 ui/views/view_unittest.cc EXPECT_FALSE(v4->layer()->IsDrawn()); layer 3286 ui/views/view_unittest.cc EXPECT_TRUE(ViewAndLayerTreeAreConsistent(v1, v1->layer())); layer 3290 ui/views/view_unittest.cc EXPECT_TRUE(v1->layer()->IsDrawn()); layer 3291 ui/views/view_unittest.cc EXPECT_TRUE(v4->layer()->IsDrawn()); layer 3292 ui/views/view_unittest.cc EXPECT_TRUE(ViewAndLayerTreeAreConsistent(v1, v1->layer())); layer 3305 ui/views/view_unittest.cc EXPECT_TRUE(ViewAndLayerTreeAreConsistent(content, content->layer())); layer 3308 ui/views/view_unittest.cc EXPECT_TRUE(ViewAndLayerTreeAreConsistent(content, content->layer())); layer 3311 ui/views/view_unittest.cc EXPECT_TRUE(ViewAndLayerTreeAreConsistent(content, content->layer())); layer 3314 ui/views/view_unittest.cc EXPECT_TRUE(ViewAndLayerTreeAreConsistent(content, content->layer())); layer 3329 ui/views/view_unittest.cc ui::Layer* parent_layer = c1->layer()->parent(); layer 3332 ui/views/view_unittest.cc EXPECT_EQ(c1->layer(), parent_layer->children()[0]); layer 3333 ui/views/view_unittest.cc EXPECT_EQ(c2->layer(), parent_layer->children()[1]); layer 3337 ui/views/view_unittest.cc EXPECT_EQ(c1->layer(), parent_layer->children()[1]); layer 3338 ui/views/view_unittest.cc EXPECT_EQ(c2->layer(), parent_layer->children()[0]); layer 3347 ui/views/view_unittest.cc EXPECT_TRUE(c1->layer()); layer 3350 ui/views/view_unittest.cc scoped_ptr<ui::Layer> layer(c1->AcquireLayer()); layer 3351 ui/views/view_unittest.cc EXPECT_EQ(layer.get(), c1->layer()); layer 3354 ui/views/view_unittest.cc EXPECT_NE(c1->layer(), layer2.get()); layer 3365 ui/views/view_unittest.cc v->layer()->set_scale_content(false); layer 3367 ui/views/view_unittest.cc ui::Layer* new_layer = v->layer(); layer 3384 ui/views/view_unittest.cc const std::vector<ui::Layer*>& child_layers_pre = v->layer()->children(); layer 3386 ui/views/view_unittest.cc EXPECT_EQ(v1->layer(), child_layers_pre[0]); layer 3387 ui/views/view_unittest.cc EXPECT_EQ(v2->layer(), child_layers_pre[1]); layer 3393 ui/views/view_unittest.cc const std::vector<ui::Layer*>& child_layers_post = v->layer()->children(); layer 3395 ui/views/view_unittest.cc EXPECT_EQ(v1->layer(), child_layers_post[0]); layer 3397 ui/views/view_unittest.cc EXPECT_EQ(v2->layer(), child_layers_post[2]); layer 3418 ui/views/view_unittest.cc EXPECT_EQ(v1->layer(), child_layers_pre[0]); layer 3419 ui/views/view_unittest.cc EXPECT_EQ(v2->layer(), child_layers_pre[1]); layer 3426 ui/views/view_unittest.cc EXPECT_EQ(v1->layer(), child_layers_post[0]); layer 3428 ui/views/view_unittest.cc EXPECT_EQ(v2->layer(), child_layers_post[2]); layer 3439 ui/views/view_unittest.cc ASSERT_TRUE(v.layer() != NULL); layer 3440 ui/views/view_unittest.cc ASSERT_EQ(1u, v.layer()->children().size()); layer 3441 ui/views/view_unittest.cc EXPECT_EQ(v.layer()->children()[0], child.layer()); layer 3443 ui/views/view_unittest.cc ui::Layer layer(ui::LAYER_NOT_DRAWN); layer 3444 ui/views/view_unittest.cc v.layer()->Add(&layer); layer 3445 ui/views/view_unittest.cc v.layer()->StackAtBottom(&layer); layer 3454 ui/views/view_unittest.cc ASSERT_TRUE(v.layer() != NULL); layer 3455 ui/views/view_unittest.cc ASSERT_EQ(2u, v.layer()->children().size()); layer 3456 ui/views/view_unittest.cc EXPECT_EQ(v.layer()->children()[0], &layer); layer 3457 ui/views/view_unittest.cc EXPECT_EQ(v.layer()->children()[1], child.layer()); layer 3494 ui/views/view_unittest.cc view->layer()->set_name(layer_name); layer 3515 ui/views/view_unittest.cc w1->GetNativeView()->layer()->set_name("w1"); layer 3524 ui/views/view_unittest.cc ui::Layer* v1_layer = v1->layer(); layer 3529 ui/views/view_unittest.cc ui::Layer* v4_layer = v4->layer(); layer 3534 ui/views/view_unittest.cc ui::Layer* v7_layer = v7->layer(); layer 3538 ui/views/view_unittest.cc ui::Layer* v8_layer = v8->layer(); layer 3542 ui/views/view_unittest.cc ui::Layer* v9_layer = v9->layer(); layer 3547 ui/views/view_unittest.cc w2->GetNativeView()->layer()->set_name("w2"); layer 3553 ui/views/view_unittest.cc ui::Layer* v6_layer = v6->layer(); layer 3557 ui/views/view_unittest.cc ui::Layer* w1_layer = w1->GetNativeView()->layer(); layer 3569 ui/views/view_unittest.cc EXPECT_NE(w1_layer, w1->GetNativeView()->layer()); layer 3597 ui/views/view_unittest.cc ui::Layer* w1_new_layer = w1->GetNativeView()->layer(); layer 576 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc return content_window_ ? content_window_->layer()->GetCompositor() : NULL; layer 585 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc return content_window_ ? content_window_->layer() : NULL; layer 187 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc content_window_->layer()->GetAnimator()->IsAnimatingProperty( layer 406 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc content_window_->layer()->SetOpacity(opacity / 255.0); layer 306 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc widget->GetNativeWindow()->layer()->SetFillsBoundsOpaquely(false); layer 234 ui/views/widget/native_widget_aura.cc return window_ ? window_->layer()->GetCompositor() : NULL; layer 238 ui/views/widget/native_widget_aura.cc return window_ ? window_->layer()->GetCompositor() : NULL; layer 242 ui/views/widget/native_widget_aura.cc return window_ ? window_->layer() : NULL; layer 588 ui/views/widget/native_widget_aura.cc window_->layer()->SetOpacity(opacity / 255.0); layer 752 ui/views/widget/native_widget_aura.cc std::find(window_->layer()->children().begin(), layer 753 ui/views/widget/native_widget_aura.cc window_->layer()->children().end(), child->layer())); layer 754 ui/views/widget/native_widget_aura.cc if (child_layer_iter == window_->layer()->children().end()) layer 759 ui/views/widget/native_widget_aura.cc ui::Layer* layer = *i; layer 760 ui/views/widget/native_widget_aura.cc if (layer->visible() && layer->bounds().Contains(location)) { layer 762 ui/views/widget/native_widget_aura.cc std::find(window_->layer()->children().begin(), layer 763 ui/views/widget/native_widget_aura.cc window_->layer()->children().end(), layer)); layer 319 ui/views/widget/native_widget_aura_unittest.cc view_with_layer->layer()->parent()->StackAtTop( layer 320 ui/views/widget/native_widget_aura_unittest.cc view_with_layer->layer()); layer 248 ui/views/widget/root_view.cc if (layer()) { layer 249 ui/views/widget/root_view.cc layer()->SchedulePaint(rect); layer 501 ui/views/widget/root_view.cc if (layer()) layer 680 ui/views/widget/root_view.cc if (!layer() || !layer()->fills_bounds_opaquely()) layer 689 ui/views/widget/root_view.cc if (!layer() && layer_parent) layer 44 ui/views/widget/widget.cc if (view->layer()) { layer 45 ui/views/widget/widget.cc layers->push_back(view->layer()); layer 1031 ui/views/widget/widget.cc if (GetCompositor() && root && root->layer()) layer 1032 ui/views/widget/widget.cc root->layer()->SetVisible(visible); layer 46 ui/views/widget/window_reorderer.cc if (view->layer() && view->layer()->parent() == parent_layer) { layer 158 ui/views/widget/window_reorderer.cc GetOrderOfViewsWithLayers(root_view_, parent_window_->layer(), hosted_windows, layer 169 ui/views/widget/window_reorderer.cc ui::Layer* layer = view->layer(); layer 176 ui/views/widget/window_reorderer.cc layer = window->layer(); layer 179 ui/views/widget/window_reorderer.cc DCHECK(layer); layer 182 ui/views/widget/window_reorderer.cc parent_window_->layer()->StackAtBottom(layer); layer 33 ui/views/widget/window_reorderer_unittest.cc window->layer()->set_name(name); layer 68 ui/views/widget/window_reorderer_unittest.cc v->layer()->set_name("v"); layer 82 ui/views/widget/window_reorderer_unittest.cc ui::test::ChildLayerNamesAsString(*parent_window->layer())); layer 89 ui/views/widget/window_reorderer_unittest.cc ui::test::ChildLayerNamesAsString(*parent_window->layer())); layer 96 ui/views/widget/window_reorderer_unittest.cc ui::test::ChildLayerNamesAsString(*parent_window->layer())); layer 103 ui/views/widget/window_reorderer_unittest.cc ui::test::ChildLayerNamesAsString(*parent_window->layer())); layer 108 ui/views/widget/window_reorderer_unittest.cc ui::test::ChildLayerNamesAsString(*parent_window->layer())); layer 115 ui/views/widget/window_reorderer_unittest.cc ui::test::ChildLayerNamesAsString(*parent_window->layer())); layer 120 ui/views/widget/window_reorderer_unittest.cc ui::test::ChildLayerNamesAsString(*parent_window->layer())); layer 156 ui/views/widget/window_reorderer_unittest.cc ui::test::ChildLayerNamesAsString(*parent_window->layer())); layer 161 ui/views/widget/window_reorderer_unittest.cc ui::test::ChildLayerNamesAsString(*parent_window->layer())); layer 169 ui/views/widget/window_reorderer_unittest.cc ui::test::ChildLayerNamesAsString(*parent_window->layer())); layer 174 ui/views/widget/window_reorderer_unittest.cc ui::test::ChildLayerNamesAsString(*parent_window->layer())); layer 182 ui/views/widget/window_reorderer_unittest.cc ui::test::ChildLayerNamesAsString(*parent_window->layer())); layer 217 ui/views/widget/window_reorderer_unittest.cc v11->layer()->set_name("v11"); layer 231 ui/views/widget/window_reorderer_unittest.cc v13->layer()->set_name("v13"); layer 236 ui/views/widget/window_reorderer_unittest.cc v2->layer()->set_name("v2"); layer 242 ui/views/widget/window_reorderer_unittest.cc ui::test::ChildLayerNamesAsString(*parent_window->layer())); layer 246 ui/views/widget/window_reorderer_unittest.cc v1->layer()->set_name("v1"); layer 249 ui/views/widget/window_reorderer_unittest.cc ui::test::ChildLayerNamesAsString(*parent_window->layer())); layer 255 ui/views/widget/window_reorderer_unittest.cc ui::test::ChildLayerNamesAsString(*parent_window->layer())); layer 26 ui/wm/core/image_grid.cc const ui::Layer& layer) { layer 27 ui/wm/core/image_grid.cc gfx::RectF bounds = layer.bounds(); layer 28 ui/wm/core/image_grid.cc layer.transform().TransformRect(&bounds); layer 226 ui/wm/core/image_grid.cc ui::Layer* layer) { layer 229 ui/wm/core/image_grid.cc layer->SchedulePaint(layer->bounds()); layer 256 ui/wm/core/image_grid.cc bool ImageGrid::LayerExceedsSize(const ui::Layer* layer, layer 258 ui/wm/core/image_grid.cc return layer->bounds().width() > size.width() || layer 259 ui/wm/core/image_grid.cc layer->bounds().height() > size.height(); layer 289 ui/wm/core/image_grid.cc ui::Layer* layer, layer 291 ui/wm/core/image_grid.cc int layer_width = ConvertSizeToPixel(layer, layer 292 ui/wm/core/image_grid.cc layer->bounds().size()).width(); layer 298 ui/wm/core/image_grid.cc ui::Layer* layer, layer 300 ui/wm/core/image_grid.cc int layer_height = ConvertSizeToPixel(layer, layer 301 ui/wm/core/image_grid.cc layer->bounds().size()).height(); layer 80 ui/wm/core/image_grid.h gfx::RectF GetTransformedLayerBounds(const ui::Layer& layer); layer 91 ui/wm/core/image_grid.h ui::Layer* layer() { return layer_.get(); } layer 136 ui/wm/core/image_grid.h void SetClipRect(const gfx::Rect& clip_rect, ui::Layer* layer); layer 157 ui/wm/core/image_grid.h static bool LayerExceedsSize(const ui::Layer* layer, const gfx::Size& size); layer 170 ui/wm/core/image_grid.h ui::Layer* layer, layer 173 ui/wm/core/image_grid.h ui::Layer* layer, layer 148 ui/wm/core/image_grid_unittest.cc test_api.GetTransformedLayerBounds(*grid.layer()).ToString()); layer 65 ui/wm/core/shadow.cc image_grid_->layer()->set_name("Shadow"); layer 66 ui/wm/core/shadow.cc image_grid_->layer()->SetOpacity(GetOpacityForStyle(style_)); layer 75 ui/wm/core/shadow.cc return image_grid_->layer(); layer 92 ui/wm/core/shadow.cc image_grid_->layer()->SetOpacity(GetOpacityForStyle(style)); layer 102 ui/wm/core/shadow.cc image_grid_->layer()->SetOpacity(kInactiveShadowOpacity); layer 107 ui/wm/core/shadow.cc ui::ScopedLayerAnimationSettings settings(layer()->GetAnimator()); layer 113 ui/wm/core/shadow.cc image_grid_->layer()->SetOpacity(kActiveShadowOpacity); layer 116 ui/wm/core/shadow.cc image_grid_->layer()->SetOpacity(kInactiveShadowOpacity); layer 131 ui/wm/core/shadow.cc image_grid_->layer()->SetOpacity(1.0f); layer 47 ui/wm/core/shadow.h ui::Layer* layer() const; layer 220 ui/wm/core/shadow_controller.cc shadow->layer()->SetVisible(should_show); layer 232 ui/wm/core/shadow_controller.cc shadow->layer()->SetVisible(ShouldShowShadowForWindow(window)); layer 233 ui/wm/core/shadow_controller.cc window->layer()->Add(shadow->layer()); layer 71 ui/wm/core/shadow_controller_unittest.cc EXPECT_TRUE(shadow->layer()->visible()); layer 75 ui/wm/core/shadow_controller_unittest.cc EXPECT_TRUE(shadow->layer()->visible()); layer 77 ui/wm/core/shadow_controller_unittest.cc EXPECT_TRUE(shadow->layer()->visible()); layer 82 ui/wm/core/shadow_controller_unittest.cc EXPECT_FALSE(shadow->layer()->visible()); layer 84 ui/wm/core/shadow_controller_unittest.cc EXPECT_TRUE(shadow->layer()->visible()); layer 87 ui/wm/core/shadow_controller_unittest.cc EXPECT_EQ(window->layer(), shadow->layer()->parent()); layer 327 ui/wm/core/transient_window_manager_unittest.cc window11->layer()->set_delegate(NULL); layer 328 ui/wm/core/transient_window_manager_unittest.cc window13->layer()->set_delegate(NULL); layer 376 ui/wm/core/transient_window_manager_unittest.cc window1->layer()->set_delegate(NULL); layer 441 ui/wm/core/transient_window_manager_unittest.cc window->layer()->set_delegate(NULL); layer 443 ui/wm/core/transient_window_manager_unittest.cc window->layer()->SetVisible(visible); layer 445 ui/wm/core/transient_window_manager_unittest.cc window->layer()->SetVisible(visible); layer 524 ui/wm/core/transient_window_manager_unittest.cc ASSERT_EQ(4u, root->layer()->children().size()); layer 525 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[0], window1->layer()); layer 526 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[1], transient1->layer()); layer 527 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[2], window2->layer()); layer 528 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[3], transient2->layer()); layer 539 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[0], window2->layer()); layer 540 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[1], transient2->layer()); layer 541 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[2], window1->layer()); layer 542 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[3], transient1->layer()); layer 547 ui/wm/core/transient_window_manager_unittest.cc transient1->layer()->set_delegate(NULL); layer 554 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[0], window1->layer()); layer 555 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[1], window2->layer()); layer 556 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[2], transient2->layer()); layer 557 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[3], transient1->layer()); layer 566 ui/wm/core/transient_window_manager_unittest.cc ASSERT_EQ(3u, root->layer()->children().size()); layer 567 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[0], window1->layer()); layer 568 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[1], window2->layer()); layer 569 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[2], transient2->layer()); layer 579 ui/wm/core/transient_window_manager_unittest.cc ASSERT_EQ(4u, root->layer()->children().size()); layer 580 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[0], window1->layer()); layer 581 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[1], window2->layer()); layer 582 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[2], transient2->layer()); layer 583 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[3], window3->layer()); layer 587 ui/wm/core/transient_window_manager_unittest.cc window3->layer()->set_delegate(NULL); layer 595 ui/wm/core/transient_window_manager_unittest.cc ASSERT_EQ(4u, root->layer()->children().size()); layer 596 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[0], window1->layer()); layer 597 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[1], window2->layer()); layer 598 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[2], transient2->layer()); layer 599 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[3], window3->layer()); layer 610 ui/wm/core/transient_window_manager_unittest.cc ASSERT_EQ(4u, root->layer()->children().size()); layer 611 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[0], window2->layer()); layer 612 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[1], transient2->layer()); layer 613 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[2], window1->layer()); layer 614 ui/wm/core/transient_window_manager_unittest.cc EXPECT_EQ(root->layer()->children()[3], window3->layer()); layer 71 ui/wm/core/transient_window_stacking_client.cc if (!children[index]->layer() || layer 72 ui/wm/core/transient_window_stacking_client.cc children[index]->layer()->delegate() != NULL) layer 125 ui/wm/core/transient_window_stacking_client.cc ((*target)->layer() && (*target)->layer()->delegate() == NULL)) { layer 180 ui/wm/core/transient_window_stacking_client_unittest.cc window1->layer()->set_name("1"); layer 182 ui/wm/core/transient_window_stacking_client_unittest.cc window2->layer()->set_name("2"); layer 184 ui/wm/core/transient_window_stacking_client_unittest.cc window3->layer()->set_name("3"); layer 190 ui/wm/core/transient_window_stacking_client_unittest.cc ui::test::ChildLayerNamesAsString(*root_window()->layer())); layer 194 ui/wm/core/transient_window_stacking_client_unittest.cc window1->layer()->set_delegate(NULL); layer 198 ui/wm/core/transient_window_stacking_client_unittest.cc ui::test::ChildLayerNamesAsString(*root_window()->layer())); layer 204 ui/wm/core/transient_window_stacking_client_unittest.cc ui::test::ChildLayerNamesAsString(*root_window()->layer())); layer 208 ui/wm/core/transient_window_stacking_client_unittest.cc window3->layer()->set_delegate(NULL); layer 212 ui/wm/core/transient_window_stacking_client_unittest.cc ui::test::ChildLayerNamesAsString(*root_window()->layer())); layer 55 ui/wm/core/visibility_controller.cc window->layer()->GetAnimator()->IsAnimatingProperty( layer 57 ui/wm/core/visibility_controller.cc !window->layer()->GetTargetVisibility()) { layer 65 ui/wm/core/visibility_controller.cc window->layer()->SetVisible(visible); layer 36 ui/wm/core/visibility_controller_unittest.cc ui::ScopedLayerAnimationSettings settings(window->layer()->GetAnimator()); layer 39 ui/wm/core/visibility_controller_unittest.cc EXPECT_TRUE(window->layer()->visible()); layer 42 ui/wm/core/visibility_controller_unittest.cc window->layer()->SetOpacity(0.0); layer 43 ui/wm/core/visibility_controller_unittest.cc EXPECT_TRUE(window->layer()->visible()); layer 45 ui/wm/core/visibility_controller_unittest.cc EXPECT_TRUE(window->layer()->GetAnimator()-> layer 47 ui/wm/core/visibility_controller_unittest.cc EXPECT_EQ(0.0f, window->layer()->GetTargetOpacity()); layer 51 ui/wm/core/visibility_controller_unittest.cc window->layer()->GetAnimator()->StopAnimating(); layer 52 ui/wm/core/visibility_controller_unittest.cc EXPECT_FALSE(window->layer()->visible()); layer 148 ui/wm/core/window_animations.cc void GetTransformRelativeToRoot(ui::Layer* layer, gfx::Transform* transform) { layer 149 ui/wm/core/window_animations.cc const ui::Layer* root = layer; layer 152 ui/wm/core/window_animations.cc layer->GetTargetTransformRelativeTo(root, transform); layer 155 ui/wm/core/window_animations.cc gfx::Rect GetLayerWorldBoundsAfterTransform(ui::Layer* layer, layer 158 ui/wm/core/window_animations.cc GetTransformRelativeToRoot(layer, &in_world); layer 160 ui/wm/core/window_animations.cc gfx::RectF transformed = layer->bounds(); layer 177 ui/wm/core/window_animations.cc GetLayerWorldBoundsAfterTransform(window->layer(), end_transform); layer 206 ui/wm/core/window_animations.cc window->layer()->SetOpacity(kWindowAnimation_HideOpacity); layer 207 ui/wm/core/window_animations.cc window->layer()->SetTransform(start_transform); layer 208 ui/wm/core/window_animations.cc window->layer()->SetVisible(true); layer 212 ui/wm/core/window_animations.cc ui::ScopedLayerAnimationSettings settings(window->layer()->GetAnimator()); layer 217 ui/wm/core/window_animations.cc window->layer()->SetTransform(end_transform); layer 218 ui/wm/core/window_animations.cc window->layer()->SetOpacity(kWindowAnimation_ShowOpacity); layer 234 ui/wm/core/window_animations.cc window->layer()->SetOpacity(kWindowAnimation_HideOpacity); layer 235 ui/wm/core/window_animations.cc window->layer()->SetTransform(end_transform); layer 236 ui/wm/core/window_animations.cc window->layer()->SetVisible(false); layer 306 ui/wm/core/window_animations.cc window->layer()->GetAnimator()); layer 319 ui/wm/core/window_animations.cc window->layer()->GetAnimator()->StartAnimation(sequence.release()); layer 324 ui/wm/core/window_animations.cc window->layer()->SetOpacity(kWindowAnimation_HideOpacity); layer 334 ui/wm/core/window_animations.cc window->layer()->GetAnimator()->SchedulePauseForProperties( layer 343 ui/wm/core/window_animations.cc window->layer()->GetAnimator()->ScheduleAnimation( layer 379 ui/wm/core/window_animations.cc window->layer()->GetAnimator()->ScheduleAnimation( layer 398 ui/wm/core/window_animations.cc window->layer()->SetOpacity(kWindowAnimation_ShowOpacity); layer 399 ui/wm/core/window_animations.cc window->layer()->SetTransform(gfx::Transform()); layer 427 ui/wm/core/window_animations.cc window->layer()->SetOpacity(kWindowAnimation_HideOpacity); layer 428 ui/wm/core/window_animations.cc window->layer()->SetTransform(gfx::Transform()); layer 507 ui/wm/core/window_animations.cc window_->parent()->layer()->StackAbove( layer 508 ui/wm/core/window_animations.cc layer_owner_->root(), topmost_transient_child->layer()); layer 515 ui/wm/core/window_animations.cc window_->layer()->SetVisible(false); layer 516 ui/wm/core/window_animations.cc window_->layer()->SetOpacity(0); layer 529 ui/wm/core/window_animations.cc : layer_animation_settings_(window->layer()->GetAnimator()), layer 586 ui/wm/core/window_animations.cc return window->layer()->GetTargetOpacity() != 0.0f && layer 64 ui/wm/core/window_animations_unittest.cc EXPECT_TRUE(window->layer()->GetTargetVisibility()); layer 66 ui/wm/core/window_animations_unittest.cc EXPECT_FALSE(window->layer()->GetTargetVisibility()); layer 68 ui/wm/core/window_animations_unittest.cc EXPECT_TRUE(window->layer()->GetTargetVisibility()); layer 84 ui/wm/core/window_animations_unittest.cc EXPECT_TRUE(window->layer()->GetTargetVisibility()); layer 85 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(1, window->layer()->opacity()); layer 89 ui/wm/core/window_animations_unittest.cc EXPECT_FALSE(window->layer()->GetTargetVisibility()); layer 90 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(0, window->layer()->opacity()); layer 91 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(gfx::Transform(), window->layer()->transform()); layer 95 ui/wm/core/window_animations_unittest.cc EXPECT_TRUE(window->layer()->GetTargetVisibility()); layer 96 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(1, window->layer()->opacity()); layer 111 ui/wm/core/window_animations_unittest.cc EXPECT_TRUE(window->layer()->GetTargetVisibility()); layer 112 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(1, window->layer()->opacity()); layer 113 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(gfx::Transform(), window->layer()->transform()); layer 117 ui/wm/core/window_animations_unittest.cc EXPECT_FALSE(window->layer()->GetTargetVisibility()); layer 118 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(0, window->layer()->opacity()); layer 122 ui/wm/core/window_animations_unittest.cc EXPECT_TRUE(window->layer()->GetTargetVisibility()); layer 123 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(1, window->layer()->opacity()); layer 124 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(gfx::Transform(), window->layer()->transform()); layer 139 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(0, GetLayerZPosition(other->layer())); layer 140 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(1, GetLayerZPosition(animating_window->layer())); layer 145 ui/wm/core/window_animations_unittest.cc ui::Layer* animating_layer = animating_window->layer(); layer 155 ui/wm/core/window_animations_unittest.cc EXPECT_NE(animating_window->layer(), animating_layer); layer 157 ui/wm/core/window_animations_unittest.cc std::find(parent->layer()->children().begin(), layer 158 ui/wm/core/window_animations_unittest.cc parent->layer()->children().end(), layer 160 ui/wm/core/window_animations_unittest.cc parent->layer()->children().end()); layer 162 ui/wm/core/window_animations_unittest.cc std::find(parent->layer()->children().begin(), layer 163 ui/wm/core/window_animations_unittest.cc parent->layer()->children().end(), layer 164 ui/wm/core/window_animations_unittest.cc animating_window->layer()) != layer 165 ui/wm/core/window_animations_unittest.cc parent->layer()->children().end()); layer 167 ui/wm/core/window_animations_unittest.cc EXPECT_FALSE(animating_window->layer()->visible()); layer 170 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(1, GetLayerZPosition(animating_window->layer())); layer 177 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(0, GetLayerZPosition(animating_window->layer())); layer 178 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(1, GetLayerZPosition(other->layer())); layer 185 ui/wm/core/window_animations_unittest.cc std::find(parent->layer()->children().begin(), layer 186 ui/wm/core/window_animations_unittest.cc parent->layer()->children().end(), layer 188 ui/wm/core/window_animations_unittest.cc parent->layer()->children().end()); layer 221 ui/wm/core/window_animations_unittest.cc ui::Layer* animating_layer = animating_window->layer(); layer 233 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(1, GetLayerZPosition(animating_window->layer())); layer 234 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(2, GetLayerZPosition(transient1->layer())); layer 235 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(3, GetLayerZPosition(transient2->layer())); layer 245 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(0, GetLayerZPosition(animating_window->layer())); layer 246 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(1, GetLayerZPosition(transient1->layer())); layer 247 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(2, GetLayerZPosition(transient2->layer())); layer 248 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(3, GetLayerZPosition(other->layer())); layer 284 ui/wm/core/window_animations_unittest.cc EXPECT_TRUE(window->layer()->visible()); layer 31 ui/wm/core/window_util.cc CloneChildren(owner->layer(), old_layer); layer 88 ui/wm/core/window_util.cc CloneChildren(root->layer(), old_layer->root()); layer 28 ui/wm/core/window_util_unittest.cc ASSERT_EQ(2u, window1->layer()->children().size()); layer 32 ui/wm/core/window_util_unittest.cc EXPECT_EQ(acquired.get(), window11->layer()); layer 41 ui/wm/core/window_util_unittest.cc EXPECT_NE(window11->layer(), tree->root()->children()[0]); layer 42 ui/wm/core/window_util_unittest.cc EXPECT_NE(window12->layer(), tree->root()->children()[0]); layer 45 ui/wm/core/window_util_unittest.cc ASSERT_EQ(2u, window1->layer()->children().size()); layer 46 ui/wm/core/window_util_unittest.cc EXPECT_EQ(window11->layer(), window1->layer()->children()[0]); layer 47 ui/wm/core/window_util_unittest.cc EXPECT_EQ(window12->layer(), window1->layer()->children()[1]); layer 28 webkit/renderer/compositor_bindings/web_content_layer_impl.cc layer_->layer()->SetIsDrawable(true); layer 29 webkit/renderer/compositor_bindings/web_content_layer_impl.cc can_use_lcd_text_ = layer_->layer()->can_use_lcd_text(); layer 34 webkit/renderer/compositor_bindings/web_content_layer_impl.cc static_cast<PictureLayer*>(layer_->layer())->ClearClient(); layer 36 webkit/renderer/compositor_bindings/web_content_layer_impl.cc static_cast<ContentLayer*>(layer_->layer())->ClearClient(); layer 42 webkit/renderer/compositor_bindings/web_content_layer_impl.cc layer_->layer()->SetDoubleSided(double_sided); layer 46 webkit/renderer/compositor_bindings/web_content_layer_impl.cc layer_->layer()->SetDrawCheckerboardForMissingTiles(enable); layer 51 webkit/renderer/compositor_bindings/web_content_layer_impl.cc static_cast<PictureLayer*>(layer_->layer()) layer 73 webkit/renderer/compositor_bindings/web_content_layer_impl.cc if (can_use_lcd_text_ == layer_->layer()->can_use_lcd_text()) layer 77 webkit/renderer/compositor_bindings/web_content_layer_impl.cc if (layer_->layer()->can_use_lcd_text() && ignore_lcd_text_change_) layer 80 webkit/renderer/compositor_bindings/web_content_layer_impl.cc can_use_lcd_text_ = layer_->layer()->can_use_lcd_text(); layer 30 webkit/renderer/compositor_bindings/web_content_layer_impl.h virtual blink::WebLayer* layer(); layer 29 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc scoped_refptr<TextureLayer> layer = TextureLayer::CreateForMailbox(cc_client); layer 30 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc layer->SetIsDrawable(true); layer 31 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc layer_.reset(new WebLayerImpl(layer)); layer 35 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc static_cast<TextureLayer*>(layer_->layer())->ClearClient(); layer 41 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc TextureLayer *layer = static_cast<TextureLayer*>(layer_->layer()); layer 42 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc layer->ClearTexture(); layer 46 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc static_cast<TextureLayer*>(layer_->layer())->SetContentsOpaque(opaque); layer 51 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc static_cast<TextureLayer*>(layer_->layer())->SetPremultipliedAlpha( layer 56 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc static_cast<TextureLayer*>(layer_->layer())->SetBlendBackgroundColor(blend); layer 60 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc static_cast<TextureLayer*>(layer_->layer())->SetRateLimitContext(rate_limit); layer 113 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc base::WeakPtr<WebExternalTextureLayerImpl> layer, layer 118 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc if (lost_resource || !layer) { layer 127 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc layer->free_bitmaps_.push_back(bitmap); layer 128 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc layer->client_->mailboxReleased(available_mailbox); layer 40 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.h virtual blink::WebLayer* layer(); layer 56 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.h base::WeakPtr<WebExternalTextureLayerImpl> layer, layer 27 webkit/renderer/compositor_bindings/web_image_layer_impl.cc static_cast<cc::PictureImageLayer*>(layer_->layer())->SetBitmap(bitmap); layer 31 webkit/renderer/compositor_bindings/web_image_layer_impl.cc static_cast<cc::ImageLayer*>(layer_->layer())->SetBitmap(bitmap); layer 23 webkit/renderer/compositor_bindings/web_image_layer_impl.h virtual blink::WebLayer* layer(); layer 53 webkit/renderer/compositor_bindings/web_layer_impl.cc WebLayerImpl::WebLayerImpl(scoped_refptr<Layer> layer) : layer_(layer) { layer 83 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->AddChild(static_cast<WebLayerImpl*>(child)->layer()); layer 87 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->InsertChild(static_cast<WebLayerImpl*>(child)->layer(), index); layer 91 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->ReplaceChild(static_cast<WebLayerImpl*>(reference)->layer(), layer 92 webkit/renderer/compositor_bindings/web_layer_impl.cc static_cast<WebLayerImpl*>(new_layer)->layer()); layer 125 webkit/renderer/compositor_bindings/web_layer_impl.cc maskLayer ? static_cast<WebLayerImpl*>(maskLayer)->layer() : 0); layer 130 webkit/renderer/compositor_bindings/web_layer_impl.cc replica_layer ? static_cast<WebLayerImpl*>(replica_layer)->layer() : 0); layer 438 webkit/renderer/compositor_bindings/web_layer_impl.cc scroll_parent = static_cast<WebLayerImpl*>(parent)->layer(); layer 445 webkit/renderer/compositor_bindings/web_layer_impl.cc clip_parent = static_cast<WebLayerImpl*>(parent)->layer(); layer 58 webkit/renderer/compositor_bindings/web_layer_impl.h WEBKIT_COMPOSITOR_BINDINGS_EXPORT cc::Layer* layer() const; layer 19 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.cc WebLayerImplFixedBounds::WebLayerImplFixedBounds(scoped_refptr<Layer> layer) layer 20 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.cc : WebLayerImpl(layer) { layer 24 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc scoped_ptr<WebLayerImplFixedBounds> layer(new WebLayerImplFixedBounds()); layer 25 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc layer->setAnchorPoint(WebFloatPoint(0, 0)); layer 26 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc layer->SetFixedBounds(gfx::Size(100, 100)); layer 27 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc layer->setBounds(WebSize(100, 100)); layer 28 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc EXPECT_EQ(WebSize(100, 100), layer->bounds()); layer 29 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc EXPECT_EQ(gfx::Size(100, 100), layer->layer()->bounds()); layer 30 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc EXPECT_EQ(gfx::Transform(), layer->layer()->transform()); layer 40 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc void CheckBoundsScaleSimple(WebLayerImplFixedBounds* layer, layer 43 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc layer->setBounds(bounds); layer 44 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc layer->SetFixedBounds(fixed_bounds); layer 46 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc EXPECT_EQ(bounds, layer->bounds()); layer 47 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc EXPECT_EQ(fixed_bounds, layer->layer()->bounds()); layer 48 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc EXPECT_TRUE(layer->transform().isIdentity()); layer 58 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc TransformPoint(layer->layer()->transform(), layer 63 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc scoped_ptr<WebLayerImplFixedBounds> layer(new WebLayerImplFixedBounds()); layer 64 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc layer->setAnchorPoint(WebFloatPoint(0, 0)); layer 65 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc CheckBoundsScaleSimple(layer.get(), WebSize(100, 200), gfx::Size(150, 250)); layer 67 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc CheckBoundsScaleSimple(layer.get(), WebSize(100, 200), gfx::Size(75, 100)); layer 69 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc CheckBoundsScaleSimple(layer.get(), WebSize(300, 100), gfx::Size(75, 100)); layer 112 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc host->SetRootLayer(root_layer->layer()); layer 117 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc root_layer->layer(), kDeviceViewportSize, &render_surface_layer_list); layer 120 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc inputs.page_scale_application_layer = root_layer->layer(), layer 123 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc ExpectEqualLayerRectsInTarget(normal_layer->layer(), layer 124 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc fixed_bounds_layer->layer()); layer 134 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc root_layer->layer(), kDeviceViewportSize, &render_surface_layer_list); layer 137 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc inputs.page_scale_application_layer = root_layer->layer(), layer 140 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc ExpectEqualLayerRectsInTarget(normal_layer->layer(), layer 141 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc fixed_bounds_layer->layer()); layer 35 webkit/renderer/compositor_bindings/web_nine_patch_layer_impl.cc static_cast<cc::NinePatchLayer*>(layer_->layer()); layer 41 webkit/renderer/compositor_bindings/web_nine_patch_layer_impl.cc static_cast<cc::NinePatchLayer*>(layer_->layer()); layer 47 webkit/renderer/compositor_bindings/web_nine_patch_layer_impl.cc static_cast<cc::NinePatchLayer*>(layer_->layer()); layer 53 webkit/renderer/compositor_bindings/web_nine_patch_layer_impl.cc static_cast<cc::NinePatchLayer*>(layer_->layer()); layer 23 webkit/renderer/compositor_bindings/web_nine_patch_layer_impl.h virtual blink::WebLayer* layer(); layer 54 webkit/renderer/compositor_bindings/web_scrollbar_layer_impl.cc void WebScrollbarLayerImpl::setScrollLayer(blink::WebLayer* layer) { layer 56 webkit/renderer/compositor_bindings/web_scrollbar_layer_impl.cc layer ? static_cast<WebLayerImpl*>(layer)->layer() : 0; layer 57 webkit/renderer/compositor_bindings/web_scrollbar_layer_impl.cc layer_->layer()->ToScrollbarLayer()->SetScrollLayer(scroll_layer->id()); layer 60 webkit/renderer/compositor_bindings/web_scrollbar_layer_impl.cc void WebScrollbarLayerImpl::setClipLayer(blink::WebLayer* layer) { layer 62 webkit/renderer/compositor_bindings/web_scrollbar_layer_impl.cc layer ? static_cast<WebLayerImpl*>(layer)->layer() : 0; layer 63 webkit/renderer/compositor_bindings/web_scrollbar_layer_impl.cc layer_->layer()->ToScrollbarLayer()->SetClipLayer(clip_layer->id()); layer 35 webkit/renderer/compositor_bindings/web_scrollbar_layer_impl.h virtual blink::WebLayer* layer(); layer 36 webkit/renderer/compositor_bindings/web_scrollbar_layer_impl.h virtual void setScrollLayer(blink::WebLayer* layer); layer 37 webkit/renderer/compositor_bindings/web_scrollbar_layer_impl.h virtual void setClipLayer(blink::WebLayer* layer); layer 16 webkit/renderer/compositor_bindings/web_solid_color_layer_impl.cc layer_->layer()->SetIsDrawable(true); layer 22 webkit/renderer/compositor_bindings/web_solid_color_layer_impl.h virtual blink::WebLayer* layer();