android.graphics
Class Interpolator

java.lang.Object
  extended by android.graphics.Interpolator

public class Interpolator
extends Object


Nested Class Summary
static class Interpolator.Result
           
 
Constructor Summary
Interpolator(int valueCount)
           
Interpolator(int valueCount, int frameCount)
           
 
Method Summary
protected  void finalize()
           
 int getKeyFrameCount()
           
 int getValueCount()
           
 void reset(int valueCount)
           
 void reset(int valueCount, int frameCount)
           
 void setKeyFrame(int index, int msec, float[] values)
           
 void setKeyFrame(int index, int msec, float[] values, float[] blend)
           
 void setRepeatMirror(float repeatCount, boolean mirror)
           
 Interpolator.Result timeToValues(float[] values)
           
 Interpolator.Result timeToValues(int msec, float[] values)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Interpolator

public Interpolator(int valueCount)

Interpolator

public Interpolator(int valueCount,
                    int frameCount)
Method Detail

reset

public void reset(int valueCount)

reset

public void reset(int valueCount,
                  int frameCount)

getKeyFrameCount

public final int getKeyFrameCount()

getValueCount

public final int getValueCount()

setKeyFrame

public void setKeyFrame(int index,
                        int msec,
                        float[] values)

setKeyFrame

public void setKeyFrame(int index,
                        int msec,
                        float[] values,
                        float[] blend)

setRepeatMirror

public void setRepeatMirror(float repeatCount,
                            boolean mirror)

timeToValues

public Interpolator.Result timeToValues(float[] values)

timeToValues

public Interpolator.Result timeToValues(int msec,
                                        float[] values)

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable


Copyright © 2008-2012. All Rights Reserved.