Class of android.animation · ObjectAnimator.java · Android's reference
public final class ObjectAnimator extends ValueAnimator
ObjectAnimator ← ValueAnimator ← Animator
A ValueAnimator that sets properties of a target object on each frame.
public ObjectAnimator() empty body sourcepublic static ObjectAnimator ofFloat(Object target, String propertyName, float... values) sourcepublic static <T> ObjectAnimator ofFloat(T target, Property<T, Float> property, float... values) sourcepublic static ObjectAnimator ofInt(Object target, String propertyName, int... values) sourcepublic static <T> ObjectAnimator ofInt(T target, Property<T, Integer> property, int... values) sourcepublic static ObjectAnimator ofArgb(Object target, String propertyName, int... values) sourcepublic static ObjectAnimator ofObject(Object target, String propertyName, TypeEvaluator evaluator, Object... values) sourcepublic static <T, V> ObjectAnimator ofObject(T target, Property<T, V> property, TypeEvaluator<V> evaluator, V... values) sourcepublic static <T, V, P> ObjectAnimator ofObject(T target, Property<T, P> property, TypeConverter<V, P> converter, TypeEvaluator<V> evaluator, V... values) sourcepublic static ObjectAnimator ofObject(Object target, String propertyName, TypeConverter<android.graphics.PointF, ?> converter, android.graphics.Path path) sourcepublic static <T, V> ObjectAnimator ofObject(T target, Property<T, V> property, TypeConverter<android.graphics.PointF, V> converter, android.graphics.Path path) sourcepublic static ObjectAnimator ofFloat(Object target, String xPropertyName, String yPropertyName, android.graphics.Path path) sourceTwo float properties along a path, its x and its y.
public static <T> ObjectAnimator ofFloat(T target, Property<T, Float> xProperty, Property<T, Float> yProperty, android.graphics.Path path) sourcepublic static ObjectAnimator ofPropertyValuesHolder(Object target, PropertyValuesHolder... values) sourcepublic void setPropertyName(String propertyName) sourcepublic void setProperty(Property property) sourcepublic String getPropertyName() sourcepublic void setFloatValues(float... v) sourcepublic void setIntValues(int... v) sourcepublic void setObjectValues(Object... v) sourcepublic Object getTarget() sourcepublic void setTarget(Object target) sourcepublic void setAutoCancel(boolean cancel) sourcepublic ObjectAnimator setDuration(long duration) sourcepublic void setupStartValues() sourcepublic void start() sourcepublic ObjectAnimator clone() sourcepublic String toString() sourceMade 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.