Code example for Interpolator

Methods: getInterpolation

0
        float mFactor = 1.3f; 
        @Override 
        public float getInterpolation(float input) { 
            input -= (1 - 1 / mFactor); 
            input = mFactor * Math.max(input, 0f); 
            return mInternal.getInterpolation(input); 
        } 
    }; 
 
    void animatePagesToCarousel() { 
        if (mChildrenTransformsAnimator != null) {
            mChildrenTransformsAnimator.cancel();
            mChildrenTransformsAnimator = null;
        } 
 
        int count = getChildCount();
        PropertyValuesHolder alpha;
        PropertyValuesHolder outlineAlpha;
        PropertyValuesHolder rotationY;
        PropertyValuesHolder pivotX;
Contextual code suggestions in your IDE  Get Codota for Java