public final class

AnimationParameterProto.AnimationParameters

extends <any>

implements AnimationParameterProto.AnimationParametersOrBuilder

 java.lang.Object

↳<any>

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

Overview

 Animation specs of duration, easing and repeat delay.
 
Protobuf type androidx.wear.protolayout.expression.proto.AnimationParameters

Summary

Fields
public static final intDELAY_MILLIS_FIELD_NUMBER

public static final intDURATION_MILLIS_FIELD_NUMBER

public static final intEASING_FIELD_NUMBER

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

public static AnimationParameterProto.AnimationParametersgetDefaultInstance()

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.

public static AnimationParameterProto.AnimationParameters.BuildernewBuilder()

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

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

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

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

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

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

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

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

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

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

public static AnimationParameterProto.AnimationParametersparseFrom(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 EASING_FIELD_NUMBER

public static final int DELAY_MILLIS_FIELD_NUMBER

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;

 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;

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.

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

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

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

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

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

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

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

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

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

public static AnimationParameterProto.AnimationParameters 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.AnimationParameters getDefaultInstance()

public static <any> parser()