AnimationParameterBuilders


public final class AnimationParameterBuilders


Builders for parameters that can be used to customize an animation.

Summary

Nested types

@RequiresSchemaVersion(major = 1, minor = 200)
public final class AnimationParameterBuilders.AnimationParameters

Animation specs of duration, easing and repeat delay.

Builder for AnimationParameters

@RequiresSchemaVersion(major = 1, minor = 200)
public final class AnimationParameterBuilders.AnimationSpec

Animation parameters that can be added to any animatable node.

Builder for AnimationSpec

@RequiresSchemaVersion(major = 1, minor = 200)
public interface AnimationParameterBuilders.Easing

Interface defining the easing to be used for adjusting an animation's fraction.

@RequiresSchemaVersion(major = 1, minor = 200)
public final class AnimationParameterBuilders.Repeatable

The repeatable mode to be used for specifying how many times animation will be repeated.

Builder for Repeatable

Constants

static final int
@RequiresSchemaVersion(major = 1, minor = 200)
REPEAT_MODE_RESTART = 1

The repeat mode where animation restarts from the beginning when repeated.

static final int
@RequiresSchemaVersion(major = 1, minor = 200)
REPEAT_MODE_REVERSE = 2

The repeat mode where animation is played in reverse when repeated.

static final int
@RequiresSchemaVersion(major = 1, minor = 200)
REPEAT_MODE_UNKNOWN = 0

The unknown repeat mode.

Constants

REPEAT_MODE_RESTART

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 200)
public static final int REPEAT_MODE_RESTART = 1

The repeat mode where animation restarts from the beginning when repeated.

REPEAT_MODE_REVERSE

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 200)
public static final int REPEAT_MODE_REVERSE = 2

The repeat mode where animation is played in reverse when repeated.

REPEAT_MODE_UNKNOWN

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 200)
public static final int REPEAT_MODE_UNKNOWN = 0

The unknown repeat mode.