/cts/tests/tests/view/src/android/view/animation/cts/ |
AlphaAnimationTest.java | 17 package android.view.animation.cts; 23 import android.view.animation.AlphaAnimation; 24 import android.view.animation.Transformation; 41 AlphaAnimation animation = new AlphaAnimation(mContext, null); local 42 assertFalse(animation.willChangeBounds()); 46 AlphaAnimation animation = new AlphaAnimation(0.0f, 0.5f); local 47 assertFalse(animation.willChangeTransformationMatrix()); 51 MyAlphaAnimation animation = new MyAlphaAnimation(0.0f, 1.0f); local 55 animation.applyTransformation(0.0f, transformation); 58 animation.applyTransformation(0.5f, transformation) [all...] |
GridLayoutAnimationController_AnimationParametersTest.java | 17 package android.view.animation.cts; 21 import android.view.animation.GridLayoutAnimationController; 22 import android.view.animation.GridLayoutAnimationController.AnimationParameters;
|
LayoutAnimCtsActivity.java | 17 package android.view.animation.cts;
|
LayoutAnimationController_AnimationParametersTest.java | 17 package android.view.animation.cts; 21 import android.view.animation.LayoutAnimationController;
|
AnimationTest.java | 17 package android.view.animation.cts; 29 import android.view.animation.AccelerateDecelerateInterpolator; 30 import android.view.animation.AccelerateInterpolator; 31 import android.view.animation.Animation; 32 import android.view.animation.AnimationUtils; 33 import android.view.animation.DecelerateInterpolator; 34 import android.view.animation.Interpolator; 35 import android.view.animation.Transformation; 36 import android.view.animation.Animation.AnimationListener 88 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); local 100 Animation animation = new Animation() { local 114 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.accelerate_alpha); local 119 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, animation); local 140 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, animation); local 158 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, animation); local 174 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); local 188 Animation animation = new Animation() { local 330 Animation animation = new Animation() { local 346 animation, ACCELERATE_ALPHA_DURATION + startOffset); local 372 Animation animation = new Animation() { local [all...] |
AnimationUtilsTest.java | 17 package android.view.animation.cts; 24 import android.view.animation.AccelerateInterpolator; 25 import android.view.animation.AlphaAnimation; 26 import android.view.animation.Animation; 27 import android.view.animation.AnimationUtils; 28 import android.view.animation.GridLayoutAnimationController; 29 import android.view.animation.Interpolator; 30 import android.view.animation.LayoutAnimationController; 55 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.anim_alpha) local [all...] |
AnimationTestUtils.java | 17 package android.view.animation.cts; 23 import android.view.animation.Animation; 24 import android.view.animation.LayoutAnimationController; 27 * The utility methods for animation test. 41 * Assert run an animation successfully. Timeout is duration of animation. 43 * @param instrumentation to run animation. 44 * @param view view window to run animation. 45 * @param animation will be run [all...] |
AnimationTestCtsActivity.java | 17 package android.view.animation.cts;
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
ActiveAnimations.cpp | 32 #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))
|
ElementAnimation.h | 34 #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()) [all...] |
SampledEffect.h | 8 #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) 20 return adoptPtrWillBeNoop(new SampledEffect(animation, interpolations)); 29 Animation* animation() const { return m_animation; } function in class:blink::SampledEffect 31 Animation::Priority priority() const { return m_priority; [all...] |
AnimationPlayerTest.cpp | 32 #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" 70 PassRefPtrWillBeRawPtr<Animation> makeAnimation(double duration = 30, double playbackRate = 1) 75 return Animation::create(0, nullptr, timing); 520 player->setSource(Animation::create(0, nullptr, timing).get()); 697 RefPtrWillBeRawPtr<Animation> animation = Animation::create(0, nullptr, timing) local 798 RefPtrWillBeRawPtr<Animation> animation = Animation::create(element.get(), nullptr, timing); local [all...] |
/cts/tests/tests/animation/src/android/animation/cts/ |
FloatEvaluatorTest.java | 17 package android.animation.cts; 19 import android.animation.FloatEvaluator;
|
IntEvaluatorTest.java | 17 package android.animation.cts; 19 import android.animation.IntEvaluator;
|
LayoutAnimationActivity.java | 16 package android.animation.cts; 18 import com.android.cts.animation.R;
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
LayoutAnimationsByDefault.java | 17 package com.example.android.apis.animation;
|
AnimationCloning.java | 17 package com.example.android.apis.animation; 24 import android.animation.*; 35 import android.view.animation.AccelerateInterpolator; 36 import android.view.animation.DecelerateInterpolator; 64 AnimatorSet animation = null; field in class:AnimationCloning.MyAnimationView 79 if (animation == null) { 100 animation = new AnimatorSet(); 101 animation.playTogether(anim1, anim2, s1); 102 animation.playSequentially(s1, s2); 140 animation.start() [all...] |
AnimatorEvents.java | 17 package com.example.android.apis.animation; 21 import android.animation.Animator; 22 import android.animation.ObjectAnimator; 29 import android.animation.ValueAnimator; 30 import android.animation.AnimatorSet; 41 import android.view.animation.AccelerateInterpolator; 109 Animator animation; field in class:AnimatorEvents.MyAnimationView 119 if (animation == null) { 140 animation = new AnimatorSet(); 141 ((AnimatorSet) animation).playTogether(yAnim, xAnim) [all...] |
Transitions.java | 16 package com.example.android.apis.animation;
|
AnimationLoading.java | 17 package com.example.android.apis.animation; 21 import android.animation.AnimatorInflater; 22 import android.animation.AnimatorSet; 23 import android.animation.ObjectAnimator; 29 import android.animation.Animator; 30 import android.animation.ValueAnimator; 73 Animator animation = null; field in class:AnimationLoading.MyAnimationView 86 if (animation == null) { 95 public void onAnimationUpdate(ValueAnimator animation) { 96 balls.get(1).setAlpha((Float) animation.getAnimatedValue()) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
LayoutAnimation2.java | 21 import android.view.animation.AlphaAnimation; 22 import android.view.animation.Animation; 23 import android.view.animation.AnimationSet; 24 import android.view.animation.LayoutAnimationController; 25 import android.view.animation.TranslateAnimation; 39 Animation animation = new AlphaAnimation(0.0f, 1.0f); local 40 animation.setDuration(50); 41 set.addAnimation(animation); [all...] |
/external/chromium_org/ui/gfx/animation/ |
animation_unittest.cc | 6 #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 = new RunAnimation(150, &delegate); local [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/request/ |
ViewAnimation.java | 6 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) { 19 this.animation = animation; 34 if (animation == null) 44 private Animation animation; field in class:ViewAnimation [all...] |
ViewPropertyAnimation.java | 15 private ViewPropertyAnimation animation; field in class:ViewPropertyAnimation.ViewPropertyAnimationFactory 26 if (animation == null) { 27 animation = new ViewPropertyAnimation(animator); 30 return animation;
|
DrawableCrossFadeViewAnimation.java | 7 import android.view.animation.AlphaAnimation; 8 import android.view.animation.Animation; 9 import android.view.animation.AnimationUtils; 15 private Animation defaultAnimation; 18 private static Animation getDefaultAnimation() { 19 AlphaAnimation animation = new AlphaAnimation(0f, 1f); local 20 animation.setDuration(DEFAULT_DURATION / 2); 21 return animation; 27 private Animation defaultAnimation 29 private DrawableCrossFadeViewAnimation animation; field in class:DrawableCrossFadeViewAnimation.DrawableCrossFadeFactory [all...] |