Code example for DecelerateInterpolator

0
						getListener()); 
			} 
 
			rotation.setDuration(mDuration / 2);
			rotation.setFillAfter(true);
			rotation.setInterpolator(new DecelerateInterpolator());
			rotation.setAnimationListener(new AnimationListener() {
 
				@Override 
				public void onAnimationStart(Animation animation) {
				} 
 
				@Override 
				public void onAnimationRepeat(Animation animation) {
				} 
 
				@Override 
				public void onAnimationEnd(Animation animation) {
					if (listener != null) {
						listener.onViewChanged(isFrontsideVisible());
					}