Code example for Interpolator

Methods: getInterpolation

0
                mAlpha = 0.0f; 
                invalidate(); 
                stop(); 
                return; 
            } else { 
            	mAlpha = mInterpolator.getInterpolation(1 - duration / (float) ANIMATION_DURATION); 
                invalidate(); 
            } 
            postDelayed(mUpdater, FRAME_DURATION); 
        } 
    }; 
 
}