ObjectAnimator

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.

Constructors

public ObjectAnimator() empty body source

Methods

public static ObjectAnimator ofFloat(Object target, String propertyName, float... values) source
public static <T> ObjectAnimator ofFloat(T target, Property<T, Float> property, float... values) source
public static ObjectAnimator ofInt(Object target, String propertyName, int... values) source
public static <T> ObjectAnimator ofInt(T target, Property<T, Integer> property, int... values) source
public static ObjectAnimator ofArgb(Object target, String propertyName, int... values) source
public static ObjectAnimator ofObject(Object target, String propertyName, TypeEvaluator evaluator, Object... values) source
public static <T, V> ObjectAnimator ofObject(T target, Property<T, V> property, TypeEvaluator<V> evaluator, V... values) source
public static <T, V, P> ObjectAnimator ofObject(T target, Property<T, P> property, TypeConverter<V, P> converter, TypeEvaluator<V> evaluator, V... values) source
public static ObjectAnimator ofObject(Object target, String propertyName, TypeConverter<android.graphics.PointF, ?> converter, android.graphics.Path path) source
public static <T, V> ObjectAnimator ofObject(T target, Property<T, V> property, TypeConverter<android.graphics.PointF, V> converter, android.graphics.Path path) source
public static ObjectAnimator ofFloat(Object target, String xPropertyName, String yPropertyName, android.graphics.Path path) source

Two 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) source
public static ObjectAnimator ofPropertyValuesHolder(Object target, PropertyValuesHolder... values) source
public void setPropertyName(String propertyName) source
public void setProperty(Property property) source
public String getPropertyName() source
public void setFloatValues(float... v) source
public void setIntValues(int... v) source
public void setObjectValues(Object... v) source
public Object getTarget() source
public void setTarget(Object target) source
public void setAutoCancel(boolean cancel) source
public ObjectAnimator setDuration(long duration) source
public void setupStartValues() source
public void start() source
public ObjectAnimator clone() source
public String toString() 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.