public final class

AnimationParameterProto.AnimationSpec.Builder

extends <any>

implements AnimationParameterProto.AnimationSpecOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.expression.proto.AnimationParameterProto.AnimationSpec.Builder

Overview

 Animation parameters that can be added to any animatable node.
 
Protobuf type androidx.wear.protolayout.expression.proto.AnimationSpec

Summary

Methods
public AnimationParameterProto.AnimationSpec.BuilderclearAnimationParameters()

 Animation parameters including duration, easing and repeat delay.

public AnimationParameterProto.AnimationSpec.BuilderclearDurationMillis()

 The duration of the animation in milliseconds.

public AnimationParameterProto.AnimationSpec.BuilderclearEasing()

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

public AnimationParameterProto.AnimationSpec.BuilderclearRepeatable()

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

public AnimationParameterProto.AnimationSpec.BuilderclearStartDelayMillis()

 The delay to start the animation in milliseconds.

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.

public AnimationParameterProto.AnimationSpec.BuildermergeAnimationParameters(AnimationParameterProto.AnimationParameters value)

 Animation parameters including duration, easing and repeat delay.

public AnimationParameterProto.AnimationSpec.BuildermergeEasing(AnimationParameterProto.Easing value)

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

public AnimationParameterProto.AnimationSpec.BuildermergeRepeatable(AnimationParameterProto.Repeatable value)

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

public AnimationParameterProto.AnimationSpec.BuildersetAnimationParameters(AnimationParameterProto.AnimationParameters.Builder builderForValue)

 Animation parameters including duration, easing and repeat delay.

public AnimationParameterProto.AnimationSpec.BuildersetAnimationParameters(AnimationParameterProto.AnimationParameters value)

 Animation parameters including duration, easing and repeat delay.

public AnimationParameterProto.AnimationSpec.BuildersetDurationMillis(int value)

 The duration of the animation in milliseconds.

public AnimationParameterProto.AnimationSpec.BuildersetEasing(AnimationParameterProto.Easing.Builder builderForValue)

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

public AnimationParameterProto.AnimationSpec.BuildersetEasing(AnimationParameterProto.Easing value)

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

public AnimationParameterProto.AnimationSpec.BuildersetRepeatable(AnimationParameterProto.Repeatable.Builder builderForValue)

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

public AnimationParameterProto.AnimationSpec.BuildersetRepeatable(AnimationParameterProto.Repeatable value)

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

public AnimationParameterProto.AnimationSpec.BuildersetStartDelayMillis(int value)

 The delay to start the animation in milliseconds.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

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 AnimationParameterProto.AnimationSpec.Builder setDurationMillis(int value)

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

Parameters:

value: The durationMillis to set.

Returns:

This builder for chaining.

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

Returns:

This builder for chaining.

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 AnimationParameterProto.AnimationSpec.Builder setStartDelayMillis(int value)

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

Parameters:

value: The startDelayMillis to set.

Returns:

This builder for chaining.

public AnimationParameterProto.AnimationSpec.Builder clearStartDelayMillis()

 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:

This builder for chaining.

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;

 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;

 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;

 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;

 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;

 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;

public boolean hasAnimationParameters()

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

public AnimationParameterProto.AnimationParameters getAnimationParameters()

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

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

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

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

public AnimationParameterProto.AnimationSpec.Builder clearAnimationParameters()

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

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;

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;

 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;

 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;

 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;

 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;