public static interface ALcdAnimation.Interpolator
Modifier and Type | Field and Description |
---|---|
static ALcdAnimation.Interpolator |
LINEAR
Implementation of
ALcdAnimation.Interpolator that returns the provided time unmodified. |
static ALcdAnimation.Interpolator |
SMOOTH_STEP
Implementation of
ALcdAnimation.Interpolator that
applies the "smooth step" function y=x^2*(3-2*x) . |
Modifier and Type | Method and Description |
---|---|
double |
transform(double aTime)
Transforms the relative progress of the animation (between 0 and 1 with respect to
the animation's duration).
|
static final ALcdAnimation.Interpolator LINEAR
ALcdAnimation.Interpolator
that returns the provided time unmodified.static final ALcdAnimation.Interpolator SMOOTH_STEP
ALcdAnimation.Interpolator
that
applies the "smooth step" function y=x^2*(3-2*x)
.double transform(double aTime)
aTime
- the relative progress of the animation.