public class ValueAnimator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
ValueAnimator.AnimateListener
Callback interface for notification of animations' events.
|
static class |
ValueAnimator.Builder |
Modifier and Type | Field and Description |
---|---|
private long |
duration_
Duration of animation
|
private float |
end_value_
End value to finish animation
|
private android.view.animation.Interpolator |
interpolator_
Interpolator functionality to apply to animation
|
private int |
repeat_count_
Amount of repetitions
|
private int |
repeat_mode_
Repeat mode, either
|
private float |
start_value_
Initial value to start animation
|
private android.animation.ValueAnimator |
value_animator_ |
Modifier | Constructor and Description |
---|---|
private |
ValueAnimator(ValueAnimator.Builder builder) |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
void |
execute(ValueAnimator.AnimateListener listener)
Call to execute the animation
|
boolean |
running() |
private final long duration_
private final float start_value_
private final float end_value_
private final int repeat_mode_
private final int repeat_count_
private final android.view.animation.Interpolator interpolator_
private android.animation.ValueAnimator value_animator_
private ValueAnimator(ValueAnimator.Builder builder)
public void execute(@NonNull ValueAnimator.AnimateListener listener)
public void cancel()
public boolean running()