ValueAnimator

Class of android.animation · ValueAnimator.java · Android's reference

public class ValueAnimator extends Animator

ValueAnimator ← Animator

Values animated over time on the Choreographer's frames.

Nested types

Extended in the framework by

Fields

public static final int RESTART = 1 source
public static final int REVERSE = 2 source
public static final int INFINITE = -1 source

Constructors

public ValueAnimator() empty body source

Methods

public static ValueAnimator ofFloat(float... values) source
public static ValueAnimator ofInt(int... values) source
public static float getDurationScale() source
public static boolean areAnimatorsEnabled() source
public static boolean registerDurationScaleChangeListener(DurationScaleChangeListener listener) source
public static boolean unregisterDurationScaleChangeListener(DurationScaleChangeListener listener) source
public static ValueAnimator ofArgb(int... values) source
public static ValueAnimator ofObject(TypeEvaluator evaluator, Object... values) source
public static ValueAnimator ofPropertyValuesHolder(PropertyValuesHolder... values) source
public void setFloatValues(float... v) source
public void setIntValues(int... v) source
public void setObjectValues(Object... v) source
public void setValues(PropertyValuesHolder... values) source
public PropertyValuesHolder[] getValues() source
public void setEvaluator(TypeEvaluator value) source
public ValueAnimator setDuration(long duration) source
public long getDuration() source
public long getStartDelay() source
public void setStartDelay(long startDelay) source
public void setInterpolator(TimeInterpolator value) source
public TimeInterpolator getInterpolator() source
public void setRepeatCount(int value) source
public int getRepeatCount() source
public void setRepeatMode(int value) source
public int getRepeatMode() source
public boolean isRunning() source
public void addUpdateListener(AnimatorUpdateListener listener) source
public void removeUpdateListener(AnimatorUpdateListener listener) source
public void removeAllUpdateListeners() source
public float getAnimatedFraction() source
public Object getAnimatedValue() source
public Object getAnimatedValue(String propertyName) source
public long getCurrentPlayTime() source
public void setCurrentPlayTime(long playTime) source
public void setCurrentFraction(float fraction) source
public void start() source
public void cancel() source
public void end() source
public void reverse() source
public ValueAnimator clone() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.