public class AdditiveObjectAnimator<V> extends BaseAdditiveAnimator<AdditiveObjectAnimator<V>,V>
BaseAdditiveAnimator.property(float, FloatProperty) and BaseAdditiveAnimator.property(float, TypeEvaluator, FloatProperty) methods.
If you'd like to provide your own builder methods for creating animations, subclass BaseAdditiveAnimator.mAnimationAccumulator, mAnimatorGroup, mCurrentCustomInterpolator, mCurrentTarget, mParent, mRunningAnimationsManager, sequenceDelay, staggerDelay| Constructor and Description |
|---|
AdditiveObjectAnimator() |
| Modifier and Type | Method and Description |
|---|---|
static <V> AdditiveObjectAnimator<V> |
animate(V target) |
static <V> AdditiveObjectAnimator<V> |
animate(V target,
long duration) |
static <V> AdditiveObjectAnimator<V> |
create() |
static <V> AdditiveObjectAnimator<V> |
create(long duration) |
Float |
getCurrentPropertyValue(String propertyName)
Returns the actual value of the animation target with the given name.
|
protected AdditiveObjectAnimator<V> |
newInstance()
Factory method for creation of subclass instances.
|
void |
onApplyChanges()
This method will be called when the current frame has been calculated.
|
AdditiveObjectAnimator<V> |
setAnimationApplier(Runnable animationApplier) |
protected AdditiveObjectAnimator<V> |
setParent(AdditiveObjectAnimator<V> other)
Copies all relevant attributes, including (ONLY) current target from `other` to self.
|
action, addEndAction, addListener, addPauseListener, addStartAction, addTarget, addUpdateListener, animate, animate, animate, animate, animate, animatePropertiesAlongPath, animateProperty, animateProperty, animatePropertyBy, apply, apply, applyCustomProperties, cancelAnimation, cancelAnimation, cancelAnimation, cancelAnimationsForObject, cancelAnimationsForObjects, cancelAnimationsInCollection, createAnimation, createAnimation, createAnimation, createChildWithDelayAfterParentStart, createChildWithRawDelay, getCurrentTarget, getQueuedPropertyValue, getRunningAnimationsManager, getTargetPropertyValue, getTargetPropertyValue, getTotalDurationInSequence, getValueAnimator, initValueAnimatorIfNeeded, property, property, property, runIfParentIsInSameAnimationGroup, self, setDefaultDuration, setDefaultInterpolator, setDelayInSequence, setDuration, setInterpolator, setRepeatCount, setRepeatMode, setsDefaultInterpolator, setStartDelay, start, state, switchDuration, switchInterpolator, switchToDefaultInterpolator, target, targets, targets, targets, then, thenBeforeEnd, thenDelayAfterEnd, thenWithDelayplaySequentially, playSequentially, playTogether, playTogether, playWithDelayBetweenAnimationsprotected AdditiveObjectAnimator<V> newInstance()
BaseAdditiveAnimatornewInstance in class BaseAdditiveAnimator<AdditiveObjectAnimator<V>,V>public static <V> AdditiveObjectAnimator<V> animate(V target)
public static <V> AdditiveObjectAnimator<V> animate(V target, long duration)
public static <V> AdditiveObjectAnimator<V> create()
public static <V> AdditiveObjectAnimator<V> create(long duration)
protected AdditiveObjectAnimator<V> setParent(AdditiveObjectAnimator<V> other)
BaseAdditiveAnimatorsetParent in class BaseAdditiveAnimator<AdditiveObjectAnimator<V>,V>public AdditiveObjectAnimator<V> setAnimationApplier(Runnable animationApplier)
public Float getCurrentPropertyValue(String propertyName)
BaseAdditiveAnimatorgetCurrentPropertyValue in class BaseAdditiveAnimator<AdditiveObjectAnimator<V>,V>public void onApplyChanges()
BaseAdditiveAnimatoronApplyChanges in class BaseAdditiveAnimator<AdditiveObjectAnimator<V>,V>