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

12

/development/samples/ApiDemos/src/com/example/android/apis/animation/
H A DLayoutAnimationsByDefault.java17 package com.example.android.apis.animation;
H A DAnimationCloning.java17 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
143 onAnimationUpdate(ValueAnimator animation) argument
[all...]
H A DAnimationLoading.java17 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
158 onAnimationUpdate(ValueAnimator animation) argument
[all...]
H A DBouncingBalls.java17 package com.example.android.apis.animation;
24 import android.animation.*;
36 import android.view.animation.AccelerateInterpolator;
37 import android.view.animation.DecelerateInterpolator;
61 AnimatorSet animation = null; field in class:BouncingBalls.MyAnimationView
69 // every frame of the animation.
86 // Bouncing animation with squash and stretch
131 // Fading animation - remove the ball when the animation is done
136 public void onAnimationEnd(Animator animation) {
[all...]
H A DMultiPropertyAnimation.java17 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) { argument
H A DReversingAnimation.java17 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) { argument
H A DActivityTransitionDetails.java16 package com.example.android.apis.animation;
H A DLayoutAnimationsHideShow.java17 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;
H A DAnimationSeeking.java17 package com.example.android.apis.animation;
21 import android.animation.Animator;
26 import android.animation.ValueAnimator;
27 import android.animation.ObjectAnimator;
28 import android.animation.AnimatorSet;
39 import android.view.animation.BounceInterpolator;
46 * UI allows you to set the position of the animation. Pressing the Run button will play from
47 * the current position of the animation.
98 AnimatorSet animation = null; field in class:AnimationSeeking.MyAnimationView
153 public void onAnimationUpdate(ValueAnimator animation) { argument
159 onAnimationCancel(Animator animation) argument
162 onAnimationEnd(Animator animation) argument
167 onAnimationRepeat(Animator animation) argument
170 onAnimationStart(Animator animation) argument
[all...]
H A DAnimatorEvents.java17 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)
198 onAnimationUpdate(ValueAnimator animation) argument
202 onAnimationStart(Animator animation) argument
213 onAnimationEnd(Animator animation) argument
221 onAnimationCancel(Animator animation) argument
229 onAnimationRepeat(Animator animation) argument
[all...]
H A DCustomEvaluator.java17 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) { argument
H A DTransition3d.java1 package com.example.android.apis.animation;
13 import android.view.animation.Animation;
14 import android.view.animation.AccelerateInterpolator;
15 import android.view.animation.DecelerateInterpolator;
18 * This sample application shows how to use layout animation and various
22 * list. The animation is made of two smaller animations: the first half
76 // between each animation
93 // The animation listener is used to trigger the next animation
105 // Pre-load the image then start the animation
126 onAnimationStart(Animation animation) argument
129 onAnimationEnd(Animation animation) argument
133 onAnimationRepeat(Animation animation) argument
[all...]
H A DListFlipper.java17 package com.example.android.apis.animation;
21 import android.animation.AnimatorListenerAdapter;
22 import android.animation.Animator;
23 import android.animation.ObjectAnimator;
24 import android.view.animation.AccelerateInterpolator;
25 import android.view.animation.DecelerateInterpolator;
26 import android.view.animation.Interpolator;
39 * UI allows you to set the position of the animation. Pressing the Run button will play from
40 * the current position of the animation.
H A DTransitions.java16 package com.example.android.apis.animation;
H A DActivityTransition.java16 package com.example.android.apis.animation;
H A DFixedGridLayout.java17 package com.example.android.apis.animation;
H A DLayoutAnimations.java17 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;
H A DRotate3dAnimation.java17 package com.example.android.apis.animation;
19 import android.view.animation.Animation;
20 import android.view.animation.Transformation;
25 * An animation that rotates the view on the Y axis between two specified angles.
26 * This animation also adds a translation on the Z axis (depth) to improve the effect.
41 * of X and Y coordinates, called centerX and centerY. When the animation
H A DShapeHolder.java17 package com.example.android.apis.animation;
H A DPathAnimations.java16 package com.example.android.apis.animation;
18 import android.animation.ObjectAnimator;
19 import android.animation.TypeConverter;
20 import android.animation.ValueAnimator;
36 import android.view.animation.Animation;
37 import android.view.animation.LinearInterpolator;
43 /** This application demonstrates the use of Path animation. */
160 // setCoordinates(int x, int y) is called on this during the animation.
167 // changeCoordinates(float x, float y) is called on this during the animation.
/development/samples/devbytes/animation/PropertyAnimations/src/com/example/android/propertyanimations/
H A DPropertyAnimations.java19 import android.animation.Animator;
20 import android.animation.AnimatorInflater;
21 import android.animation.AnimatorSet;
22 import android.animation.ObjectAnimator;
23 import android.animation.PropertyValuesHolder;
24 import android.animation.ValueAnimator;
34 * shows how to achieve similar effects using the pre-3.0 animation APIs.
95 private void setupAnimation(View view, final Animator animation, final int animationID) { argument
98 // If the button is checked, load the animation from the given resource
99 // id instead of using the passed-in animation paramete
[all...]
/development/samples/devbytes/animation/ViewAnimations/src/com/example/android/viewanimations/
H A DViewAnimations.java22 import android.view.animation.AlphaAnimation;
23 import android.view.animation.Animation;
24 import android.view.animation.AnimationSet;
25 import android.view.animation.AnimationUtils;
26 import android.view.animation.RotateAnimation;
27 import android.view.animation.ScaleAnimation;
28 import android.view.animation.TranslateAnimation;
91 private void setupAnimation(View view, final Animation animation, argument
95 // If the button is checked, load the animation from the given resource
96 // id instead of using the passed-in animation paramte
[all...]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
H A DAnimateDrawable.java21 import android.view.animation.Animation;
22 import android.view.animation.AnimationUtils;
23 import android.view.animation.Transformation;
34 public AnimateDrawable(Drawable target, Animation animation) { argument
36 mAnimation = animation;
H A DShadowCardStack.java19 import android.animation.Animator;
20 import android.animation.AnimatorSet;
21 import android.animation.ObjectAnimator;
126 public void onAnimationStart(Animator animation) {} argument
129 public void onAnimationEnd(Animator animation) { argument
130 if (animation == mRepeatAnimator) {
136 public void onAnimationCancel(Animator animation) {} argument
139 public void onAnimationRepeat(Animator animation) {} argument
/development/samples/browseable/FragmentTransition/src/com.example.android.fragmenttransition/
H A DDetailFragment.java29 import android.view.animation.Animation;
30 import android.view.animation.AnimationUtils;
125 Animation animation = AnimationUtils.loadAnimation(getActivity(),
129 if (animation != null && enter) {
130 animation.setAnimationListener(this);
132 return animation;
136 public void onAnimationStart(Animation animation) { argument
137 // This method is called at the end of the animation for the fragment transaction.
142 public void onAnimationEnd(Animation animation) { argument
143 // This method is called at the end of the animation fo
154 onAnimationRepeat(Animation animation) argument
[all...]

Completed in 269 milliseconds

12