Searched defs:animation (Results 1 - 25 of 106) sorted by relevance

12345

/external/chromium_org/third_party/WebKit/Source/core/animation/
H A DActiveAnimations.cpp32 #include "core/animation/ActiveAnimations.h"
54 const Animation& animation = *toAnimation(player.source()); local
55 if (animation.isCurrent()) {
56 if (animation.affects(CSSPropertyOpacity))
58 if (animation.affects(CSSPropertyTransform))
60 if (animation.affects(CSSPropertyWebkitFilter))
H A DElementAnimation.h34 #include "core/animation/ActiveAnimations.h"
35 #include "core/animation/Animation.h"
36 #include "core/animation/AnimationTimeline.h"
37 #include "core/animation/EffectInput.h"
38 #include "core/animation/TimingInput.h"
112 RefPtrWillBeRawPtr<Animation> animation = Animation::create(&element, effect, timing); local
113 return element.document().timeline().play(animation.get());
H A DSampledEffect.cpp6 #include "core/animation/SampledEffect.h"
8 #include "core/animation/StyleInterpolation.h"
12 SampledEffect::SampledEffect(Animation* animation, PassOwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation> > > interpolations) argument
13 : m_animation(animation)
15 , m_player(animation->player())
18 , m_sequenceNumber(animation->player()->sequenceNumber())
19 , m_priority(animation->priority())
H A DSampledEffect.h8 #include "core/animation/Animation.h"
9 #include "core/animation/AnimationPlayer.h"
10 #include "core/animation/Interpolation.h"
18 static PassOwnPtrWillBeRawPtr<SampledEffect> create(Animation* animation, PassOwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation> > > interpolations) argument
20 return adoptPtrWillBeNoop(new SampledEffect(animation, interpolations));
29 Animation* animation() const { return m_animation; } function in class:blink::SampledEffect
H A DActiveAnimations.h34 #include "core/animation/AnimationStack.h"
35 #include "core/animation/css/CSSAnimations.h"
64 // will also be part of the default stack, but the mapping betwen animation name and
80 void addAnimation(Animation* animation) { m_animations.append(animation); } argument
81 void notifyAnimationDestroyed(Animation* animation) { m_animations.remove(m_animations.find(animation)); } argument
100 // CSSAnimations checks if a style change is due to animation.
H A DAnimationPlayerTest.cpp32 #include "core/animation/AnimationPlayer.h"
34 #include "core/animation/ActiveAnimations.h"
35 #include "core/animation/Animation.h"
36 #include "core/animation/AnimationClock.h"
37 #include "core/animation/AnimationTimeline.h"
697 RefPtrWillBeRawPtr<Animation> animation = Animation::create(0, nullptr, timing); local
698 player = timeline->createAnimationPlayer(animation.get());
798 RefPtrWillBeRawPtr<Animation> animation = Animation::create(element.get(), nullptr, timing); local
799 RefPtrWillBeRawPtr<AnimationPlayer> player = timeline->createAnimationPlayer(animation.get());
/external/chromium_org/ui/gfx/animation/
H A Danimation_delegate.h17 // state of an animation.
22 // Called when an animation has completed.
23 virtual void AnimationEnded(const Animation* animation) {} argument
25 // Called when an animation has progressed.
26 virtual void AnimationProgressed(const Animation* animation) {} argument
28 // Called when an animation has been canceled.
29 virtual void AnimationCanceled(const Animation* animation) {} argument
H A Danimation_unittest.cc6 #include "ui/gfx/animation/animation_delegate.h"
7 #include "ui/gfx/animation/linear_animation.h"
8 #include "ui/gfx/animation/test_animation_delegate.h"
71 // AnimationDelegate implementation that deletes the animation in ended.
74 virtual void AnimationEnded(const Animation* animation) OVERRIDE {
75 delete animation;
106 // Lets an animation run, invoking End part way through and make sure we get the
118 // Runs an animation with a delegate that deletes the animation in end.
121 RunAnimation* animation local
[all...]
H A Dslide_animation_unittest.cc5 #include "ui/gfx/animation/slide_animation.h"
10 #include "ui/gfx/animation/test_animation_delegate.h"
17 explicit TestApi(SlideAnimation* animation) : animation_(animation) {} argument
40 // Tests animation construction.
42 SlideAnimation animation(NULL);
45 EXPECT_EQ(1000 / 60, animation.timer_interval().InMilliseconds());
47 EXPECT_EQ(120, animation.GetSlideDuration());
49 EXPECT_FALSE(animation.IsShowing());
50 EXPECT_FALSE(animation
[all...]
H A Dtest_animation_delegate.h9 #include "ui/gfx/animation/animation_delegate.h"
20 virtual void AnimationEnded(const Animation* animation) { argument
25 virtual void AnimationCanceled(const Animation* animation) { argument
/external/robolectric/src/main/java/android/view/animation/
H A DShadowAnimationBridge.java1 package android.view.animation;
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DTranslateAnimationTest.java3 import android.view.animation.Animation;
4 import android.view.animation.TranslateAnimation;
17 private TranslateAnimation animation; field in class:TranslateAnimationTest
22 animation = new TranslateAnimation(1, 2, 3, 4, 5, 6, 7, 8);
23 shadow = shadowOf(animation);
/external/chromium_org/ash/shelf/
H A Dbackground_animator.cc11 // Duration of the background animation.
51 void BackgroundAnimator::AnimationProgressed(const gfx::Animation* animation) { argument
52 int alpha = animation->CurrentValueBetween(min_alpha_, max_alpha_);
/external/chromium_org/ui/chromeos/network/
H A Dnetwork_icon_animation.cc18 // Set up the animation throbber.
27 const gfx::Animation* animation) {
28 if (animation != &animation_)
50 animation_.Reset(); // Stops the animation and resets the current value.
26 AnimationProgressed( const gfx::Animation* animation) argument
/external/glide/library/src/main/java/com/bumptech/glide/request/target/
H A DDrawableImageViewTarget.java17 public void onResourceReady(Drawable resource, GlideAnimation<Drawable> animation) { argument
31 if (animation == null || !animation.animate(view.getDrawable(), resource, view, this)) {
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/
H A DTestAnimationListener.java3 import android.view.animation.Animation;
4 import android.view.animation.Animation.AnimationListener;
13 public void onAnimationStart(Animation animation) { argument
18 public void onAnimationEnd(Animation animation) { argument
23 public void onAnimationRepeat(Animation animation) { argument
/external/glide/library/src/main/java/com/bumptech/glide/request/
H A DViewAnimation.java6 import android.view.animation.Animation;
7 import android.view.animation.AnimationUtils;
13 private Animation animation; field in class:ViewAnimation.ViewAnimationFactory
18 public ViewAnimationFactory(Animation animation) { argument
19 this.animation = animation;
34 if (animation == null) {
35 animation = AnimationUtils.loadAnimation(context, animationId);
37 glideAnimation = new ViewAnimation(animation);
44 private Animation animation; field in class:ViewAnimation
46 ViewAnimation(Animation animation) argument
[all...]
H A DViewPropertyAnimation.java15 private ViewPropertyAnimation animation; field in class:ViewPropertyAnimation.ViewPropertyAnimationFactory
26 if (animation == null) {
27 animation = new ViewPropertyAnimation(animator);
30 return animation;
/external/chromium_org/ash/display/
H A Dshared_display_edge_indicator.cc13 #include "ui/gfx/animation/throb_animation.h"
104 const gfx::Animation* animation) {
105 int value = animation->CurrentValueBetween(0, 255);
103 AnimationProgressed( const gfx::Animation* animation) argument
/external/chromium_org/ash/system/tray/
H A Dtray_item_view.cc11 #include "ui/gfx/animation/slide_animation.h"
114 void TrayItemView::AnimationProgressed(const gfx::Animation* animation) { argument
118 transform.Translate(0, animation->CurrentValueBetween(
121 transform.Translate(animation->CurrentValueBetween(
124 transform.Scale(animation->GetCurrentValue(),
125 animation->GetCurrentValue());
130 void TrayItemView::AnimationEnded(const gfx::Animation* animation) { argument
131 if (animation->GetCurrentValue() < 0.1)
135 void TrayItemView::AnimationCanceled(const gfx::Animation* animation) { argument
136 AnimationEnded(animation);
[all...]
/external/chromium_org/cc/input/
H A Dtop_controls_manager.h46 KeyframedFloatAnimationCurve* animation() { function in class:cc::TopControlsManager
/external/chromium_org/chrome/browser/ui/views/
H A Ddropdown_bar_host.h11 #include "ui/gfx/animation/animation_delegate.h"
65 // Stops the animation.
92 virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE;
93 virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE;
135 // Returns the animation offset.
153 // Returns the animation for the dropdown.
154 gfx::SlideAnimation* animation() { function in class:DropdownBarHost
175 // The animation class to use when opening the Dropdown widget.
/external/chromium_org/ui/views/animation/
H A Dbounds_animator.h13 #include "ui/gfx/animation/animation_container_observer.h"
14 #include "ui/gfx/animation/animation_delegate.h"
15 #include "ui/gfx/animation/tween.h"
33 // BoundsAnimator internally creates an animation for each view. If you need
34 // a specific animation invoke SetAnimationForView after invoking AnimateViewTo.
35 // You can attach an AnimationDelegate to the individual animation for a view
45 // already an animation running for the view it's stopped and a new one
47 // (after being notified that the animation was canceled).
50 // Similar to |AnimateViewTo|, but does not reset the animation, only the
59 // Sets the animation fo
113 gfx::SlideAnimation* animation; member in struct:views::BoundsAnimator::Data
[all...]
H A Dbounds_animator_unittest.cc5 #include "ui/views/animation/bounds_animator.h"
8 #include "ui/gfx/animation/slide_animation.h"
9 #include "ui/gfx/animation/test_animation_delegate.h"
26 SlideAnimation* animation = BoundsAnimator::CreateAnimation(); variable
27 animation->SetSlideDuration(10);
28 return animation;
56 virtual void AnimationCanceled(const Animation* animation) OVERRIDE {
123 // Run the message loop; the delegate exits the loop when the animation is
130 // The parent should have been told to repaint as the animation progressed.
152 // Make sure an AnimationDelegate is deleted when another animation i
[all...]
H A Dscroll_animator.cc5 #include "ui/views/animation/scroll_animator.h"
11 #include "ui/gfx/animation/slide_animation.h"
64 void ScrollAnimator::AnimationEnded(const gfx::Animation* animation) { argument
68 void ScrollAnimator::AnimationProgressed(const gfx::Animation* animation) { argument
69 float t = static_cast<float>(animation->GetCurrentValue()) * duration_;
78 void ScrollAnimator::AnimationCanceled(const gfx::Animation* animation) { argument

Completed in 2341 milliseconds

12345