animator 92 ash/desktop_background/desktop_background_controller_unittest.cc while (controller.animator()->is_animating()) { animator 94 ash/desktop_background/desktop_background_controller_unittest.cc base::TimeTicks step_time = controller.animator()->last_step_time(); animator 35 ash/display/output_configurator_animation.cc void AddNewAnimator(ui::LayerAnimator* animator) { animator 36 ash/display/output_configurator_animation.cc Observer* observer = new Observer(animator, this); animator 37 ash/display/output_configurator_animation.cc animator->AddObserver(observer); animator 59 ash/display/output_configurator_animation.cc Observer(ui::LayerAnimator* animator, animator 61 ash/display/output_configurator_animation.cc : animator_(animator), animator 162 ash/display/output_configurator_animation.cc ui::LayerAnimator* animator = it->second->GetAnimator(); animator 163 ash/display/output_configurator_animation.cc if (animator->is_animating()) animator 164 ash/display/output_configurator_animation.cc animator->StopAnimating(); animator 1979 ash/shelf/shelf_view.cc void ShelfView::OnBoundsAnimatorProgressed(views::BoundsAnimator* animator) { animator 1985 ash/shelf/shelf_view.cc void ShelfView::OnBoundsAnimatorDone(views::BoundsAnimator* animator) { animator 1986 ash/shelf/shelf_view.cc if (snap_back_from_rip_off_view_ && animator == bounds_animator_) { animator 1987 ash/shelf/shelf_view.cc if (!animator->IsAnimating(snap_back_from_rip_off_view_)) { animator 316 ash/shelf/shelf_view.h views::BoundsAnimator* animator) OVERRIDE; animator 317 ash/shelf/shelf_view.h virtual void OnBoundsAnimatorDone(views::BoundsAnimator* animator) OVERRIDE; animator 246 ash/sticky_keys/sticky_keys_overlay.cc ui::LayerAnimator* animator = overlay_widget_->GetLayer()->GetAnimator(); animator 247 ash/sticky_keys/sticky_keys_overlay.cc animator->AddObserver(this); animator 250 ash/sticky_keys/sticky_keys_overlay.cc if (!animator->is_animating()) { animator 258 ash/sticky_keys/sticky_keys_overlay.cc ui::ScopedLayerAnimationSettings settings(animator); animator 291 ash/sticky_keys/sticky_keys_overlay.cc ui::LayerAnimator* animator = overlay_widget_->GetLayer()->GetAnimator(); animator 292 ash/sticky_keys/sticky_keys_overlay.cc if (animator) animator 293 ash/sticky_keys/sticky_keys_overlay.cc animator->RemoveObserver(this); animator 300 ash/sticky_keys/sticky_keys_overlay.cc ui::LayerAnimator* animator = overlay_widget_->GetLayer()->GetAnimator(); animator 301 ash/sticky_keys/sticky_keys_overlay.cc if (animator) animator 302 ash/sticky_keys/sticky_keys_overlay.cc animator->RemoveObserver(this); animator 25 ash/test/shelf_view_test_api.cc views::BoundsAnimator* animator) OVERRIDE {} animator 26 ash/test/shelf_view_test_api.cc virtual void OnBoundsAnimatorDone(views::BoundsAnimator* animator) OVERRIDE { animator 57 ash/wm/session_state_animator.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); animator 58 ash/wm/session_state_animator.cc animator->set_preemption_strategy( animator 66 ash/wm/session_state_animator.cc animator->StartAnimation(sequence); animator 74 ash/wm/session_state_animator.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); animator 75 ash/wm/session_state_animator.cc animator->set_preemption_strategy( animator 83 ash/wm/session_state_animator.cc animator->StartAnimation(sequence); animator 91 ash/wm/session_state_animator.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); animator 92 ash/wm/session_state_animator.cc animator->set_preemption_strategy( animator 94 ash/wm/session_state_animator.cc animator->StartAnimation( animator 102 ash/wm/session_state_animator.cc animator->StartAnimation(sequence); animator 110 ash/wm/session_state_animator.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); animator 111 ash/wm/session_state_animator.cc animator->set_preemption_strategy( animator 118 ash/wm/session_state_animator.cc animator->StartAnimation(sequence); animator 126 ash/wm/session_state_animator.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); animator 127 ash/wm/session_state_animator.cc animator->set_preemption_strategy( animator 133 ash/wm/session_state_animator.cc animator->StartAnimation(sequence); animator 249 ash/wm/session_state_animator.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); animator 275 ash/wm/session_state_animator.cc animator->set_preemption_strategy( animator 278 ash/wm/session_state_animator.cc animator->StartTogether(animations); animator 106 ash/wm/session_state_animator.h explicit TestApi(SessionStateAnimator* animator) animator 107 ash/wm/session_state_animator.h : animator_(animator) {} animator 41 ash/wm/window_animations_unittest.cc explicit MinimizeAnimationObserver(ui::LayerAnimator* animator) animator 42 ash/wm/window_animations_unittest.cc : animator_(animator) { animator 85 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc ui::LayerAnimator* animator = new ui::LayerAnimator( animator 87 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc native_view->layer()->SetAnimator(animator); animator 92 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc animator->StopAnimating(); animator 54 chrome/test/base/interactive_test_utils_views.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); animator 55 chrome/test/base/interactive_test_utils_views.cc if (animator && animator->is_animating()) animator 56 chrome/test/base/interactive_test_utils_views.cc animator->StopAnimating(); animator 81 content/browser/web_contents/aura/overscroll_navigation_overlay.cc ui::LayerAnimator* animator = layer_->GetAnimator(); animator 84 content/browser/web_contents/aura/overscroll_navigation_overlay.cc ui::ScopedLayerAnimationSettings settings(animator); animator 85 content/browser/web_contents/aura/overscroll_navigation_overlay.cc animator->AddObserver(this); animator 343 content/browser/web_contents/aura/window_slider_unittest.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); animator 344 content/browser/web_contents/aura/window_slider_unittest.cc gfx::AnimationContainerElement* element = animator; animator 345 content/browser/web_contents/aura/window_slider_unittest.cc animator->set_disable_timer_for_test(true); animator 346 content/browser/web_contents/aura/window_slider_unittest.cc ui::LayerAnimatorTestController test_controller(animator); animator 374 content/browser/web_contents/aura/window_slider_unittest.cc EXPECT_FALSE(animator->is_animating()); animator 379 content/browser/web_contents/aura/window_slider_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 397 content/browser/web_contents/aura/window_slider_unittest.cc EXPECT_FALSE(animator->is_animating()); animator 421 content/browser/web_contents/aura/window_slider_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 428 content/browser/web_contents/aura/window_slider_unittest.cc ui::ScopedLayerAnimationSettings settings(animator); animator 598 content/browser/web_contents/aura/window_slider_unittest.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); animator 599 content/browser/web_contents/aura/window_slider_unittest.cc gfx::AnimationContainerElement* element = animator; animator 600 content/browser/web_contents/aura/window_slider_unittest.cc animator->set_disable_timer_for_test(true); animator 601 content/browser/web_contents/aura/window_slider_unittest.cc ui::LayerAnimatorTestController test_controller(animator); animator 617 content/browser/web_contents/aura/window_slider_unittest.cc ui::ScopedLayerAnimationSettings settings(animator); animator 1906 ui/app_list/views/apps_grid_view.cc ui::ScopedLayerAnimationSettings animator(view->layer()->GetAnimator()); animator 1907 ui/app_list/views/apps_grid_view.cc animator.SetPreemptionStrategy( animator 203 ui/compositor/layer.cc void Layer::SetAnimator(LayerAnimator* animator) { animator 204 ui/compositor/layer.cc if (animator) animator 205 ui/compositor/layer.cc animator->SetDelegate(this); animator 206 ui/compositor/layer.cc animator_ = animator; animator 125 ui/compositor/layer.h void SetAnimator(LayerAnimator* animator); animator 99 ui/compositor/layer_animator_unittest.cc DeletingLayerAnimationObserver(LayerAnimator* animator) animator 100 ui/compositor/layer_animator_unittest.cc : animator_(animator) { animator 197 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator( animator 199 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = animator.get(); animator 200 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 202 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 204 ui/compositor/layer_animator_unittest.cc animator->SetBrightness(0.5); animator 205 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 213 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 214 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 216 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 217 ui/compositor/layer_animator_unittest.cc animator->SetBrightness(0.5); animator 218 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(animator->is_animating()); animator 225 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator( animator 227 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 229 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 232 ui/compositor/layer_animator_unittest.cc animator->SetOpacity(target_opacity); animator 233 ui/compositor/layer_animator_unittest.cc animator->SetBounds(target_bounds); animator 234 ui/compositor/layer_animator_unittest.cc animator->StopAnimatingProperty(LayerAnimationElement::OPACITY); animator 235 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 237 ui/compositor/layer_animator_unittest.cc animator->StopAnimatingProperty(LayerAnimationElement::BOUNDS); animator 238 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(animator->is_animating()); animator 245 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator( animator 247 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 249 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 252 ui/compositor/layer_animator_unittest.cc animator->SetOpacity(target_opacity); animator 253 ui/compositor/layer_animator_unittest.cc animator->SetBounds(target_bounds); animator 254 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 255 ui/compositor/layer_animator_unittest.cc animator->StopAnimating(); animator 256 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(animator->is_animating()); animator 264 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator( animator 266 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 272 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 275 ui/compositor/layer_animator_unittest.cc animator->SetOpacity(target_opacity); animator 276 ui/compositor/layer_animator_unittest.cc animator->SetBounds(target_bounds); animator 277 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 278 ui/compositor/layer_animator_unittest.cc animator->AbortAllAnimations(); animator 279 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(animator->is_animating()); animator 287 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 288 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = animator.get(); animator 289 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 291 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 301 ui/compositor/layer_animator_unittest.cc animator->ScheduleAnimation( animator 306 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 309 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); animator 313 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 318 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(animator->is_animating()); animator 327 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = test_controller.animator(); animator 328 ui/compositor/layer_animator_unittest.cc test_controller.animator()->set_disable_timer_for_test(true); animator 330 ui/compositor/layer_animator_unittest.cc test_controller.animator()->SetDelegate(&delegate); animator 339 ui/compositor/layer_animator_unittest.cc test_controller.animator()->ScheduleAnimation( animator 343 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(test_controller.animator()->is_animating()); animator 346 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = test_controller.animator()->last_step_time(); animator 349 ui/compositor/layer_animator_unittest.cc test_controller.animator()->OnThreadedAnimationStarted(cc::AnimationEvent( animator 359 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(test_controller.animator()->is_animating()); animator 368 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(test_controller.animator()->is_animating()); animator 375 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 376 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = animator.get(); animator 377 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 379 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 395 ui/compositor/layer_animator_unittest.cc animator->ScheduleAnimation( animator 400 ui/compositor/layer_animator_unittest.cc animator->ScheduleAnimation( animator 404 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 408 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); animator 412 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 418 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(animator->is_animating()); animator 429 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = test_controller.animator(); animator 430 ui/compositor/layer_animator_unittest.cc test_controller.animator()->set_disable_timer_for_test(true); animator 432 ui/compositor/layer_animator_unittest.cc test_controller.animator()->SetDelegate(&delegate); animator 456 ui/compositor/layer_animator_unittest.cc test_controller.animator()->ScheduleTogether(animations); animator 458 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(test_controller.animator()->is_animating()); animator 462 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = test_controller.animator()->last_step_time(); animator 465 ui/compositor/layer_animator_unittest.cc test_controller.animator()->OnThreadedAnimationStarted(cc::AnimationEvent( animator 475 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(test_controller.animator()->is_animating()); animator 485 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(test_controller.animator()->is_animating()); animator 493 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 494 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = animator.get(); animator 495 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 497 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 507 ui/compositor/layer_animator_unittest.cc animator->ScheduleAnimation( animator 512 ui/compositor/layer_animator_unittest.cc animator->ScheduleAnimation( animator 517 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 520 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); animator 524 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 529 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 534 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 539 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(animator->is_animating()); animator 547 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 548 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = animator.get(); animator 549 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 551 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 567 ui/compositor/layer_animator_unittest.cc animator->ScheduleAnimation( animator 580 ui/compositor/layer_animator_unittest.cc animator->ScheduleAnimation(bounds_and_grayscale.release()); animator 582 ui/compositor/layer_animator_unittest.cc animator->ScheduleAnimation( animator 586 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 590 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); animator 594 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 600 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 606 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 612 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 618 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(animator->is_animating()); animator 627 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 628 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = animator.get(); animator 629 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 631 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 646 ui/compositor/layer_animator_unittest.cc animator->ScheduleAnimation( animator 657 ui/compositor/layer_animator_unittest.cc animator->ScheduleTogether(sequences); animator 659 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 663 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); animator 667 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 673 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(animator->is_animating()); animator 681 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 682 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = animator.get(); animator 683 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 685 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 695 ui/compositor/layer_animator_unittest.cc animator->StartAnimation( animator 700 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 703 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); animator 707 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 712 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(animator->is_animating()); animator 721 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = test_controller.animator(); animator 722 ui/compositor/layer_animator_unittest.cc test_controller.animator()->set_disable_timer_for_test(true); animator 724 ui/compositor/layer_animator_unittest.cc test_controller.animator()->SetDelegate(&delegate); animator 733 ui/compositor/layer_animator_unittest.cc test_controller.animator()->StartAnimation( animator 737 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(test_controller.animator()->is_animating()); animator 740 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = test_controller.animator()->last_step_time(); animator 743 ui/compositor/layer_animator_unittest.cc test_controller.animator()->OnThreadedAnimationStarted(cc::AnimationEvent( animator 753 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(test_controller.animator()->is_animating()); animator 761 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(test_controller.animator()->is_animating()); animator 767 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 768 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 770 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 779 ui/compositor/layer_animator_unittest.cc animator->set_preemption_strategy(LayerAnimator::IMMEDIATELY_SET_NEW_TARGET); animator 781 ui/compositor/layer_animator_unittest.cc animator->StartAnimation( animator 785 ui/compositor/layer_animator_unittest.cc animator->StartAnimation( animator 789 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(animator->is_animating()); animator 795 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 796 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = animator.get(); animator 797 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 799 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 809 ui/compositor/layer_animator_unittest.cc animator->set_preemption_strategy( animator 812 ui/compositor/layer_animator_unittest.cc animator->StartAnimation( animator 817 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); animator 821 ui/compositor/layer_animator_unittest.cc animator->StartAnimation( animator 826 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 829 ui/compositor/layer_animator_unittest.cc animator->StartAnimation( animator 834 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 838 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 844 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(animator->is_animating()); animator 853 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = test_controller.animator(); animator 854 ui/compositor/layer_animator_unittest.cc test_controller.animator()->set_disable_timer_for_test(true); animator 856 ui/compositor/layer_animator_unittest.cc test_controller.animator()->SetDelegate(&delegate); animator 866 ui/compositor/layer_animator_unittest.cc test_controller.animator()->set_preemption_strategy( animator 869 ui/compositor/layer_animator_unittest.cc test_controller.animator()->StartAnimation( animator 873 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = test_controller.animator()->last_step_time(); animator 876 ui/compositor/layer_animator_unittest.cc test_controller.animator()->OnThreadedAnimationStarted(cc::AnimationEvent( animator 886 ui/compositor/layer_animator_unittest.cc test_controller.animator()->StartAnimation( animator 890 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(test_controller.animator()->is_animating()); animator 893 ui/compositor/layer_animator_unittest.cc test_controller.animator()->StartAnimation( animator 897 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(test_controller.animator()->is_animating()); animator 901 ui/compositor/layer_animator_unittest.cc test_controller.animator()->OnThreadedAnimationStarted(cc::AnimationEvent( animator 911 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(test_controller.animator()->is_animating()); animator 920 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(test_controller.animator()->is_animating()); animator 926 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 927 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = animator.get(); animator 928 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 930 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 940 ui/compositor/layer_animator_unittest.cc animator->set_preemption_strategy(LayerAnimator::ENQUEUE_NEW_ANIMATION); animator 942 ui/compositor/layer_animator_unittest.cc animator->StartAnimation( animator 947 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); animator 951 ui/compositor/layer_animator_unittest.cc animator->StartAnimation( animator 956 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 959 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 963 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 968 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 973 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(animator->is_animating()); animator 981 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 982 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = animator.get(); animator 983 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 985 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 995 ui/compositor/layer_animator_unittest.cc animator->set_preemption_strategy(LayerAnimator::REPLACE_QUEUED_ANIMATIONS); animator 997 ui/compositor/layer_animator_unittest.cc animator->StartAnimation( animator 1002 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); animator 1006 ui/compositor/layer_animator_unittest.cc animator->StartAnimation( animator 1013 ui/compositor/layer_animator_unittest.cc animator->StartAnimation( animator 1018 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 1023 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 1028 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 1033 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(animator->is_animating()); animator 1038 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 1039 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 1041 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 1053 ui/compositor/layer_animator_unittest.cc animator->set_preemption_strategy( animator 1056 ui/compositor/layer_animator_unittest.cc animator->set_last_step_time(base::TimeTicks()); animator 1058 ui/compositor/layer_animator_unittest.cc animator->StartTogether( animator 1070 ui/compositor/layer_animator_unittest.cc delta = gfx::FrameTime::Now() - animator->last_step_time(); animator 1077 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 1078 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 1080 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 1092 ui/compositor/layer_animator_unittest.cc animator->set_preemption_strategy(LayerAnimator::IMMEDIATELY_SET_NEW_TARGET); animator 1094 ui/compositor/layer_animator_unittest.cc animator->StartTogether( animator 1101 ui/compositor/layer_animator_unittest.cc animator->StartTogether( animator 1108 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(animator->is_animating()); animator 1115 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 1116 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = animator.get(); animator 1117 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 1119 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 1134 ui/compositor/layer_animator_unittest.cc animator->set_preemption_strategy( animator 1137 ui/compositor/layer_animator_unittest.cc animator->StartTogether( animator 1145 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); animator 1149 ui/compositor/layer_animator_unittest.cc animator->StartTogether( animator 1155 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 1159 ui/compositor/layer_animator_unittest.cc animator->StartTogether( animator 1165 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 1169 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 1177 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(animator->is_animating()); animator 1187 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = test_controller.animator(); animator 1188 ui/compositor/layer_animator_unittest.cc test_controller.animator()->set_disable_timer_for_test(true); animator 1190 ui/compositor/layer_animator_unittest.cc test_controller.animator()->SetDelegate(&delegate); animator 1205 ui/compositor/layer_animator_unittest.cc test_controller.animator()->set_preemption_strategy( animator 1208 ui/compositor/layer_animator_unittest.cc test_controller.animator()->StartTogether( animator 1215 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = test_controller.animator()->last_step_time(); animator 1218 ui/compositor/layer_animator_unittest.cc test_controller.animator()->OnThreadedAnimationStarted(cc::AnimationEvent( animator 1228 ui/compositor/layer_animator_unittest.cc test_controller.animator()->StartTogether( animator 1234 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(test_controller.animator()->is_animating()); animator 1238 ui/compositor/layer_animator_unittest.cc test_controller.animator()->StartTogether( animator 1244 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(test_controller.animator()->is_animating()); animator 1248 ui/compositor/layer_animator_unittest.cc test_controller.animator()->OnThreadedAnimationStarted(cc::AnimationEvent( animator 1258 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(test_controller.animator()->is_animating()); animator 1270 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(test_controller.animator()->is_animating()); animator 1277 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 1278 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = animator.get(); animator 1279 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 1281 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 1296 ui/compositor/layer_animator_unittest.cc animator->set_preemption_strategy(LayerAnimator::ENQUEUE_NEW_ANIMATION); animator 1298 ui/compositor/layer_animator_unittest.cc animator->StartTogether( animator 1305 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); animator 1309 ui/compositor/layer_animator_unittest.cc animator->StartTogether( animator 1315 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 1319 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 1323 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 1329 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 1335 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(animator->is_animating()); animator 1344 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 1345 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = animator.get(); animator 1346 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 1348 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 1363 ui/compositor/layer_animator_unittest.cc animator->set_preemption_strategy(LayerAnimator::REPLACE_QUEUED_ANIMATIONS); animator 1365 ui/compositor/layer_animator_unittest.cc animator->StartTogether( animator 1372 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); animator 1376 ui/compositor/layer_animator_unittest.cc animator->StartTogether( animator 1385 ui/compositor/layer_animator_unittest.cc animator->StartTogether( animator 1391 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 1397 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 1403 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 1409 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(animator->is_animating()); animator 1416 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 1417 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = animator.get(); animator 1418 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 1420 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 1439 ui/compositor/layer_animator_unittest.cc animator->StartAnimation(sequence.release()); animator 1441 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); animator 1445 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 1450 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 1455 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 1461 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 1467 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 1470 ui/compositor/layer_animator_unittest.cc animator->StopAnimatingProperty(LayerAnimationElement::BRIGHTNESS); animator 1472 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(animator->is_animating()); animator 1479 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = test_controller.animator(); animator 1480 ui/compositor/layer_animator_unittest.cc test_controller.animator()->set_disable_timer_for_test(true); animator 1482 ui/compositor/layer_animator_unittest.cc test_controller.animator()->SetDelegate(&delegate); animator 1500 ui/compositor/layer_animator_unittest.cc test_controller.animator()->StartAnimation(sequence.release()); animator 1502 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = test_controller.animator()->last_step_time(); animator 1505 ui/compositor/layer_animator_unittest.cc test_controller.animator()->OnThreadedAnimationStarted(cc::AnimationEvent( animator 1514 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(test_controller.animator()->is_animating()); animator 1518 ui/compositor/layer_animator_unittest.cc test_controller.animator()->OnThreadedAnimationStarted(cc::AnimationEvent( animator 1528 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(test_controller.animator()->is_animating()); animator 1532 ui/compositor/layer_animator_unittest.cc test_controller.animator()->OnThreadedAnimationStarted(cc::AnimationEvent( animator 1541 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(test_controller.animator()->is_animating()); animator 1545 ui/compositor/layer_animator_unittest.cc test_controller.animator()->OnThreadedAnimationStarted(cc::AnimationEvent( animator 1556 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(test_controller.animator()->is_animating()); animator 1560 ui/compositor/layer_animator_unittest.cc test_controller.animator()->OnThreadedAnimationStarted(cc::AnimationEvent( animator 1571 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(test_controller.animator()->is_animating()); animator 1574 ui/compositor/layer_animator_unittest.cc test_controller.animator()->StopAnimatingProperty( animator 1577 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(test_controller.animator()->is_animating()); animator 1581 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 1582 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = animator.get(); animator 1583 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 1586 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 1587 ui/compositor/layer_animator_unittest.cc animator->AddObserver(&observer); animator 1599 ui/compositor/layer_animator_unittest.cc animator->StartAnimation(sequence); animator 1603 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); animator 1613 ui/compositor/layer_animator_unittest.cc animator->StartAnimation(sequence); animator 1615 ui/compositor/layer_animator_unittest.cc animator = NULL; animator 1623 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 1624 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = animator.get(); animator 1625 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 1628 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 1631 ui/compositor/layer_animator_unittest.cc animator->SetBrightness(1.0f); animator 1634 ui/compositor/layer_animator_unittest.cc ScopedLayerAnimationSettings settings(animator.get()); animator 1636 ui/compositor/layer_animator_unittest.cc animator->SetBrightness(0.0f); animator 1640 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); animator 1651 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 1652 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 1655 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 1658 ui/compositor/layer_animator_unittest.cc animator->SetBrightness(1.0f); animator 1661 ui/compositor/layer_animator_unittest.cc ScopedLayerAnimationSettings settings(animator.get()); animator 1663 ui/compositor/layer_animator_unittest.cc animator->SetBrightness(0.0f); animator 1669 ui/compositor/layer_animator_unittest.cc animator->SetBrightness(1.0f); animator 1680 ui/compositor/layer_animator_unittest.cc TestLayerAnimator* animator = new TestLayerAnimator(); animator 1682 ui/compositor/layer_animator_unittest.cc animator->SetDestructionObserver(&destruction_observer); animator 1683 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = animator; animator 1684 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 1686 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 1690 ui/compositor/layer_animator_unittest.cc ScopedLayerAnimationSettings settings(animator); animator 1692 ui/compositor/layer_animator_unittest.cc animator->SetBrightness(0.5); animator 1703 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 1704 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 1708 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 1713 ui/compositor/layer_animator_unittest.cc animator->SetBrightness(1.0f); animator 1716 ui/compositor/layer_animator_unittest.cc ScopedLayerAnimationSettings settings(animator.get()); animator 1719 ui/compositor/layer_animator_unittest.cc animator->SetBrightness(0.0f); animator 1724 ui/compositor/layer_animator_unittest.cc animator = NULL; animator 1732 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 1733 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 1736 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 1739 ui/compositor/layer_animator_unittest.cc animator->SetBrightness(1.0f); animator 1742 ui/compositor/layer_animator_unittest.cc ScopedLayerAnimationSettings settings(animator.get()); animator 1744 ui/compositor/layer_animator_unittest.cc animator->SetBrightness(0.0f); animator 1748 ui/compositor/layer_animator_unittest.cc animator->AbortAllAnimations(); animator 1757 ui/compositor/layer_animator_unittest.cc ScopedLayerAnimationSettings settings(animator.get()); animator 1759 ui/compositor/layer_animator_unittest.cc animator->SetOpacity(0.0f); animator 1763 ui/compositor/layer_animator_unittest.cc animator->AbortAllAnimations(); animator 1772 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 1773 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = animator.get(); animator 1774 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 1778 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 1788 ui/compositor/layer_animator_unittest.cc animator->StartAnimation(sequence); animator 1796 ui/compositor/layer_animator_unittest.cc animator->RemoveObserver(&removed_observer); animator 1798 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); animator 1808 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 1809 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 1813 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 1814 ui/compositor/layer_animator_unittest.cc animator->AddObserver(observer.get()); animator 1822 ui/compositor/layer_animator_unittest.cc animator->StartAnimation(sequence); animator 1835 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 1836 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = animator.get(); animator 1837 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 1841 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 1846 ui/compositor/layer_animator_unittest.cc ScopedLayerAnimationSettings setter(animator.get()); animator 1852 ui/compositor/layer_animator_unittest.cc animator->StartAnimation(sequence); animator 1853 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); animator 1870 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 1871 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = animator.get(); animator 1872 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 1876 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 1884 ui/compositor/layer_animator_unittest.cc ScopedLayerAnimationSettings setter(animator.get()); animator 1887 ui/compositor/layer_animator_unittest.cc animator->StartAnimation(sequence); animator 1888 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); animator 1914 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(new TestLayerAnimator()); animator 1915 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = animator.get(); animator 1916 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 1918 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 1934 ui/compositor/layer_animator_unittest.cc new DeletingLayerAnimationObserver(animator.get())); animator 1936 ui/compositor/layer_animator_unittest.cc animator->AddObserver(observer.get()); animator 1938 ui/compositor/layer_animator_unittest.cc animator->StartAnimation( animator 1943 ui/compositor/layer_animator_unittest.cc animator->StartAnimation(new LayerAnimationSequence( animator 1946 ui/compositor/layer_animator_unittest.cc ASSERT_TRUE(animator->IsAnimatingProperty(LayerAnimationElement::BOUNDS)); animator 1948 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); animator 1953 ui/compositor/layer_animator_unittest.cc ASSERT_FALSE(animator->IsAnimatingProperty(LayerAnimationElement::BOUNDS)); animator 1955 ui/compositor/layer_animator_unittest.cc animator->RemoveObserver(observer.get()); animator 1966 ui/compositor/layer_animator_unittest.cc TestLayerAnimationDeletingDelegate(LayerAnimator* animator, int max_width) animator 1967 ui/compositor/layer_animator_unittest.cc : animator_(animator), animator 1984 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(new TestLayerAnimator()); animator 1985 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = animator.get(); animator 1986 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 1987 ui/compositor/layer_animator_unittest.cc TestLayerAnimationDeletingDelegate delegate(animator.get(), 30); animator 1988 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 2000 ui/compositor/layer_animator_unittest.cc animator->StartAnimation(new LayerAnimationSequence( animator 2003 ui/compositor/layer_animator_unittest.cc ASSERT_TRUE(animator->IsAnimatingProperty(LayerAnimationElement::BOUNDS)); animator 2005 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); animator 2007 ui/compositor/layer_animator_unittest.cc ASSERT_TRUE(animator->IsAnimatingProperty(LayerAnimationElement::BOUNDS)); animator 2012 ui/compositor/layer_animator_unittest.cc ASSERT_FALSE(animator->IsAnimatingProperty(LayerAnimationElement::BOUNDS)); animator 2017 ui/compositor/layer_animator_unittest.cc ASSERT_FALSE(animator->IsAnimatingProperty(LayerAnimationElement::BOUNDS)); animator 2026 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(new TestLayerAnimator()); animator 2027 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 2029 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 2042 ui/compositor/layer_animator_unittest.cc new DeletingLayerAnimationObserver(animator.get())); animator 2043 ui/compositor/layer_animator_unittest.cc animator->AddObserver(observer.get()); animator 2045 ui/compositor/layer_animator_unittest.cc animator->StartAnimation( animator 2049 ui/compositor/layer_animator_unittest.cc animator->StartAnimation(new LayerAnimationSequence( animator 2052 ui/compositor/layer_animator_unittest.cc ASSERT_TRUE(animator->IsAnimatingProperty(LayerAnimationElement::BOUNDS)); animator 2054 ui/compositor/layer_animator_unittest.cc animator->set_preemption_strategy( animator 2056 ui/compositor/layer_animator_unittest.cc animator->StartAnimation( animator 2064 ui/compositor/layer_animator_unittest.cc ASSERT_FALSE(animator->IsAnimatingProperty(LayerAnimationElement::BOUNDS)); animator 2066 ui/compositor/layer_animator_unittest.cc animator->RemoveObserver(observer.get()); animator 2072 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 2073 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 2075 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 2088 ui/compositor/layer_animator_unittest.cc animator->StartAnimation(sequence.release()); animator 2090 ui/compositor/layer_animator_unittest.cc animator->SetOpacity(0.5); animator 2092 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(animator->is_animating()); animator 2093 ui/compositor/layer_animator_unittest.cc EXPECT_EQ(0.5, animator->GetTargetOpacity()); animator 2099 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 2100 ui/compositor/layer_animator_unittest.cc animator->set_preemption_strategy(LayerAnimator::IMMEDIATELY_SET_NEW_TARGET); animator 2101 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 2103 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 2113 ui/compositor/layer_animator_unittest.cc ScopedLayerAnimationSettings settings(animator.get()); animator 2114 ui/compositor/layer_animator_unittest.cc animator->SetBounds(middle_bounds); animator 2117 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->IsAnimatingProperty(LayerAnimationElement::BOUNDS)); animator 2130 ui/compositor/layer_animator_unittest.cc animator->StartAnimation(sequence.release()); animator 2132 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(animator->IsAnimatingProperty(LayerAnimationElement::BOUNDS)); animator 2140 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 2141 ui/compositor/layer_animator_unittest.cc animator->set_preemption_strategy(LayerAnimator::ENQUEUE_NEW_ANIMATION); animator 2142 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 2143 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 2148 ui/compositor/layer_animator_unittest.cc ScopedLayerAnimationSettings settings(animator.get()); animator 2149 ui/compositor/layer_animator_unittest.cc animator->SetOpacity(0.5); animator 2150 ui/compositor/layer_animator_unittest.cc EXPECT_EQ(0.5, animator->GetTargetOpacity()); animator 2153 ui/compositor/layer_animator_unittest.cc animator->SetOpacity(1.0); animator 2154 ui/compositor/layer_animator_unittest.cc EXPECT_EQ(1.0, animator->GetTargetOpacity()); animator 2160 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 2161 ui/compositor/layer_animator_unittest.cc animator->set_preemption_strategy(LayerAnimator::ENQUEUE_NEW_ANIMATION); animator 2162 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 2164 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 2169 ui/compositor/layer_animator_unittest.cc ScopedLayerAnimationSettings settings(animator.get()); animator 2170 ui/compositor/layer_animator_unittest.cc animator->SetBrightness(0.5); animator 2171 ui/compositor/layer_animator_unittest.cc EXPECT_EQ(0.5, animator->GetTargetBrightness()); animator 2174 ui/compositor/layer_animator_unittest.cc animator->SetBrightness(1.0); animator 2175 ui/compositor/layer_animator_unittest.cc EXPECT_EQ(1.0, animator->GetTargetBrightness()); animator 2181 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 2182 ui/compositor/layer_animator_unittest.cc animator->set_preemption_strategy(LayerAnimator::ENQUEUE_NEW_ANIMATION); animator 2183 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 2185 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 2190 ui/compositor/layer_animator_unittest.cc ScopedLayerAnimationSettings settings(animator.get()); animator 2191 ui/compositor/layer_animator_unittest.cc animator->SetGrayscale(0.5); animator 2192 ui/compositor/layer_animator_unittest.cc EXPECT_EQ(0.5, animator->GetTargetGrayscale()); animator 2195 ui/compositor/layer_animator_unittest.cc animator->SetGrayscale(1.0); animator 2196 ui/compositor/layer_animator_unittest.cc EXPECT_EQ(1.0, animator->GetTargetGrayscale()); animator 2202 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 2203 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = animator.get(); animator 2204 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 2206 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 2216 ui/compositor/layer_animator_unittest.cc animator->ScheduleAnimation( animator 2220 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 2224 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); animator 2228 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->is_animating()); animator 2234 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(animator->is_animating()); animator 2241 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 2242 ui/compositor/layer_animator_unittest.cc animator->set_preemption_strategy(LayerAnimator::ENQUEUE_NEW_ANIMATION); animator 2243 ui/compositor/layer_animator_unittest.cc animator->SchedulePauseForProperties( animator 2246 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->IsAnimatingProperty(LayerAnimationElement::TRANSFORM)); animator 2247 ui/compositor/layer_animator_unittest.cc EXPECT_TRUE(animator->IsAnimatingProperty(LayerAnimationElement::BOUNDS)); animator 2248 ui/compositor/layer_animator_unittest.cc EXPECT_FALSE(animator->IsAnimatingProperty(LayerAnimationElement::OPACITY)); animator 2274 ui/compositor/layer_animator_unittest.cc animator()->AddObserver(this); animator 2278 ui/compositor/layer_animator_unittest.cc animator()->RemoveObserver(this); animator 2282 ui/compositor/layer_animator_unittest.cc LayerAnimator* animator() { return animator_owner_->animator(); } animator 2339 ui/compositor/layer_animator_unittest.cc LayerAnimator* animator = observer->animator(); animator 2340 ui/compositor/layer_animator_unittest.cc AnimationContainerElement* element = observer->animator(); animator 2341 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 2343 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 2355 ui/compositor/layer_animator_unittest.cc animator->StartAnimation(brightness_sequence); animator 2360 ui/compositor/layer_animator_unittest.cc animator->StartAnimation(bounds_sequence); animator 2362 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); animator 2373 ui/compositor/layer_animator_unittest.cc LayerAnimator* animator = observer->animator(); animator 2374 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 2376 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 2388 ui/compositor/layer_animator_unittest.cc animator->StartAnimation(opacity_sequence); animator 2393 ui/compositor/layer_animator_unittest.cc animator->StartAnimation(bounds_sequence); animator 2395 ui/compositor/layer_animator_unittest.cc animator->StopAnimating(); animator 2405 ui/compositor/layer_animator_unittest.cc LayerAnimator* animator = observer->animator(); animator 2406 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 2407 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 2426 ui/compositor/layer_animator_unittest.cc animator->ScheduleTogether(to_start); animator 2436 ui/compositor/layer_animator_unittest.cc LayerAnimator* animator = observer->animator(); animator 2437 ui/compositor/layer_animator_unittest.cc animator->set_preemption_strategy( animator 2439 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 2440 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 2459 ui/compositor/layer_animator_unittest.cc animator->ScheduleTogether(to_start); animator 2463 ui/compositor/layer_animator_unittest.cc animator->StartAnimation(new LayerAnimationSequence( animator 2472 ui/compositor/layer_animator_unittest.cc scoped_refptr<LayerAnimator> animator(LayerAnimator::CreateDefaultAnimator()); animator 2473 ui/compositor/layer_animator_unittest.cc animator->set_disable_timer_for_test(true); animator 2475 ui/compositor/layer_animator_unittest.cc animator->SetDelegate(&delegate); animator 2483 ui/compositor/layer_animator_unittest.cc ScopedLayerAnimationSettings settings(animator.get()); animator 2487 ui/compositor/layer_animator_unittest.cc animator->SetOpacity(target_opacity); animator 2494 ui/compositor/layer_animator_unittest.cc animator->SetOpacity(magic_opacity); animator 82 ui/compositor/scoped_layer_animation_settings.cc scoped_refptr<LayerAnimator> animator) animator 83 ui/compositor/scoped_layer_animation_settings.cc : animator_(animator), animator 85 ui/compositor/scoped_layer_animation_settings.cc animator->is_transition_duration_locked_), animator 86 ui/compositor/scoped_layer_animation_settings.cc old_transition_duration_(animator->GetTransitionDuration()), animator 87 ui/compositor/scoped_layer_animation_settings.cc old_tween_type_(animator->tween_type()), animator 88 ui/compositor/scoped_layer_animation_settings.cc old_preemption_strategy_(animator->preemption_strategy()), animator 29 ui/compositor/scoped_layer_animation_settings.h explicit ScopedLayerAnimationSettings(scoped_refptr<LayerAnimator> animator); animator 14 ui/compositor/test/layer_animator_test_controller.cc scoped_refptr<LayerAnimator> animator) animator 15 ui/compositor/test/layer_animator_test_controller.cc : animator_(animator) { animator 15 ui/compositor/test/layer_animator_test_controller.h LayerAnimatorTestController(scoped_refptr<LayerAnimator> animator); animator 19 ui/compositor/test/layer_animator_test_controller.h LayerAnimator* animator() { return animator_.get(); } animator 141 ui/keyboard/keyboard_controller.cc CallbackAnimationObserver(ui::LayerAnimator* animator, animator 160 ui/keyboard/keyboard_controller.cc ui::LayerAnimator* animator, base::Callback<void(void)> callback) animator 161 ui/keyboard/keyboard_controller.cc : animator_(animator), callback_(callback) { animator 44 ui/keyboard/keyboard_controller_unittest.cc while (controller.animator()->is_animating()) { animator 46 ui/keyboard/keyboard_controller_unittest.cc base::TimeTicks step_time = controller.animator()->last_step_time(); animator 132 ui/message_center/views/message_center_view.cc views::BoundsAnimator* animator) OVERRIDE; animator 133 ui/message_center/views/message_center_view.cc virtual void OnBoundsAnimatorDone(views::BoundsAnimator* animator) OVERRIDE; animator 370 ui/message_center/views/message_center_view.cc views::BoundsAnimator* animator) { animator 371 ui/message_center/views/message_center_view.cc DCHECK_EQ(animator_.get(), animator); animator 374 ui/message_center/views/message_center_view.cc const gfx::SlideAnimation* animation = animator->GetAnimationForView(*iter); animator 380 ui/message_center/views/message_center_view.cc void MessageListView::OnBoundsAnimatorDone(views::BoundsAnimator* animator) { animator 17 ui/views/animation/bounds_animator_observer.h virtual void OnBoundsAnimatorProgressed(BoundsAnimator* animator) = 0; animator 20 ui/views/animation/bounds_animator_observer.h virtual void OnBoundsAnimatorDone(BoundsAnimator* animator) = 0; animator 117 ui/views/animation/bounds_animator_unittest.cc animator()->AnimateViewTo(child(), target_bounds); animator 118 ui/views/animation/bounds_animator_unittest.cc animator()->SetAnimationDelegate(child(), &delegate, false); animator 121 ui/views/animation/bounds_animator_unittest.cc EXPECT_TRUE(animator()->IsAnimating()); animator 138 ui/views/animation/bounds_animator_unittest.cc animator()->AnimateViewTo(child(), gfx::Rect(0, 0, 10, 10)); animator 139 ui/views/animation/bounds_animator_unittest.cc animator()->SetAnimationDelegate(child(), new OwnedDelegate(), true); animator 141 ui/views/animation/bounds_animator_unittest.cc animator()->Cancel(); animator 144 ui/views/animation/bounds_animator_unittest.cc EXPECT_FALSE(animator()->IsAnimating()); animator 154 ui/views/animation/bounds_animator_unittest.cc animator()->AnimateViewTo(child(), gfx::Rect(0, 0, 10, 10)); animator 155 ui/views/animation/bounds_animator_unittest.cc animator()->SetAnimationDelegate(child(), new OwnedDelegate(), true); animator 157 ui/views/animation/bounds_animator_unittest.cc animator()->AnimateViewTo(child(), gfx::Rect(0, 0, 10, 10)); animator 168 ui/views/animation/bounds_animator_unittest.cc animator()->AnimateViewTo(child(), gfx::Rect(0, 0, 10, 10)); animator 169 ui/views/animation/bounds_animator_unittest.cc animator()->SetAnimationDelegate(child(), new OwnedDelegate(), true); animator 171 ui/views/animation/bounds_animator_unittest.cc animator()->StopAnimatingView(child()); animator 174 ui/views/animation/bounds_animator_unittest.cc EXPECT_FALSE(animator()->IsAnimating()); animator 3005 ui/views/view_unittest.cc TestLayerAnimator* animator = new TestLayerAnimator(); animator 3006 ui/views/view_unittest.cc v1->layer()->SetAnimator(animator); animator 3010 ui/views/view_unittest.cc EXPECT_EQ(bounds, animator->last_bounds());