English | Site Directory

Android - An Open Handset Alliance Project

android.view.animation
public class

android.view.animation.AccelerateInterpolator

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

An interpolator where the rate of change starts out slowly and and then accelerates.

Summary

Public Constructors

          AccelerateInterpolator()
          AccelerateInterpolator(float factor)
Constructor
          AccelerateInterpolator(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 AccelerateInterpolator()

public AccelerateInterpolator(float factor)

Constructor

Parameters

factor Degree to which the animation should be eased. Seting factor to 1.0f produces a y=x^2 parabola. Increasing factor above 1.0f exaggerates the ease-in effect (i.e., it starts even slower and ends evens faster)

public AccelerateInterpolator(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