Home
last modified time | relevance | path

Searched refs:shelf_animation_ (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/chrome/browser/ui/views/download/
Ddownload_shelf_view.cc178 if (shelf_animation_->is_animating()) { in GetPreferredSize()
181 shelf_animation_->GetCurrentValue())); in GetPreferredSize()
190 } else if (animation == shelf_animation_.get()) { in AnimationProgressed()
197 parent_->ToolbarSizeChanged(shelf_animation_->IsShowing()); in AnimationProgressed()
202 if (animation == shelf_animation_.get()) { in AnimationEnded()
203 parent_->SetDownloadShelfVisible(shelf_animation_->IsShowing()); in AnimationEnded()
204 if (!shelf_animation_->IsShowing()) in AnimationEnded()
311 shelf_animation_.reset(new gfx::SlideAnimation(this)); in ViewHierarchyChanged()
312 shelf_animation_->SetSlideDuration(kShelfAnimationDurationMs); in ViewHierarchyChanged()
366 return shelf_animation_->IsShowing(); in IsShowing()
[all …]
Ddownload_shelf_view.h132 scoped_ptr<gfx::SlideAnimation> shelf_animation_; variable
/external/chromium/chrome/browser/ui/views/download/
Ddownload_shelf_view.cc126 shelf_animation_.reset(new ui::SlideAnimation(this)); in Init()
127 shelf_animation_->SetSlideDuration(kShelfAnimationDurationMs); in Init()
219 if (shelf_animation_->is_animating()) { in GetPreferredSize()
222 shelf_animation_->GetCurrentValue())); in GetPreferredSize()
231 } else if (animation == shelf_animation_.get()) { in AnimationProgressed()
238 parent_->ToolbarSizeChanged(shelf_animation_->IsShowing()); in AnimationProgressed()
243 if (animation == shelf_animation_.get()) { in AnimationEnded()
244 parent_->SetDownloadShelfVisible(shelf_animation_->IsShowing()); in AnimationEnded()
245 if (!shelf_animation_->IsShowing()) in AnimationEnded()
372 return shelf_animation_->IsShowing(); in IsShowing()
[all …]
Ddownload_shelf_view.h133 scoped_ptr<ui::SlideAnimation> shelf_animation_; variable