FileDocCategorySizeDatePackage
AccelerateDecelerateInterpolator.javaAPI DocAndroid 1.5 API1192Wed May 06 22:41:56 BST 2009android.view.animation

AccelerateDecelerateInterpolator

public class AccelerateDecelerateInterpolator extends Object implements Interpolator
An interpolator where the rate of change starts and ends slowly but accelerates through the middle.

Fields Summary
Constructors Summary
public AccelerateDecelerateInterpolator()

    
public AccelerateDecelerateInterpolator(android.content.Context context, android.util.AttributeSet attrs)

    
Methods Summary
public floatgetInterpolation(float input)

        return (float)(Math.cos((input + 1) * Math.PI) / 2.0f) + 0.5f;