Searched refs:animation_ (Results 1 - 25 of 82) sorted by relevance

1234

/external/chromium_org/ash/system/chromeos/network/
H A Dnetwork_icon_animation.cc17 : animation_(this) {
19 animation_.SetThrobDuration(kThrobDurationMs);
20 animation_.SetTweenType(gfx::Tween::LINEAR);
28 if (animation != &animation_)
34 if (!animation_.is_animating()) {
35 animation_.Reset();
36 animation_.StartThrobbing(-1 /*throb indefinitely*/);
39 return animation_.GetCurrentValue();
50 animation_.Reset(); // Stops the animation and resets the current value.
H A Dnetwork_icon_animation.h41 gfx::ThrobAnimation animation_; member in class:ash::network_icon::NetworkIconAnimation
/external/chromium_org/ash/shelf/
H A Dbackground_animator.cc24 animation_(this),
27 animation_.SetSlideDuration(kBackgroundDurationMS);
34 animation_.SetSlideDuration(time_in_ms);
42 if (type == BACKGROUND_CHANGE_IMMEDIATE && !animation_.is_animating()) {
43 animation_.Reset(value ? 1.0f : 0.0f);
44 AnimationProgressed(&animation_);
48 animation_.Show();
50 animation_.Hide();
/external/chromium_org/webkit/renderer/compositor_bindings/
H A Dweb_animation_impl.cc55 animation_ = Animation::Create(
64 int WebAnimationImpl::id() { return animation_->id(); }
68 animation_->target_property());
71 int WebAnimationImpl::iterations() const { return animation_->iterations(); }
73 void WebAnimationImpl::setIterations(int n) { animation_->set_iterations(n); }
75 double WebAnimationImpl::startTime() const { return animation_->start_time(); }
78 animation_->set_start_time(monotonic_time);
82 return animation_->time_offset();
86 animation_->set_time_offset(monotonic_time);
90 return animation_
[all...]
/external/chromium/chrome/browser/ui/gtk/
H A Dslide_animator_gtk.cc58 animation_.reset(new ui::SlideAnimation(this));
61 animation_->SetTweenType(ui::Tween::LINEAR);
63 animation_->SetSlideDuration(duration);
75 animation_->Show();
80 animation_->Reset(1.0);
81 animation_->Show();
82 AnimationProgressed(animation_.get());
89 animation_->Hide();
93 animation_->End();
97 animation_
[all...]
/external/chromium_org/chrome/browser/ui/gtk/
H A Dslide_animator_gtk.cc58 animation_.reset(new gfx::SlideAnimation(this));
61 animation_->SetTweenType(gfx::Tween::LINEAR);
63 animation_->SetSlideDuration(duration);
75 animation_->Show();
80 animation_->Reset(1.0);
81 animation_->Show();
82 AnimationProgressed(animation_.get());
89 animation_->Hide();
93 animation_->End();
97 animation_
[all...]
H A Dthrobber_gtk.cc24 animation_(this),
35 animation_.Show();
39 animation_.Reset();
43 animation_.Reset();
44 animation_.Show();
68 static_cast<int>(animation_.GetCurrentValue() * (num_frames_ - 1));
81 animation_.SetSlideDuration(kThrobberDurationMs);
82 animation_.SetTweenType(gfx::Tween::LINEAR);
/external/chromium_org/ui/views/controls/
H A Dglow_hover_controller.cc24 animation_(this),
26 animation_.set_delegate(this);
34 animation_.SetContainer(container);
47 animation_.SetSlideDuration(kTrackHoverDurationMs);
48 animation_.SetTweenType(gfx::Tween::EASE_OUT);
49 animation_.Show();
54 animation_.Show();
55 animation_.End();
61 animation_.SetTweenType(gfx::Tween::EASE_IN);
62 animation_
[all...]
/external/chromium_org/ash/system/tray/
H A Dtray_item_view.cc62 if (!animation_) {
63 animation_.reset(new gfx::SlideAnimation(this));
64 animation_->SetSlideDuration(GetAnimationDurationMS());
65 animation_->SetTweenType(gfx::Tween::LINEAR);
66 animation_->Reset(visible() ? 1.0 : 0.0);
70 animation_->Hide();
71 AnimationProgressed(animation_.get());
73 animation_->Show();
74 AnimationProgressed(animation_.get());
94 if (!animation_
[all...]
/external/chromium_org/chrome/browser/infobars/
H A Dinfobar.cc19 animation_(this),
26 animation_.SetTweenType(gfx::Tween::LINEAR);
64 animation_.Show();
66 animation_.Reset(1.0);
74 animation_.Hide();
76 animation_.Reset(0.0);
89 if ((arrow_target_height_ != height) && !animation_.IsClosing()) {
135 double scale_factor = sqrt(animation_.GetCurrentValue());
137 if (animation_.is_animating()) {
156 bar_height_ = animation_
[all...]
H A Dinfobar.h93 const gfx::SlideAnimation& animation() const { return animation_; }
105 gfx::SlideAnimation* animation() { return &animation_; }
135 gfx::SlideAnimation animation_; member in class:InfoBar
/external/chromium/chrome/browser/chromeos/
H A Dsetting_level_bubble.cc85 animation_(this) {
86 animation_.SetSlideDuration(kAnimationDurationMs);
87 animation_.SetTweenType(ui::Tween::LINEAR);
127 if (animation_.is_animating())
128 animation_.End();
129 animation_.Reset();
130 animation_.Show();
144 animation_.is_animating() ?
145 animation_.GetCurrentValue() :
151 if (animation_
[all...]
/external/chromium/chrome/browser/ui/views/infobars/
H A Dinfobar.cc16 ALLOW_THIS_IN_INITIALIZER_LIST(animation_(new ui::SlideAnimation(this))),
23 animation_->SetTweenType(ui::Tween::LINEAR);
31 animation_->Show();
33 animation_->Reset(1.0);
41 animation_->Hide();
43 animation_->Reset(0.0);
100 if (animation_->is_animating()) {
130 container_->OnInfoBarStateChanged(animation_->is_animating());
134 if (delegate_ && (animation_->GetCurrentValue() == 0.0)) {
H A Dinfobar.h51 const ui::SlideAnimation* animation() const { return animation_.get(); }
75 ui::SlideAnimation* animation() { return animation_.get(); }
101 scoped_ptr<ui::SlideAnimation> animation_; member in class:InfoBar
/external/chromium/chrome/browser/ui/views/location_bar/
H A Dsuggested_text_view.cc25 animation_.reset(CreateAnimation());
26 animation_->Start();
31 if (animation_.get()) {
33 animation_->set_delegate(NULL);
34 animation_.reset(NULL);
42 if (!animation_.get() || animation_->GetCurrentValue() == 0)
83 if (!animation_.get()) {
88 double value = animation_->GetCurrentValue();
/external/chromium_org/chrome/browser/ui/toolbar/
H A Dwrench_icon_painter.cc87 animation_.reset();
99 animation_.reset(
101 animation_->set_delegate(this);
102 animation_->set_continuous(false);
103 animation_->Start();
144 if (animation_ && animation_->is_animating()) {
145 if (animation_->current_part_index() % 2 == 1) {
147 int alpha = animation_->CurrentValueBetween(0xFF, 0);
154 GetStaggeredValue(animation_
[all...]
/external/chromium_org/ash/wm/caption_buttons/
H A Dframe_caption_button.cc30 animation_(new gfx::SlideAnimation(this)) {
31 animation_->Reset(1);
50 animation_->Reset(0);
51 animation_->SetSlideDuration(kCrossfadeDurationMs);
52 animation_->Show();
54 animation_->Reset(1);
63 animation_->Reset(1);
74 int alpha = static_cast<int>(animation_->GetCurrentValue() * 255);
117 animation_->Reset(1);
/external/chromium_org/chrome/browser/ui/views/
H A Ddropdown_bar_host.cc89 animation_.reset(new gfx::SlideAnimation(this));
105 animation_->Reset(1);
106 AnimationProgressed(animation_.get());
109 animation_->Reset();
110 animation_->Show();
122 return animation_->is_animating();
129 !animation_->IsClosing()) {
130 animation_->Hide();
132 if (animation_->IsClosing()) {
142 animation_
[all...]
/external/chromium_org/ui/views/animation/
H A Dscroll_animator.h40 bool is_scrolling() const { return !!animation_.get(); }
56 scoped_ptr<gfx::SlideAnimation> animation_; member in class:views::ScrollAnimator
H A Dscroll_animator.cc54 animation_.reset(new gfx::SlideAnimation(this));
55 animation_->SetSlideDuration(static_cast<int>(duration_ * 1000));
56 animation_->Show();
61 animation_.reset();
/external/chromium_org/ui/gfx/animation/
H A Dslide_animation_unittest.cc17 explicit TestApi(SlideAnimation* animation) : animation_(animation) {}
20 animation_->SetStartTime(ticks);
24 animation_->Step(ticks);
28 SlideAnimation* animation_; member in class:gfx::SlideAnimation::TestApi
/external/chromium/chrome/browser/ui/views/
H A Ddropdown_bar_host.cc74 animation_.reset(new ui::SlideAnimation(this));
89 animation_->Reset(1);
90 AnimationProgressed(animation_.get());
95 animation_->Reset();
96 animation_->Show();
106 return animation_->is_animating();
113 animation_->Reset(1.0);
114 animation_->Hide();
123 animation_->End();
161 animation_offset_ = static_cast<int>((1.0 - animation_
[all...]
/external/chromium/chrome/browser/ui/gtk/infobars/
H A Dinfobar_arrow_model.cc18 animation_(this) {
19 animation_.SetTweenType(ui::Tween::LINEAR);
20 animation_.Reset(1.0);
29 double alpha = animation_.GetCurrentValue();
61 animation_.Reset();
62 animation_.Show();
65 animation_.Reset(1.0);
/external/chromium_org/ash/display/
H A Dshared_display_edge_indicator.h51 scoped_ptr<gfx::ThrobAnimation> animation_; member in class:ash::internal::SharedDisplayEdgeIndicator
/external/chromium_org/chrome/browser/ui/cocoa/
H A Dfullscreen_mode_controller.h41 base::scoped_nsobject<NSAnimation> animation_; variable
43 // The current and destination states of |animation_|. When no animation is

Completed in 618 milliseconds

1234