Home
last modified time | relevance | path

Searched refs:animation_ (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium/chrome/browser/ui/cocoa/
Danimatable_image_unittest.mm20 animation_ = [[AnimatableImage alloc] initWithImage:image
24 AnimatableImage* animation_;
28 [animation_ setStartFrame:CGRectMake(0, 0, 10, 10)];
29 [animation_ setEndFrame:CGRectMake(500, 500, 100, 100)];
30 [animation_ setStartOpacity:0.1];
31 [animation_ setEndOpacity:1.0];
32 [animation_ setDuration:0.5];
33 [animation_ startAnimation];
37 [animation_ setStartFrame:CGRectMake(0, 0, 10, 10)];
38 [animation_ setEndFrame:CGRectMake(500, 500, 100, 100)];
[all …]
/external/chromium/chrome/browser/ui/gtk/
Dslide_animator_gtk.cc58 animation_.reset(new ui::SlideAnimation(this)); in SlideAnimatorGtk()
61 animation_->SetTweenType(ui::Tween::LINEAR); in SlideAnimatorGtk()
63 animation_->SetSlideDuration(duration); in SlideAnimatorGtk()
75 animation_->Show(); in Open()
80 animation_->Reset(1.0); in OpenWithoutAnimation()
81 animation_->Show(); in OpenWithoutAnimation()
82 AnimationProgressed(animation_.get()); in OpenWithoutAnimation()
89 animation_->Hide(); in Close()
93 animation_->End(); in End()
97 animation_->Reset(0.0); in CloseWithoutAnimation()
[all …]
Dslide_animator_gtk.h99 scoped_ptr<ui::SlideAnimation> animation_; variable
Dlocation_bar_view_gtk.cc1235 animation_(this), in ContentSettingImageViewGtk()
1259 animation_.SetSlideDuration(kContentSettingImageAnimationTime); in ContentSettingImageViewGtk()
1313 if (animation_.IsShowing() || animation_.IsClosing()) in StartAnimating()
1326 animation_.Show(); in StartAnimating()
1330 animation_.Hide(); in CloseAnimation()
1343 if (animation_.IsShowing()) { in AnimationEnded()
1385 if (!(animation_.IsShowing() || animation_.IsClosing())) in OnExpose()
/external/chromium/chrome/browser/chromeos/
Dsetting_level_bubble.cc85 animation_(this) { in SettingLevelBubble()
86 animation_.SetSlideDuration(kAnimationDurationMs); in SettingLevelBubble()
87 animation_.SetTweenType(ui::Tween::LINEAR); in SettingLevelBubble()
127 if (animation_.is_animating()) in ShowBubble()
128 animation_.End(); in ShowBubble()
129 animation_.Reset(); in ShowBubble()
130 animation_.Show(); in ShowBubble()
144 animation_.is_animating() ? in UpdateWithoutShowingBubble()
145 animation_.GetCurrentValue() : in UpdateWithoutShowingBubble()
151 if (animation_.is_animating()) in UpdateWithoutShowingBubble()
[all …]
Dsetting_level_bubble.h80 ui::SlideAnimation animation_; variable
/external/chromium/chrome/browser/ui/views/infobars/
Dinfobar.cc16 ALLOW_THIS_IN_INITIALIZER_LIST(animation_(new ui::SlideAnimation(this))), in InfoBar()
23 animation_->SetTweenType(ui::Tween::LINEAR); in InfoBar()
31 animation_->Show(); in Show()
33 animation_->Reset(1.0); in Show()
41 animation_->Hide(); in Hide()
43 animation_->Reset(0.0); in Hide()
100 if (animation_->is_animating()) { in RecalculateHeights()
130 container_->OnInfoBarStateChanged(animation_->is_animating()); in RecalculateHeights()
134 if (delegate_ && (animation_->GetCurrentValue() == 0.0)) { in MaybeDelete()
Dinfobar.h51 const ui::SlideAnimation* animation() const { return animation_.get(); } in animation()
75 ui::SlideAnimation* animation() { return animation_.get(); } in animation()
101 scoped_ptr<ui::SlideAnimation> animation_; variable
/external/chromium/chrome/browser/ui/views/location_bar/
Dsuggested_text_view.cc25 animation_.reset(CreateAnimation()); in StartAnimation()
26 animation_->Start(); in StartAnimation()
31 if (animation_.get()) { in StopAnimation()
33 animation_->set_delegate(NULL); in StopAnimation()
34 animation_.reset(NULL); in StopAnimation()
42 if (!animation_.get() || animation_->GetCurrentValue() == 0) in OnPaintBackground()
83 if (!animation_.get()) { in UpdateBackgroundColor()
88 double value = animation_->GetCurrentValue(); in UpdateBackgroundColor()
Dsuggested_text_view.h49 scoped_ptr<ui::Animation> animation_; variable
/external/chromium/chrome/browser/ui/cocoa/download/
Ddownload_started_animation_mac.mm35 AnimatableImage* animation_; field
121 animation_ = [[AnimatableImage alloc] initWithImage:image
123 [parentWindow addChildWindow:animation_ ordered:NSWindowAbove];
126 [animation_ setStartFrame:CGRectMake(0, animationHeight,
128 [animation_ setEndFrame:CGRectMake(0, imageHeight,
130 [animation_ setStartOpacity:1.0];
131 [animation_ setEndOpacity:0.4];
132 [animation_ setDuration:0.6];
147 object:animation_];
159 NSWindow* parentWindow = [animation_ parentWindow];
[all …]
/external/chromium/chrome/browser/ui/views/
Ddropdown_bar_host.cc74 animation_.reset(new ui::SlideAnimation(this)); in Init()
89 animation_->Reset(1); in Show()
90 AnimationProgressed(animation_.get()); in Show()
95 animation_->Reset(); in Show()
96 animation_->Show(); in Show()
106 return animation_->is_animating(); in IsAnimating()
113 animation_->Reset(1.0); in Hide()
114 animation_->Hide(); in Hide()
123 animation_->End(); in StopAnimation()
161 animation_offset_ = static_cast<int>((1.0 - animation_->GetCurrentValue()) * in AnimationProgressed()
[all …]
Ddropdown_bar_host.h152 return animation_.get(); in animation()
167 scoped_ptr<ui::SlideAnimation> animation_; variable
/external/chromium/chrome/browser/ui/gtk/infobars/
Dinfobar_arrow_model.cc18 animation_(this) { in InfoBarArrowModel()
19 animation_.SetTweenType(ui::Tween::LINEAR); in InfoBarArrowModel()
20 animation_.Reset(1.0); in InfoBarArrowModel()
29 double alpha = animation_.GetCurrentValue(); in CurrentInfoBarColors()
61 animation_.Reset(); in ShowArrowFor()
62 animation_.Show(); in ShowArrowFor()
65 animation_.Reset(1.0); in ShowArrowFor()
Dinfobar_arrow_model.h72 ui::SlideAnimation animation_; variable
/external/chromium/chrome/browser/ui/touch/frame/
Dtouch_browser_frame_view.cc65 animation_.reset(new ui::SlideAnimation(this)); in TouchBrowserFrameView()
66 animation_->SetTweenType(ui::Tween::LINEAR); in TouchBrowserFrameView()
67 animation_->SetSlideDuration(kKeyboardSlideDuration); in TouchBrowserFrameView()
80 keyboard_->SetVisible(keyboard_showing_ || animation_->is_animating()); in Layout()
82 if (animation_->is_animating() && !keyboard_showing_) { in Layout()
153 animation_->Show(); in UpdateKeyboardAndLayout()
160 animation_->Hide(); in UpdateKeyboardAndLayout()
163 animation_->GetCurrentValue(), 0, kKeyboardHeight)); in UpdateKeyboardAndLayout()
/external/chromium/chrome/browser/chromeos/panels/
Dpanel_scroller.cc27 ALLOW_THIS_IN_INITIALIZER_LIST(animation_(this)), in PanelScroller()
30 animation_.SetTweenType(ui::Tween::EASE_IN_OUT); in PanelScroller()
31 animation_.SetSlideDuration(300); in PanelScroller()
100 animation_.Stop(); in ViewHierarchyChanged()
233 animation_.Reset(); in ScrollToPanel()
234 animation_.Show(); in ScrollToPanel()
240 animation_.GetCurrentValue()) + animated_scroll_begin_; in AnimationProgressed()
Dpanel_scroller.h58 ui::SlideAnimation animation_; variable
/external/chromium/chrome/browser/ui/views/bubble/
Dbubble.cc93 if (static_cast<int>(animation_->GetCurrentValue()) == 0) { in AnimationEnded()
109 animation_->GetCurrentValue() * 255); in AnimationProgressed()
358 animation_.reset(new ui::SlideAnimation(this)); in Fade()
359 animation_->SetSlideDuration(kHideFadeDurationMS); in Fade()
360 animation_->SetTweenType(ui::Tween::LINEAR); in Fade()
362 animation_->Reset(fade_in ? 0.0 : 1.0); in Fade()
364 animation_->Show(); in Fade()
366 animation_->Hide(); in Fade()
/external/chromium/chrome/browser/ui/gtk/tabs/
Dtab_strip_gtk.cc126 animation_(this), in TabAnimation()
139 animation_.SetSlideDuration(GetDuration()); in Start()
140 animation_.SetTweenType(ui::Tween::EASE_OUT); in Start()
141 if (!animation_.IsShowing()) { in Start()
142 animation_.Reset(); in Start()
143 animation_.Show(); in Start()
148 animation_.Stop(); in Stop()
237 ui::SlideAnimation animation_; member in TabStripGtk::TabAnimation
293 return start_width + (delta * animation_.GetCurrentValue()); in GetWidthForTab()
303 return start_selected_width_ + (delta * animation_.GetCurrentValue()); in GetWidthForTab()
[all …]
/external/chromium/chrome/browser/ui/cocoa/location_bar/
Dcontent_setting_decoration.mm170 [animation_ stopAnimation];
194 if (has_animated_text && animation_enabled && !animation_) {
197 animation_.reset(
203 [animation_ stopAnimation];
204 animation_.reset(nil);
208 [animation_ stopAnimation];
209 animation_.reset(nil);
301 if (animation_.get()) {
302 AnimationState state = [animation_ animationState];
304 CGFloat progress = [animation_ progress];
[all …]
Dcontent_setting_decoration.h67 scoped_nsobject<ContentSettingAnimationState> animation_; variable
/external/chromium/chrome/browser/ui/cocoa/content_settings/
Dcollected_cookies_mac.mm150 animation_.reset([[NSViewAnimation alloc] init]);
151 [animation_ setAnimationBlockingMode:NSAnimationNonblocking];
221 [animation_ stopAnimation];
488 [animation_ setViewAnimations:animations];
491 [animation_ gtm_setDuration:0.2
493 [animation_ startAnimation];
/external/chromium/chrome/browser/ui/gtk/notifications/
Dballoon_view_gtk.cc105 animation_(NULL), in BalloonViewImpl()
179 animation_.reset(new ui::SlideAnimation(this)); in RepositionToBalloon()
180 animation_->Show(); in RepositionToBalloon()
184 DCHECK_EQ(animation, animation_.get()); in AnimationProgressed()
/external/chromium/chrome/browser/ui/views/notifications/
Dballoon_view.cc103 animation_(NULL), in BalloonViewImpl()
210 animation_.reset(new ui::SlideAnimation(this)); in RepositionToBalloon()
211 animation_->Show(); in RepositionToBalloon()
222 DCHECK(animation == animation_.get()); in AnimationProgressed()

12