Home
last modified time | relevance | path

Searched refs:animation (Results 1 – 25 of 83) sorted by relevance

1234

/development/samples/ApiDemos/src/com/example/android/apis/view/
DLayoutAnimation2.java21 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); in onCreate() local
40 animation.setDuration(50); in onCreate()
41 set.addAnimation(animation); in onCreate()
43 animation = new TranslateAnimation( in onCreate()
47 animation.setDuration(100); in onCreate()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/animation/
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 AnimatorEvents.MyAnimationView
119 if (animation == null) { in createAnimation()
140 animation = new AnimatorSet(); in createAnimation()
141 ((AnimatorSet) animation).playTogether(yAnim, xAnim); in createAnimation()
[all …]
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;
98 AnimatorSet animation = null; field in AnimationSeeking.MyAnimationView
153 public void onAnimationUpdate(ValueAnimator animation) { in onAnimationUpdate() argument
159 public void onAnimationCancel(Animator animation) { in onAnimationCancel() argument
162 public void onAnimationEnd(Animator animation) { in onAnimationEnd() argument
[all …]
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 AnimationLoading.MyAnimationView
90 if (animation == null) { in createAnimation()
99 public void onAnimationUpdate(ValueAnimator animation) { in createAnimation()
100 balls.get(1).setAlpha((Float) animation.getAnimatedValue()); in createAnimation()
[all …]
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 AnimationCloning.MyAnimationView
79 if (animation == null) { in createAnimation()
100 animation = new AnimatorSet(); in createAnimation()
101 animation.playTogether(anim1, anim2, s1); in createAnimation()
102 animation.playSequentially(s1, s2); in createAnimation()
140 animation.start(); in startAnimation()
[all …]
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;
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;
126 public void onAnimationStart(Animation animation) { in onAnimationStart() argument
129 public void onAnimationEnd(Animation animation) { in onAnimationEnd() argument
133 public void onAnimationRepeat(Animation animation) { in onAnimationRepeat() argument
/development/samples/devbytes/animation/ViewAnimations/src/com/example/android/viewanimations/
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, in setupAnimation() argument
100 animation); in setupAnimation()
/development/samples/browseable/CustomTransition/src/com.example.android.customtransition/
DChangeColor.java19 import android.animation.Animator;
20 import android.animation.ArgbEvaluator;
21 import android.animation.ObjectAnimator;
22 import android.animation.PropertyValuesHolder;
23 import android.animation.ValueAnimator;
100 public void onAnimationUpdate(ValueAnimator animation) { in createAnimator()
101 Object value = animation.getAnimatedValue(); in createAnimator()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
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) { in AnimateDrawable() argument
36 mAnimation = animation; in AnimateDrawable()
DShadowCardStack.java19 import android.animation.Animator;
20 import android.animation.AnimatorSet;
21 import android.animation.ObjectAnimator;
126 public void onAnimationStart(Animator animation) {} in onAnimationStart() argument
129 public void onAnimationEnd(Animator animation) { in onAnimationEnd() argument
130 if (animation == mRepeatAnimator) { in onAnimationEnd()
136 public void onAnimationCancel(Animator animation) {} in onAnimationCancel() argument
139 public void onAnimationRepeat(Animator animation) {} in onAnimationRepeat() argument
/development/samples/devbytes/animation/PropertyAnimations/src/com/example/android/propertyanimations/
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;
95 private void setupAnimation(View view, final Animator animation, final int animationID) { in setupAnimation() argument
107 animation.start(); in setupAnimation()
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/
DListViewItemAnimations.java22 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;
193 public void onAnimationEnd(Animator animation) { in animateSwipe()
352 public void onAnimationEnd(Animation animation) { in moveView()
[all …]
/development/samples/devbytes/animation/SlidingFragments/src/com/example/android/slidingfragments/
DTextFragment.java19 import android.animation.Animator;
20 import android.animation.AnimatorInflater;
21 import android.animation.AnimatorListenerAdapter;
52 public void onAnimationEnd(Animator animation) { in onCreateAnimator()
DSlidingFragments.java19 import android.animation.Animator;
20 import android.animation.Animator.AnimatorListener;
21 import android.animation.AnimatorListenerAdapter;
22 import android.animation.AnimatorSet;
23 import android.animation.ObjectAnimator;
24 import android.animation.PropertyValuesHolder;
190 public void onAnimationEnd(Animator animation) { in slideForward()
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
DInsertionListView.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.AnimatorSet;
22 import android.animation.ObjectAnimator;
23 import android.animation.PropertyValuesHolder;
24 import android.animation.TypeEvaluator;
25 import android.animation.ValueAnimator;
38 import android.view.animation.OvershootInterpolator;
203 ObjectAnimator animation = ObjectAnimator.ofFloat(child, in addRow()
205 animations.add(animation); in addRow()
[all …]
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/
DAnimatedNotificationDisplayActivity.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.ObjectAnimator;
22 import android.animation.PropertyValuesHolder;
27 import android.view.animation.AccelerateDecelerateInterpolator;
87 public void onAnimationEnd(Animator animation) { in createNextAnimation()
88 super.onAnimationEnd(animation); in createNextAnimation()
/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
DToonGame.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.AnimatorSet;
22 import android.animation.ObjectAnimator;
23 import android.animation.PropertyValuesHolder;
24 import android.animation.ValueAnimator;
34 import android.view.animation.AccelerateInterpolator;
35 import android.view.animation.DecelerateInterpolator;
36 import android.view.animation.LinearInterpolator;
208 public void onAnimationEnd(Animator animation) { in squishyBounce()
/development/samples/devbytes/animation/SquashAndStretch/src/com/example/squashandstretch/
DSquashAndStretch.java19 import android.animation.AnimatorSet;
20 import android.animation.ObjectAnimator;
21 import android.animation.PropertyValuesHolder;
22 import android.animation.ValueAnimator;
29 import android.view.animation.AccelerateInterpolator;
30 import android.view.animation.DecelerateInterpolator;
/development/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/
DUIAnimation.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.AnimatorSet;
22 import android.animation.ObjectAnimator;
26 import android.view.animation.DecelerateInterpolator;
127 public void onAnimationEnd(Animator animation) { in zoomImageFromThumb()
136 public void onAnimationCancel(Animator animation) { in zoomImageFromThumb()
166 public void onAnimationEnd(Animator animation) { in zoomImageFromThumb()
179 public void onAnimationCancel(Animator animation) { in zoomImageFromThumb()
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
DZoomActivity.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.AnimatorSet;
22 import android.animation.ObjectAnimator;
31 import android.view.animation.DecelerateInterpolator;
179 public void onAnimationEnd(Animator animation) { in zoomImageFromThumb()
184 public void onAnimationCancel(Animator animation) { in zoomImageFromThumb()
215 public void onAnimationEnd(Animator animation) { in zoomImageFromThumb()
222 public void onAnimationCancel(Animator animation) { in zoomImageFromThumb()
/development/samples/devbytes/animation/MultiPropertyAnimations/src/com/example/android/multipropertyanimations/
DMultiPropertyAnimations.java19 import android.animation.ObjectAnimator;
20 import android.animation.PropertyValuesHolder;
21 import android.animation.ValueAnimator;
22 import android.animation.ValueAnimator.AnimatorUpdateListener;
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/
DCardView.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.AnimatorSet;
22 import android.animation.Keyframe;
23 import android.animation.ObjectAnimator;
24 import android.animation.PropertyValuesHolder;
25 import android.animation.ValueAnimator;
34 import android.view.animation.AccelerateDecelerateInterpolator;
170 public void onAnimationEnd(Animator animation) { in flipHorizontally()
292 public void onAnimationEnd(Animator animation) {
/development/samples/devbytes/animation/Bouncer/src/com/example/android/bouncer/
DBouncer2.java19 import android.animation.ValueAnimator;
20 import android.animation.ValueAnimator.AnimatorUpdateListener;
30 import android.view.animation.AccelerateInterpolator;
123 public void onAnimationUpdate(ValueAnimator animation) { in getValueAnimator()
124 setShapeY((int) (animation.getAnimatedFraction() * (getHeight() - mShapeH))); in getValueAnimator()
/development/samples/devbytes/animation/Anticipation/src/com/example/android/anticipation/
DAnticiButton.java19 import android.animation.AnimatorSet;
20 import android.animation.ObjectAnimator;
28 import android.view.animation.AccelerateInterpolator;
29 import android.view.animation.DecelerateInterpolator;
30 import android.view.animation.LinearInterpolator;
31 import android.view.animation.OvershootInterpolator;

1234