English | Site Directory

Android - An Open Handset Alliance Project

android.view.animation
public class

android.view.animation.LinearInterpolator

java.lang.Object
android.view.animation.LinearInterpolator Interpolator

An interpolator where the rate of change is constant

Summary

Public Constructors

          LinearInterpolator()
          LinearInterpolator(Context context, AttributeSet attrs)

Public Methods

        float  getInterpolation(float input)
Maps a point on the timeline to a multiplier to be applied to the transformations of an animation.
Methods inherited from class java.lang.Object
Methods inherited from interface android.view.animation.Interpolator

Details

Public Constructors

public LinearInterpolator()

public LinearInterpolator(Context context, AttributeSet attrs)

Public Methods

public float getInterpolation(float input)

Maps a point on the timeline to a multiplier to be applied to the transformations of an animation.
Build m5-rc15i - 10 Jun 2008 13:54