# Print output for @column tags ?> LinearInterpolator - Android SDK | Android Developers

Most visited


Recently visited


LinearInterpolator

public class LinearInterpolator
extends BaseInterpolator

java.lang.Object
   ↳ android.view.animation.BaseInterpolator
     ↳ android.view.animation.LinearInterpolator


An interpolator where the rate of change is constant

Summary


Public constructors

LinearInterpolator()
LinearInterpolator(Context context, AttributeSet attrs)

Public methods

float getInterpolation(float input)

Inherited methods

Public constructors


LinearInterpolator

public LinearInterpolator ()

LinearInterpolator

public LinearInterpolator (Context context, 
                AttributeSet attrs)

Parameters
context Context

attrs AttributeSet

Public methods


getInterpolation

public float getInterpolation (float input)

Parameters
input float

Returns
float