Code example for Interpolator

Methods: getInterpolation

0
            mCurrentZoom = mEndZoom;
            return false; 
        } 
 
        float t = tRTC * 1f / mAnimationDurationMillis;
        mCurrentZoom = mEndZoom * mInterpolator.getInterpolation(t);
        return true; 
    } 
 
    /** 
     * Returns the current zoom level. 
     * 
     * @see android.widget.Scroller#getCurrX() 
     */ 
    public float getCurrZoom() { 
        return mCurrentZoom;
    } 
}