HomeSort by relevance Sort by last modified time
    Searched defs:translateAnimation (Results 1 - 3 of 3) sorted by null

  /cts/tests/tests/view/src/android/view/animation/cts/
TranslateAnimationTest.java 35 import android.view.animation.TranslateAnimation;
78 new TranslateAnimation(mActivity, null);
85 new TranslateAnimation(mActivity, attr);
87 // Test {@link TranslateAnimation#TranslateAnimation(float, float, float, float)}
88 new TranslateAnimation(0.6f, 0.6f, 0.6f, 0.6f);
90 new TranslateAnimation(-0.6f, -0.6f, -0.6f, -0.6f);
92 // Test {@link TranslateAnimation#TranslateAnimation(int, float, int, float, int, float,
94 new TranslateAnimation(Animation.RELATIVE_TO_SELF, 0.6f, Animation.RELATIVE_TO_SELF, 0.6f
    [all...]
  /development/samples/devbytes/animation/ViewAnimations/src/com/example/android/viewanimations/
ViewAnimations.java 28 import android.view.animation.TranslateAnimation;
61 final TranslateAnimation translateAnimation =
62 new TranslateAnimation(Animation.ABSOLUTE, 0,
65 translateAnimation.setDuration(1000);
79 setAnimation.addAnimation(translateAnimation);
84 setupAnimation(translateButton, translateAnimation, R.anim.translate_anim);
  /development/samples/devbytes/animation/PropertyAnimations/src/com/example/android/propertyanimations/
PropertyAnimations.java 62 ObjectAnimator translateAnimation =
64 translateAnimation.setRepeatCount(1);
65 translateAnimation.setRepeatMode(ValueAnimator.REVERSE);
84 setAnimation.play(translateAnimation).after(alphaAnimation).before(rotateAnimation);
88 setupAnimation(translateButton, translateAnimation, R.animator.move);

Completed in 318 milliseconds