Home
last modified time | relevance | path

Searched refs:Animation (Results 1 – 17 of 17) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DAnimateDrawable.java21 import android.view.animation.Animation;
27 private Animation mAnimation;
34 public AnimateDrawable(Drawable target, Animation animation) { in AnimateDrawable()
39 public Animation getAnimation() { in getAnimation()
43 public void setAnimation(Animation anim) { in setAnimation()
60 Animation anim = mAnimation; in draw()
DAnimateDrawables.java27 import android.view.animation.Animation;
49 Animation an = new TranslateAnimation(0, 100, 0, 200); in SampleView()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DLayoutAnimation2.java22 import android.view.animation.Animation;
39 Animation animation = new AlphaAnimation(0.0f, 1.0f); in onCreate()
44 Animation.RELATIVE_TO_SELF, 0.0f,Animation.RELATIVE_TO_SELF, 0.0f, in onCreate()
45 Animation.RELATIVE_TO_SELF, -1.0f,Animation.RELATIVE_TO_SELF, 0.0f in onCreate()
DAnimation3.java27 import android.view.animation.Animation;
57 Animation a = new TranslateAnimation(0.0f, in onItemSelected()
62 a.setRepeatMode(Animation.RESTART); in onItemSelected()
63 a.setRepeatCount(Animation.INFINITE); in onItemSelected()
DTextSwitcher1.java25 import android.view.animation.Animation;
51 Animation in = AnimationUtils.loadAnimation(this, in onCreate()
53 Animation out = AnimationUtils.loadAnimation(this, in onCreate()
DAnimation1.java26 import android.view.animation.Animation;
41 Animation shake = AnimationUtils.loadAnimation(this, R.anim.shake); in onClick()
/development/samples/devbytes/animation/ViewAnimations/src/com/example/android/viewanimations/
DViewAnimations.java23 import android.view.animation.Animation;
62 new TranslateAnimation(Animation.ABSOLUTE, 0, in onCreate()
63 Animation.RELATIVE_TO_PARENT, 1, in onCreate()
64 Animation.ABSOLUTE, 0, Animation.ABSOLUTE, 100); in onCreate()
69 Animation.RELATIVE_TO_SELF, .5f, Animation.RELATIVE_TO_SELF, .5f); in onCreate()
91 private void setupAnimation(View view, final Animation animation, in setupAnimation()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DAnimation.java38 public class Animation extends Activity { class
80 startActivity(new Intent(Animation.this, AlertDialogSamples.class));
93 startActivity(new Intent(Animation.this, AlertDialogSamples.class));
111 ActivityOptions opts = ActivityOptions.makeCustomAnimation(Animation.this,
114 startActivity(new Intent(Animation.this, AlertDialogSamples.class), opts.toBundle());
126 ActivityOptions opts = ActivityOptions.makeCustomAnimation(Animation.this,
129 startActivity(new Intent(Animation.this, AlertDialogSamples.class), opts.toBundle());
141 startActivity(new Intent(Animation.this, AlertDialogSamples.class), opts.toBundle());
161 startActivity(new Intent(Animation.this, AlertDialogSamples.class), opts.toBundle());
170 startActivity(new Intent(Animation.this, AlertDialogSamples.class));
/development/samples/browseable/WatchViewStub/src/com.example.android.google.wearable.watchviewstub/
DMainActivity.java27 import android.view.animation.Animation;
63 Animation.RELATIVE_TO_SELF, 0.5f, Animation.RELATIVE_TO_SELF, 0.5f); in onLayoutClicked()
66 scaleAnimation.setRepeatMode(Animation.REVERSE); in onLayoutClicked()
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DTransition3d.java13 import android.view.animation.Animation;
119 private final class DisplayNextView implements Animation.AnimationListener {
126 public void onAnimationStart(Animation animation) { in onAnimationStart()
129 public void onAnimationEnd(Animation animation) { in onAnimationEnd()
133 public void onAnimationRepeat(Animation animation) { in onAnimationRepeat()
DRotate3dAnimation.java19 import android.view.animation.Animation;
28 public class Rotate3dAnimation extends Animation {
DPathAnimations.java35 import android.view.animation.Animation;
186 mAnimator.setRepeatMode(Animation.RESTART); in startAnimator()
/development/samples/browseable/TextSwitcher/src/com.example.android.textswitcher/
DMainActivity.java23 import android.view.animation.Animation;
56 Animation in = AnimationUtils.loadAnimation(this, in onCreate()
58 Animation out = AnimationUtils.loadAnimation(this, in onCreate()
/development/samples/Wiktionary/src/com/example/android/wiktionary/
DLookupActivity.java38 import android.view.animation.Animation;
40 import android.view.animation.Animation.AnimationListener;
60 private Animation mSlideIn;
61 private Animation mSlideOut;
333 public void onAnimationEnd(Animation animation) { in onAnimationEnd()
337 public void onAnimationRepeat(Animation animation) { in onAnimationRepeat()
341 public void onAnimationStart(Animation animation) { in onAnimationStart()
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/
DListViewItemAnimations.java33 import android.view.animation.Animation;
34 import android.view.animation.Animation.AnimationListener;
352 public void onAnimationEnd(Animation animation) { in moveView()
372 private void setAnimationEndAction(Animation animation, final Runnable endAction) { in setAnimationEndAction()
376 public void onAnimationEnd(Animation animation) { in setAnimationEndAction()
390 public void onAnimationEnd(Animation animation) { in onAnimationEnd()
394 public void onAnimationRepeat(Animation animation) { in onAnimationRepeat()
398 public void onAnimationStart(Animation animation) { in onAnimationStart()
/development/samples/Home/src/com/example/android/home/
DHome.java50 import android.view.animation.Animation;
121 private Animation mGridEntry;
122 private Animation mGridExit;
692 private class HideGrid implements Animation.AnimationListener {
693 public void onAnimationStart(Animation animation) { in onAnimationStart()
696 public void onAnimationEnd(Animation animation) { in onAnimationEnd()
700 public void onAnimationRepeat(Animation animation) { in onAnimationRepeat()
707 private class ShowGrid implements Animation.AnimationListener {
708 public void onAnimationStart(Animation animation) { in onAnimationStart()
711 public void onAnimationEnd(Animation animation) { in onAnimationEnd()
[all …]
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
DRecipeActivity.java29 import android.view.animation.Animation;
97 Animation fadeIn = AnimationUtils.loadAnimation(this, android.R.anim.fade_in); in displayRecipe()