/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
MultiPropertyAnimation.java | 17 package com.example.android.apis.animation; 21 import android.animation.*; 22 import android.view.animation.AccelerateInterpolator; 37 import android.view.animation.BounceInterpolator; 43 * UI allows you to set the position of the animation. Pressing the Run button will play from 44 * the current position of the animation. 73 AnimatorSet animation = null; field in class:MultiPropertyAnimation.MyAnimationView 173 public void onAnimationUpdate(ValueAnimator animation) {
|
CustomEvaluator.java | 17 package com.example.android.apis.animation; 21 import android.animation.ObjectAnimator; 22 import android.animation.TypeEvaluator; 23 import android.animation.ValueAnimator; 169 public void onAnimationUpdate(ValueAnimator animation) {
|
LayoutAnimations.java | 17 package com.example.android.apis.animation; 21 import android.animation.Animator; 22 import android.animation.ObjectAnimator; 25 import android.animation.AnimatorListenerAdapter; 26 import android.animation.Keyframe; 27 import android.animation.LayoutTransition; 28 import android.animation.PropertyValuesHolder;
|
LayoutAnimationsHideShow.java | 17 package com.example.android.apis.animation; 21 import android.animation.Animator; 22 import android.animation.ObjectAnimator; 26 import android.animation.AnimatorListenerAdapter; 27 import android.animation.Keyframe; 28 import android.animation.LayoutTransition; 29 import android.animation.PropertyValuesHolder;
|
PathAnimations.java | 16 package com.example.android.apis.animation; 18 import android.animation.ObjectAnimator; 19 import android.animation.TypeConverter; 20 import android.animation.ValueAnimator; 35 import android.view.animation.Animation; 36 import android.view.animation.LinearInterpolator; 42 /** This application demonstrates the use of Path animation. */ 159 // setCoordinates(int x, int y) is called on this during the animation. 166 // changeCoordinates(float x, float y) is called on this during the animation [all...] |
ReversingAnimation.java | 17 package com.example.android.apis.animation; 21 import android.animation.ObjectAnimator; 22 import android.animation.ValueAnimator; 37 import android.view.animation.AccelerateInterpolator; 130 public void onAnimationUpdate(ValueAnimator animation) {
|
/frameworks/base/core/java/android/view/animation/ |
AnimationSet.java | 17 package android.view.animation; 30 * The transformation of each individual animation are composed 36 * <p>The way that AnimationSet inherits behavior from Animation is important to 37 * understand. Some of the Animation attributes applied to AnimationSet affect the 52 public class AnimationSet extends Animation { 66 private ArrayList<Animation> mAnimations = new ArrayList<Animation>(); 118 * Pass false if each animation should use its own interpolator. 127 final AnimationSet animation = (AnimationSet) super.clone(); local 128 animation.mTempTransformation = new Transformation() [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
NotificationFooterLayout.java | 19 import android.animation.Animator; 20 import android.animation.AnimatorListenerAdapter; 21 import android.animation.AnimatorSet; 22 import android.animation.ObjectAnimator; 154 AnimatorSet animation = LauncherAnimUtils.createAnimatorSet(); local 165 public void onAnimationEnd(Animator animation) { 170 animation.play(moveAndScaleIcon); 181 animation.play(ObjectAnimator.ofFloat(iconFromOverflow, ALPHA, 0, 1)); 192 animation.play(shiftChild); 194 animation.start() [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
CameraMediaChooser.java | 30 import android.view.animation.AlphaAnimation; 31 import android.view.animation.Animation; 32 import android.view.animation.AnimationSet; 377 // Divide by 2 so each half of the animation adds up to the full duration 381 final AnimationSet animation = new AnimationSet(false /* shareInterpolator */); local 382 final Animation alphaInAnimation = new AlphaAnimation(0.0f, maxAlpha); 384 animation.addAnimation(alphaInAnimation); 386 final Animation alphaOutAnimation = new AlphaAnimation(maxAlpha, 0.0f); 389 animation.addAnimation(alphaOutAnimation) [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
ConversationFastScroller.java | 19 import android.animation.AnimatorSet; 20 import android.animation.ObjectAnimator; 217 AnimatorSet animation = new AnimatorSet(); local 218 animation.playTogether(trackSlide, thumbSlide); 219 animation.setDuration(SHOW_ANIMATION_DURATION_MS); 220 animation.start();
|
/cts/tests/tests/animation/src/android/animation/cts/ |
AnimationActivity.java | 17 package android.animation.cts; 19 import android.animation.Animator; 20 import android.animation.AnimatorListenerAdapter; 21 import android.animation.AnimatorSet; 22 import android.animation.ArgbEvaluator; 23 import android.animation.ObjectAnimator; 24 import android.animation.TimeInterpolator; 25 import android.animation.ValueAnimator; 39 import android.view.animation.AccelerateInterpolator; 190 AnimatorSet animation = null field in class:AnimationActivity.AnimationView [all...] |
EvaluatorTest.java | 17 package android.animation.cts; 22 import android.animation.ArgbEvaluator; 23 import android.animation.FloatArrayEvaluator; 24 import android.animation.FloatEvaluator; 25 import android.animation.IntArrayEvaluator; 26 import android.animation.IntEvaluator; 27 import android.animation.PointFEvaluator; 28 import android.animation.RectEvaluator; 39 * Tests for the various Evaluator classes in android.animation
|
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/ |
FragmentAnimationTest.java | 35 import android.view.animation.Animation; 36 import android.view.animation.AnimationUtils; 37 import android.view.animation.TranslateAnimation; 356 assertNull(fragment1.animation); 357 assertNull(fragment2.animation); 419 // When an animation is running on a Fragment's View, the view shouldn't be 421 // test to see if the animation is still running. 453 // When a view is animated out, is parent should be null after the animation completes 543 assertNotNull(fragment.animation); 558 public Animation animation; field in class:FragmentAnimationTest.AnimatorFragment [all...] |
/packages/apps/Dialer/java/com/android/dialer/callcomposer/ |
CameraComposerFragment.java | 34 import android.view.animation.AlphaAnimation; 35 import android.view.animation.Animation; 36 import android.view.animation.AnimationSet; 273 AnimationSet animation = new AnimationSet(false /* shareInterpolator */); local 274 Animation alphaInAnimation = new AlphaAnimation(0.0f, maxAlpha); 276 animation.addAnimation(alphaInAnimation); 278 Animation alphaOutAnimation = new AlphaAnimation(maxAlpha, 0.0f); 281 animation.addAnimation(alphaOutAnimation); 283 animation.setAnimationListener [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherStateManager.java | 32 import android.animation.Animator; 33 import android.animation.AnimatorListenerAdapter; 34 import android.animation.AnimatorSet; 164 * @param animated false if the state should change immediately without any animation, 211 // We are running the same animation as requested 224 // Cancel the current animation. This will reset mState to mCurrentStableState, so store it. 252 AnimatorSet animation = createAnimationToNewWorkspaceInternal( local 254 Runnable runnable = new StartAnimRunnable(animation); 263 * Prepares for a non-user controlled animation from fromState to toState. Preparations include: 338 final AnimatorSet animation = builder.build() local [all...] |
/cts/tests/tests/view/src/android/view/animation/cts/ |
DecelerateInterpolatorTest.java | 17 package android.view.animation.cts; 33 import android.view.animation.AlphaAnimation; 34 import android.view.animation.Animation; 35 import android.view.animation.AnimationUtils; 36 import android.view.animation.DecelerateInterpolator; 37 import android.view.animation.Interpolator; 38 import android.view.animation.Transformation; 91 final Animation anim = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha);
|
GridLayoutAnimationControllerTest.java | 17 package android.view.animation.cts; 31 import android.view.animation.Animation; 32 import android.view.animation.AnimationUtils; 33 import android.view.animation.GridLayoutAnimationController; 34 import android.view.animation.GridLayoutAnimationController.AnimationParameters; 35 import android.view.animation.Transformation; 64 private Animation mDefaultAnimation; 106 Animation childAnimation1 = mGridView.getChildAt(INDEX_OF_CHILD1).getAnimation(); 107 Animation childAnimation4 = mGridView.getChildAt(INDEX_OF_CHILD4).getAnimation() [all...] |
RotateAnimationTest.java | 17 package android.view.animation.cts; 35 import android.view.animation.Animation; 36 import android.view.animation.LinearInterpolator; 37 import android.view.animation.RotateAnimation; 38 import android.view.animation.Transformation; 90 new RotateAnimation(0.6f, 0.6f, Animation.ABSOLUTE, 0.6f, Animation.ABSOLUTE, 0.6f); 92 new RotateAnimation(-0.6f, -0.6f, Animation.ABSOLUTE, -0.6f, Animation.ABSOLUTE, -0.6f) [all...] |
TranslateAnimationTest.java | 17 package android.view.animation.cts; 35 import android.view.animation.Animation; 36 import android.view.animation.LinearInterpolator; 37 import android.view.animation.Transformation; 38 import android.view.animation.TranslateAnimation; 93 new TranslateAnimation(Animation.RELATIVE_TO_SELF, 0.6f, Animation.RELATIVE_TO_SELF, 0.6f, 94 Animation.RELATIVE_TO_SELF, 0.6f, Animation.RELATIVE_TO_SELF, 0.6f) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
ViewAnimatorTest.java | 33 import android.view.animation.AccelerateInterpolator; 34 import android.view.animation.Animation; 35 import android.view.animation.AnimationSet; 84 Animation animation = mViewAnimator.getInAnimation(); local 85 assertTrue(animation.getInterpolator() instanceof AccelerateInterpolator); 86 assertEquals(500, animation.getDuration()); 324 Animation animation = mViewAnimator.getOutAnimation() local [all...] |
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/ |
ListViewItemAnimations.java | 22 import android.animation.Animator; 23 import android.animation.AnimatorListenerAdapter; 24 import android.animation.ObjectAnimator; 32 import android.view.animation.AlphaAnimation; 33 import android.view.animation.Animation; 34 import android.view.animation.Animation.AnimationListener; 35 import android.view.animation.AnimationSet; 36 import android.view.animation.TranslateAnimation [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
TranslateAnimationTest.java | 3 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); 42 int defType = Animation.ABSOLUTE;
|
/frameworks/base/core/java/android/animation/ |
AnimationHandler.java | 17 package android.animation; 27 * ValueAnimators. This approach ensures that the setting of animation values will happen on the 108 * time *after* traversals are done, as opposed to the animation frame timing, which is 109 * before any traversals. This timing can be used to adjust the start time of an animation 110 * when expensive traversals create big delta between the animation frame timing and the time 111 * that animation is first shown on screen. 113 * Note this should only be called when the animation has already registered to receive 114 * animation frame callbacks. This callback will be guaranteed to happen *after* the next 115 * animation frame callback. 273 * Callbacks that receives notifications for animation timing and frame commit timing [all...] |
PathKeyframes.java | 16 package android.animation;
|
StateListAnimator.java | 17 package android.animation; 66 public void onAnimationEnd(Animator animation) { 67 animation.setTarget(null); 68 if (mRunningAnimator == animation) { 90 * Returns the current {@link android.animation.Animator} which is started because of a state 206 * If there is an animation running for a recent state change, ends it. 208 * This causes the animation to assign the end value(s) to the View.
|