public class ValueAnimator extends Animator
| Modifier and Type | Class and Description |
|---|---|
static interface |
ValueAnimator.AnimatorUpdateListener |
Animator.AnimatorListener| Modifier and Type | Field and Description |
|---|---|
static int |
INFINITE |
static int |
RESTART |
static int |
REVERSE |
| Constructor and Description |
|---|
ValueAnimator() |
addListener, getListeners, removeAllListeners, removeListener, setTarget, setupEndValues, setupStartValuespublic static final int RESTART
public static final int REVERSE
public static final int INFINITE
public static ValueAnimator ofInt(int... values)
public static ValueAnimator ofFloat(float... values)
public static ValueAnimator ofPropertyValuesHolder(PropertyValuesHolder... values)
public static ValueAnimator ofObject(TypeEvaluator evaluator, Object... values)
public void setIntValues(int... values)
public void setFloatValues(float... values)
public void setObjectValues(Object... values)
public void setValues(PropertyValuesHolder... values)
public PropertyValuesHolder[] getValues()
public ValueAnimator setDuration(long duration)
setDuration in class Animatorpublic long getDuration()
getDuration in class Animatorpublic void setCurrentPlayTime(long playTime)
public long getCurrentPlayTime()
public long getStartDelay()
getStartDelay in class Animatorpublic void setStartDelay(long startDelay)
setStartDelay in class Animatorpublic static long getFrameDelay()
public static void setFrameDelay(long frameDelay)
public Object getAnimatedValue()
public void setRepeatCount(int value)
public int getRepeatCount()
public void setRepeatMode(int value)
public int getRepeatMode()
public void addUpdateListener(ValueAnimator.AnimatorUpdateListener listener)
public void removeAllUpdateListeners()
public void removeUpdateListener(ValueAnimator.AnimatorUpdateListener listener)
public void setInterpolator(TimeInterpolator value)
setInterpolator in class Animatorpublic TimeInterpolator getInterpolator()
public void setEvaluator(TypeEvaluator value)
public void reverse()
public float getAnimatedFraction()
public ValueAnimator clone()
Copyright © 2008-2013. All Rights Reserved.