Home
last modified time | relevance | path

Searched refs:anim (Results 1 – 25 of 29) sorted by relevance

12

/development/samples/ApiDemos/src/com/example/android/apis/view/
DAnimation2.java57 R.anim.push_up_in)); in onItemSelected()
59 R.anim.push_up_out)); in onItemSelected()
63 R.anim.push_left_in)); in onItemSelected()
65 R.anim.push_left_out)); in onItemSelected()
69 android.R.anim.fade_in)); in onItemSelected()
71 android.R.anim.fade_out)); in onItemSelected()
75 R.anim.hyperspace_in)); in onItemSelected()
77 R.anim.hyperspace_out)); in onItemSelected()
DAnimation3.java68 android.R.anim.accelerate_interpolator)); in onItemSelected()
72 android.R.anim.decelerate_interpolator)); in onItemSelected()
76 android.R.anim.accelerate_decelerate_interpolator)); in onItemSelected()
80 android.R.anim.anticipate_interpolator)); in onItemSelected()
84 android.R.anim.overshoot_interpolator)); in onItemSelected()
88 android.R.anim.anticipate_overshoot_interpolator)); in onItemSelected()
92 android.R.anim.bounce_interpolator)); in onItemSelected()
DTextSwitcher1.java52 android.R.anim.fade_in); in onCreate()
54 android.R.anim.fade_out); in onCreate()
DAnimation1.java41 Animation shake = AnimationUtils.loadAnimation(this, R.anim.shake); in onClick()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DAnimateDrawable.java43 public void setAnimation(Animation anim) { in setAnimation() argument
44 mAnimation = anim; in setAnimation()
60 Animation anim = mAnimation; in draw() local
61 if (anim != null) { in draw()
62 anim.getTransformation( in draw()
/development/samples/devbytes/animation/Bouncer/src/com/example/android/bouncer/
DBouncer2.java108 ValueAnimator anim = getValueAnimator(); in startAnimation() local
109 anim.setRepeatCount(ValueAnimator.INFINITE); in startAnimation()
110 anim.setRepeatMode(ValueAnimator.REVERSE); in startAnimation()
115 anim.setInterpolator(new AccelerateInterpolator()); in startAnimation()
116 anim.start(); in startAnimation()
120 ValueAnimator anim = ValueAnimator.ofFloat(0, 1); in getValueAnimator() local
121 anim.addUpdateListener(new AnimatorUpdateListener() { in getValueAnimator()
127 return anim; in getValueAnimator()
DBouncer1.java107 ValueAnimator anim = getValueAnimator(); in startAnimation() local
111 anim.setRepeatCount(ValueAnimator.INFINITE); in startAnimation()
112 anim.setRepeatMode(ValueAnimator.REVERSE); in startAnimation()
113 anim.start(); in startAnimation()
117 ValueAnimator anim = ValueAnimator.ofFloat(0, 1); in getValueAnimator() local
118 anim.addUpdateListener(new AnimatorUpdateListener() { in getValueAnimator()
124 return anim; in getValueAnimator()
DBouncer3.java112 ObjectAnimator anim = getObjectAnimator(); in startAnimation() local
113 anim.setRepeatCount(ValueAnimator.INFINITE); in startAnimation()
114 anim.setRepeatMode(ValueAnimator.REVERSE); in startAnimation()
115 anim.setInterpolator(new AccelerateInterpolator()); in startAnimation()
116 anim.start(); in startAnimation()
DBouncer.java127 ValueAnimator anim = getValueAnimator(); in startAnimation() local
128 anim.start(); in startAnimation()
132 ValueAnimator anim = ValueAnimator.ofFloat(0, 1); in getValueAnimator() local
133 anim.addUpdateListener(new AnimatorUpdateListener() { in getValueAnimator()
140 return anim; in getValueAnimator()
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DAnimationLoading.java91 ObjectAnimator anim = (ObjectAnimator) AnimatorInflater. in createAnimation() local
92 loadAnimator(appContext, R.anim.object_animator); in createAnimation()
93 anim.addUpdateListener(this); in createAnimation()
94 anim.setTarget(balls.get(0)); in createAnimation()
97 loadAnimator(appContext, R.anim.animator); in createAnimation()
106 R.anim.animator_set); in createAnimation()
110 loadAnimator(appContext, R.anim.color_animator); in createAnimation()
114 loadAnimator(appContext, R.anim.object_animator_pvh); in createAnimation()
119 loadAnimator(appContext, R.anim.object_animator_pvh_kf); in createAnimation()
123 loadAnimator(appContext, R.anim.value_animator_pvh_kf); in createAnimation()
[all …]
DLayoutAnimationsHideShow.java131 public void onAnimationEnd(Animator anim) { in setupCustomAnimations()
132 View view = (View) ((ObjectAnimator) anim).getTarget(); in setupCustomAnimations()
149 public void onAnimationEnd(Animator anim) { in setupCustomAnimations()
150 View view = (View) ((ObjectAnimator) anim).getTarget(); in setupCustomAnimations()
160 public void onAnimationEnd(Animator anim) { in setupCustomAnimations()
161 View view = (View) ((ObjectAnimator) anim).getTarget(); in setupCustomAnimations()
171 public void onAnimationEnd(Animator anim) { in setupCustomAnimations()
172 View view = (View) ((ObjectAnimator) anim).getTarget(); in setupCustomAnimations()
DLayoutAnimations.java166 public void onAnimationEnd(Animator anim) { in createCustomAnimations()
167 View view = (View) ((ObjectAnimator) anim).getTarget(); in createCustomAnimations()
183 public void onAnimationEnd(Animator anim) { in createCustomAnimations()
184 View view = (View) ((ObjectAnimator) anim).getTarget(); in createCustomAnimations()
193 public void onAnimationEnd(Animator anim) { in createCustomAnimations()
194 View view = (View) ((ObjectAnimator) anim).getTarget(); in createCustomAnimations()
203 public void onAnimationEnd(Animator anim) { in createCustomAnimations()
204 View view = (View) ((ObjectAnimator) anim).getTarget(); in createCustomAnimations()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DAnimation.java85 overridePendingTransition(R.anim.fade, R.anim.hold);
99 overridePendingTransition(R.anim.zoom_enter, R.anim.zoom_exit);
112 R.anim.fade, R.anim.hold);
127 R.anim.zoom_enter, R.anim.zoom_enter);
/development/samples/devbytes/animation/ViewAnimations/src/com/example/android/viewanimations/
DViewAnimations.java83 setupAnimation(alphaButton, alphaAnimation, R.anim.alpha_anim); in onCreate()
84 setupAnimation(translateButton, translateAnimation, R.anim.translate_anim); in onCreate()
85 setupAnimation(rotateButton, rotateAnimation, R.anim.rotate_anim); in onCreate()
86 setupAnimation(scaleButton, scaleAnimation, R.anim.scale_anim); in onCreate()
87 setupAnimation(setButton, setAnimation, R.anim.set_anim); in onCreate()
/development/samples/devbytes/animation/WindowAnimations/src/com/example/android/windowanimations/
DAnimatedSubActivity.java39 overridePendingTransition(R.anim.slide_in_right, R.anim.slide_out_right); in finish()
DWindowAnimations.java70 R.anim.slide_in_left, R.anim.slide_out_left).toBundle(); in onCreate()
/development/samples/devbytes/animation/SlidingFragments/src/com/example/android/slidingfragments/
DTextFragment.java48 final Animator anim = AnimatorInflater.loadAnimator(getActivity(), id); in onCreateAnimator() local
50 anim.addListener(new AnimatorListenerAdapter() { in onCreateAnimator()
57 return anim; in onCreateAnimator()
/development/samples/devbytes/animation/MultiPropertyAnimations/src/com/example/android/multipropertyanimations/
DMultiPropertyAnimations.java53 ValueAnimator anim = ValueAnimator.ofFloat(0, 400); in runValueAnimator() local
54 anim.addUpdateListener(new AnimatorUpdateListener() { in runValueAnimator()
62 anim.start(); in runValueAnimator()
/development/samples/devbytes/animation/ListViewAnimations/src/com/example/android/listviewanimations/
DListViewAnimations.java80 ObjectAnimator anim = ObjectAnimator.ofFloat(view, View.ALPHA, 0); in onCreate()
81 anim.setDuration(1000); in onCreate()
90 anim.addListener(new AnimatorListenerAdapter() { in onCreate()
101 anim.start(); in onCreate()
/development/samples/devbytes/animation/CurvedMotion/src/com/example/android/curvedmotion/
DCurvedMotion.java80 final ObjectAnimator anim = ObjectAnimator.ofObject( in onCreate()
83 anim.setInterpolator(sDecelerateInterpolator); in onCreate()
84 anim.start(); in onCreate()
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/
DListViewItemAnimations.java333 … ObjectAnimator anim = ObjectAnimator.ofFloat(view, View.TRANSLATION_X, startX, endX); in moveView() local
334 anim.setDuration(MOVE_DURATION); in moveView()
335 anim.start(); in moveView()
336 setAnimatorEndAction(anim, endAction); in moveView()
340 … ObjectAnimator anim = ObjectAnimator.ofFloat(view, View.TRANSLATION_Y, startY, endY); in moveView() local
341 anim.setDuration(MOVE_DURATION); in moveView()
342 anim.start(); in moveView()
343 setAnimatorEndAction(anim, endAction); in moveView()
/development/samples/devbytes/animation/PropertyAnimations/src/com/example/android/propertyanimations/
DPropertyAnimations.java102 … Animator anim = AnimatorInflater.loadAnimator(PropertyAnimations.this, animationID); in setupAnimation()
103 anim.setTarget(v); in setupAnimation()
104 anim.start(); in setupAnimation()
/development/samples/browseable/TextSwitcher/src/com.example.android.textswitcher/
DMainActivity.java57 android.R.anim.fade_in); in onCreate()
59 android.R.anim.fade_out); in onCreate()
/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
DPlayerSetupActivity.java302 ObjectAnimator anim = ObjectAnimator.ofPropertyValuesHolder(child, pvhSX, pvhSY); in popChildrenIn() local
303 anim.setDuration(150); in popChildrenIn()
304 anim.setInterpolator(overshooter); in popChildrenIn()
305 childAnims[i] = anim; in popChildrenIn()
/development/tools/findunused/
Dfindunusedresources71 …echo $i $(grep -cw R\\..*\\.$i\\\|@style/$p\\\|@drawable/$p\\\|@anim/$p\\\|@color/$p\\\|@xml/$p\\\…

12