Android
android.view.animation
public class

android.view.animation.DecelerateInterpolator

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

An interpolator where the rate of change starts out quickly and and then decelerates.

Summary

Public Constructors

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

public DecelerateInterpolator(float factor)

Constructor

Parameters

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

public DecelerateInterpolator(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.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48