public class DecayAnimation
extends java.lang.Object
AnimationDriver
providing support for decay animations. The
implementation is copied from the JS version in AnimatedImplementation.js
.Constructor and Description |
---|
DecayAnimation(ReadableMap config) |
Modifier and Type | Method and Description |
---|---|
void |
resetConfig(ReadableMap config)
This method will get called when some of the configuration gets updated while the animation is
running.
|
void |
runAnimationStep(long frameTimeNanos)
This method gets called in the main animation loop with a frame time passed down from the
android choreographer callback.
|
public DecayAnimation(ReadableMap config)
public void resetConfig(ReadableMap config)
public void runAnimationStep(long frameTimeNanos)