public interface

AnimationParameterProto.AnimationSpecOrBuilder

 androidx.wear.protolayout.expression.proto.AnimationParameterProto.AnimationSpecOrBuilder

Subclasses:

AnimationParameterProto.AnimationSpec, AnimationParameterProto.AnimationSpec.Builder

Summary

Methods
public AnimationParameterProto.AnimationParametersgetAnimationParameters()

 Animation parameters including duration, easing and repeat delay.

public intgetDurationMillis()

 The duration of the animation in milliseconds.

public AnimationParameterProto.EasinggetEasing()

 The easing to be used for adjusting an animation's fraction.

public AnimationParameterProto.RepeatablegetRepeatable()

 The repeatable mode to be used for specifying repetition parameters for the
 animation.

public intgetStartDelayMillis()

 The delay to start the animation in milliseconds.

public booleanhasAnimationParameters()

 Animation parameters including duration, easing and repeat delay.

public booleanhasEasing()

 The easing to be used for adjusting an animation's fraction.

public booleanhasRepeatable()

 The repeatable mode to be used for specifying repetition parameters for the
 animation.

Methods

public int getDurationMillis()

 The duration of the animation in milliseconds. If not set, defaults to
 300ms.
 @deprecated Use animation_parameters instead.
 
uint32 duration_millis = 1;

Returns:

The durationMillis.

public int getStartDelayMillis()

 The delay to start the animation in milliseconds. If not set, defaults to
 0.
 @deprecated Use animation_parameters instead.
 
uint32 start_delay_millis = 2;

Returns:

The startDelayMillis.

public boolean hasEasing()

 The easing to be used for adjusting an animation's fraction. If not set,
 defaults to Linear Interpolator.
 @deprecated Use animation_parameters instead.
 
.androidx.wear.protolayout.expression.proto.Easing easing = 3;

Returns:

Whether the easing field is set.

 The easing to be used for adjusting an animation's fraction. If not set,
 defaults to Linear Interpolator.
 @deprecated Use animation_parameters instead.
 
.androidx.wear.protolayout.expression.proto.Easing easing = 3;

Returns:

The easing.

public boolean hasAnimationParameters()

 Animation parameters including duration, easing and repeat delay.
 
.androidx.wear.protolayout.expression.proto.AnimationParameters animation_parameters = 4;

Returns:

Whether the animationParameters field is set.

public AnimationParameterProto.AnimationParameters getAnimationParameters()

 Animation parameters including duration, easing and repeat delay.
 
.androidx.wear.protolayout.expression.proto.AnimationParameters animation_parameters = 4;

Returns:

The animationParameters.

public boolean hasRepeatable()

 The repeatable mode to be used for specifying repetition parameters for the
 animation. If not set, animation won't be repeated.
 
.androidx.wear.protolayout.expression.proto.Repeatable repeatable = 5;

Returns:

Whether the repeatable field is set.

public AnimationParameterProto.Repeatable getRepeatable()

 The repeatable mode to be used for specifying repetition parameters for the
 animation. If not set, animation won't be repeated.
 
.androidx.wear.protolayout.expression.proto.Repeatable repeatable = 5;

Returns:

The repeatable.