public interface

AnimationParameterProto.AnimationParametersOrBuilder

 androidx.wear.protolayout.expression.proto.AnimationParameterProto.AnimationParametersOrBuilder

Subclasses:

AnimationParameterProto.AnimationParameters, AnimationParameterProto.AnimationParameters.Builder

Summary

Methods
public longgetDelayMillis()

 Animation delay in millis.

public longgetDurationMillis()

 The duration of the animation in milliseconds.

public AnimationParameterProto.EasinggetEasing()

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

public AnimationParameterProto.AnimationParameters.OptionalDelayMillisCasegetOptionalDelayMillisCase()

public booleanhasDelayMillis()

 Animation delay in millis.

public booleanhasEasing()

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

Methods

public long getDurationMillis()

 The duration of the animation in milliseconds. If not set, defaults to
 300ms.
 
uint64 duration_millis = 1;

Returns:

The durationMillis.

public boolean hasEasing()

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

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.
 
.androidx.wear.protolayout.expression.proto.Easing easing = 2;

Returns:

The easing.

public boolean hasDelayMillis()

 Animation delay in millis. When used outside repeatable, this is the
 delay to start the animation in milliseconds. When set inside repeatable,
 this is the delay before repeating animation in milliseconds. If not set,
 no delay will be applied.
 
uint64 delay_millis = 3;

Returns:

Whether the delayMillis field is set.

public long getDelayMillis()

 Animation delay in millis. When used outside repeatable, this is the
 delay to start the animation in milliseconds. When set inside repeatable,
 this is the delay before repeating animation in milliseconds. If not set,
 no delay will be applied.
 
uint64 delay_millis = 3;

Returns:

The delayMillis.