public final class

AnimationParameterProto.AnimationSpec

extends <any>

implements AnimationParameterProto.AnimationSpecOrBuilder

 java.lang.Object

↳<any>

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

Overview

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

Summary

Fields
public static final intANIMATION_PARAMETERS_FIELD_NUMBER

public static final intDURATION_MILLIS_FIELD_NUMBER

public static final intEASING_FIELD_NUMBER

public static final intREPEATABLE_FIELD_NUMBER

public static final intSTART_DELAY_MILLIS_FIELD_NUMBER

Methods
protected final java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public AnimationParameterProto.AnimationParametersgetAnimationParameters()

 Animation parameters including duration, easing and repeat delay.

public static AnimationParameterProto.AnimationSpecgetDefaultInstance()

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 static AnimationParameterProto.AnimationSpec.BuildernewBuilder()

public static AnimationParameterProto.AnimationSpec.BuildernewBuilder(AnimationParameterProto.AnimationSpec prototype)

public static AnimationParameterProto.AnimationSpecparseDelimitedFrom(java.io.InputStream input)

public static AnimationParameterProto.AnimationSpecparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static AnimationParameterProto.AnimationSpecparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static AnimationParameterProto.AnimationSpecparseFrom(java.nio.ByteBuffer data)

public static AnimationParameterProto.AnimationSpecparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static AnimationParameterProto.AnimationSpecparseFrom(com.google.protobuf.ByteString data)

public static AnimationParameterProto.AnimationSpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static AnimationParameterProto.AnimationSpecparseFrom(com.google.protobuf.CodedInputStream input)

public static AnimationParameterProto.AnimationSpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static AnimationParameterProto.AnimationSpecparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static <any>parser()

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

Fields

public static final int DURATION_MILLIS_FIELD_NUMBER

public static final int START_DELAY_MILLIS_FIELD_NUMBER

public static final int EASING_FIELD_NUMBER

public static final int ANIMATION_PARAMETERS_FIELD_NUMBER

public static final int REPEATABLE_FIELD_NUMBER

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;

 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;

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;

public static AnimationParameterProto.AnimationSpec parseFrom(java.nio.ByteBuffer data)

public static AnimationParameterProto.AnimationSpec parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static AnimationParameterProto.AnimationSpec parseFrom(com.google.protobuf.ByteString data)

public static AnimationParameterProto.AnimationSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static AnimationParameterProto.AnimationSpec parseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static AnimationParameterProto.AnimationSpec parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static AnimationParameterProto.AnimationSpec parseDelimitedFrom(java.io.InputStream input)

public static AnimationParameterProto.AnimationSpec parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static AnimationParameterProto.AnimationSpec parseFrom(com.google.protobuf.CodedInputStream input)

public static AnimationParameterProto.AnimationSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public static AnimationParameterProto.AnimationSpec getDefaultInstance()

public static <any> parser()