Code example for DecelerateInterpolator

0
            @Override public void run() { 
                curView.setVisibility(View.GONE);
                nextView.setVisibility(View.VISIBLE);
                nextView.requestFocus();
                new RotationTransitionAnimation(root, nextView, xCenter, yCenter)
                   .animateOnce(new DecelerateInterpolator(), null);
            } }); 
    } 
 
    /** 
     * @see android.view.animation.Animation.AnimationListener 
     *      #onAnimationRepeat(android.view.animation.Animation) 
     */ 
    @Override public void onAnimationRepeat(Animation animation) { }
 
    /** 
     * @see android.view.animation.Animation.AnimationListener 
     *      #onAnimationStart(android.view.animation.Animation) 
     */ 
    @Override public void onAnimationStart(Animation animation) { }