Class Daigram
Also:
ViewPropertyAnimator
TypeEvaluator
TypeConverter
Interpolator
Animator
addListener(AnimatorListener listener)
cancel()
end()
pause()
resume()
reverse()
setDuration()
setInterpolator(TimeInterpolator value)
setStartDelay(long startDelay)
start()
ValueAnimator
addUpdateListener(AnimatorUpdateListener listener)
endAnimation()
ofArgb(int... values)
ofFloat(float... values)
ofInt(int... value)
ofObject(TypeEvaluator evaluator, Object... values)
removeAllUpdateListeners()
removeUpdateListener(AnimatorUpdateListener listener)
setCurrentFraction(float fraction)
setRepeatCount(int value)
setRepeatMode(@RepeatMode int value)
ObjectAnimator
ObjectAnimator(Object target, String propertyName)
<T> ObjectAnimator(T target, Property<T, ?> property)
ofArgb(Object target, String propertyName, int... values)
ofArgb(T target, Property<T, Integer> property, int... values)
ofFloat(Object target, String propertyName, float... values)
ofFloat(Object target, String xPropertyName, String yPropertyName, Path path)
ofFloat(T target, Property<T, Float> property, float... values)
ofFloat(T target, Property<T, Float> xProperty, Property<T, Float> yProperty, Path path)
-
ofInt()
类似 ofMultiFloat(Object target, String propertyName, float[][] values)
ofMultiFloat(Object target, String propertyName, Path path)
ofMultiFloat(Object target, String propertyName, TypeConverter<T, float[]> converter, TypeEvaluator<T> evaluator, T... values)
-
ofMultiInt()
类似 ofObject(Object target, String propertyName, @Nullable TypeConverter<PointF, ?> converter, Path path)
ofObject(Object target, String propertyName, TypeEvaluator evaluator, Object... values)
ofObject(T target, Property<T, P> property, TypeConverter<V, P> converter, TypeEvaluator<V> evaluator, V... values)
ofObject(T target, @NonNull Property<T, V> property, @Nullable TypeConverter<PointF, V> converter, Path path)
ofObject(T target, Property<T, V> property, TypeEvaluator<V> evaluator, V... values)
setProperty(@NonNull Property property)
setPropertyName(@NonNull String propertyName)
AnimatorSet
play(Animator anim)
playSequentially(Animator... items)
playSequentially(List<Animator> items)
playTogether(Animator... items)
playTogether(Collection<Animator> items)