Creates a new ViewJsonAnimator.
Map of view IDs to view objects.
Initial values for the animation.
Target values for the animation.
Animation options.
Tracks the elapsed time for frame rate limiting during animations. Used to ensure consistent timing between animation frames.
Private
fromInitial values for the animation.
Unique identifier for this animator instance.
Private
isWhether this animator is registered with the timer service.
Private
isWhether the animation is currently running in reverse.
Animation options (duration, repeat, reverse, etc).
Private
runTracks the current duration of the animation.
Private
startStart values for the current animation run.
Private
timerTimer service for scheduling animation ticks.
Private
toTarget values for the animation.
Private
viewMap of view IDs to their corresponding view objects.
Called on each animation tick to update the animation state.
Time elapsed since the last tick, in milliseconds.
Animates to new target values with a specified duration and options.
Target values for the animation.
Duration of the animation in milliseconds.
Additional animation options.
Private
cleanupCleans up the animation, unregistering from the timer service. Resets registration and reverse state.
Private
getRetrieves the current values from the views as the starting values for animation.
The current values of all animated properties.
Pauses the animation (unregisters tickable, keeps state).
Resumes the animation from the current state. If not started, starts with resume=true.
Starts the animation.
If true, resumes from the current state; otherwise, restarts.
If true, uses the current view state as the start values.
Stops the animation and cleans up resources.
Animates properties of multiple views using JSON-based value maps. Implements the ITickable interface for timer-based updates.