Home | History | Annotate | Download | only in infobars

Lines Matching refs:Animation

9 #include "ui/base/animation/slide_animation.h"
50 // Once the closing animation starts, we ignore further requests to change the
52 if ((arrow_target_height_ != height) && !animation()->IsClosing()) {
58 void InfoBar::AnimationProgressed(const ui::Animation* animation) {
80 void InfoBar::AnimationEnded(const ui::Animation* animation) {
81 // When the animation ends, we must ensure the container is notified even if
82 // the heights haven't changed, lest it never get an "animation finished"
95 // scaling each of these with the square root of the animation value causes a
96 // linear animation of the area, which matches the perception of the animation
98 double scale_factor = sqrt(animation()->GetCurrentValue());
120 static_cast<int>(bar_target_height_ * animation()->GetCurrentValue());
122 // Don't re-layout if nothing has changed, e.g. because the animation step was