ColorAnimation, TransformAnimationpublic class SimpleAnimation extends InterpolatingAnimation
| Modifier and Type | Field | Description |
|---|---|---|
protected AnimatableValue |
by |
Relative offset value for the animation.
|
protected AnimatableValue |
from |
Starting value of the animation.
|
protected AnimatableValue |
to |
Ending value of the animation.
|
protected AnimatableValue[] |
values |
Values between which to interpolate.
|
animatableElement, beginTime, CALC_MODE_DISCRETE, CALC_MODE_LINEAR, CALC_MODE_PACED, CALC_MODE_SPLINE, composedValue, higherAnimation, isActive, isDirty, isFrozen, lowerAnimation, timedElement, toAnimation, usesUnderlyingValue, valueadditive, calcMode, cumulative, keySplineCubics, keySplines, keyTimes| Constructor | Description |
|---|---|
SimpleAnimation(TimedElement timedElement,
AnimatableElement animatableElement,
int calcMode,
float[] keyTimes,
float[] keySplines,
boolean additive,
boolean cumulative,
AnimatableValue[] values,
AnimatableValue from,
AnimatableValue to,
AnimatableValue by) |
Creates a new SimpleAnimation.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
sampledAtUnitTime(float unitTime,
int repeatIteration) |
Called when the element is sampled at the given unit time.
|
getComposedValue, getTimedElement, getValue, markDirty, toString, usesUnderlyingValuesampledAt, sampledLastValue, willReplaceprotected AnimatableValue[] values
protected AnimatableValue from
protected AnimatableValue to
protected AnimatableValue by
public SimpleAnimation(TimedElement timedElement, AnimatableElement animatableElement, int calcMode, float[] keyTimes, float[] keySplines, boolean additive, boolean cumulative, AnimatableValue[] values, AnimatableValue from, AnimatableValue to, AnimatableValue by)
protected void sampledAtUnitTime(float unitTime,
int repeatIteration)
AbstractAnimation.value of the animation if active.sampledAtUnitTime in class InterpolatingAnimationCopyright ? 2018 Apache Software Foundation. All Rights Reserved.