{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

AnimationConstants

public static class AnimationConstants


Summary

Constants

static final int

The default duration used in VectorizedAnimationSpecs and AnimationSpec.

static final long

The value that is used when the animation time is not yet set.

Public fields

static @NonNull AnimationConstants

Constants

DefaultDurationMillis

public static final int DefaultDurationMillis = 300

The default duration used in VectorizedAnimationSpecs and AnimationSpec.

UnspecifiedTime

public static final long UnspecifiedTime

The value that is used when the animation time is not yet set.

Public fields

INSTANCE

public static @NonNull AnimationConstants INSTANCE