Home | History | Annotate | Download | only in app

Lines Matching defs:animation

35 import android.view.animation.Animation;
36 import android.view.animation.AnimationUtils;
37 import android.view.animation.TranslateAnimation;
356 assertNull(fragment1.animation);
357 assertNull(fragment2.animation);
419 // When an animation is running on a Fragment's View, the view shouldn't be
421 // test to see if the animation is still running.
453 // When a view is animated out, is parent should be null after the animation completes
543 assertNotNull(fragment.animation);
544 assertTrue(FragmentTestUtil.waitForAnimationEnd(1000, fragment.animation));
545 assertTrue(fragment.animation.hasStarted());
558 public Animation animation;
563 public Animation onCreateAnimation(int transit, boolean enter, int nextAnim) {
568 this.animation = new TranslateAnimation(-10, 0, 0, 0);
569 this.animation.setDuration(1);
572 return this.animation;
592 public Animation onCreateAnimation(int transit, final boolean enter, int nextAnim) {
596 Animation anim = AnimationUtils.loadAnimation(getActivity(), nextAnim);
598 anim.setAnimationListener(new Animation.AnimationListener() {
600 public void onAnimationStart(Animation animation) {
604 public void onAnimationEnd(Animation animation) {
613 public void onAnimationRepeat(Animation animation) {