public final class

DynamicProto.AnimatableFixedColor.Builder

extends <any>

implements DynamicProto.AnimatableFixedColorOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.expression.proto.DynamicProto.AnimatableFixedColor.Builder

Overview

 A static interpolation, between two fixed color values.
 
Protobuf type androidx.wear.protolayout.expression.proto.AnimatableFixedColor

Summary

Methods
public DynamicProto.AnimatableFixedColor.BuilderclearAnimationSpec()

 The animation parameters for duration, delay, etc.

public DynamicProto.AnimatableFixedColor.BuilderclearFromArgb()

 The color value (in ARGB format) to start animating from.

public DynamicProto.AnimatableFixedColor.BuilderclearToArgb()

 The color value (in ARGB format) to animate to.

public AnimationParameterProto.AnimationSpecgetAnimationSpec()

 The animation parameters for duration, delay, etc.

public intgetFromArgb()

 The color value (in ARGB format) to start animating from.

public intgetToArgb()

 The color value (in ARGB format) to animate to.

public booleanhasAnimationSpec()

 The animation parameters for duration, delay, etc.

public DynamicProto.AnimatableFixedColor.BuildermergeAnimationSpec(AnimationParameterProto.AnimationSpec value)

 The animation parameters for duration, delay, etc.

public DynamicProto.AnimatableFixedColor.BuildersetAnimationSpec(AnimationParameterProto.AnimationSpec.Builder builderForValue)

 The animation parameters for duration, delay, etc.

public DynamicProto.AnimatableFixedColor.BuildersetAnimationSpec(AnimationParameterProto.AnimationSpec value)

 The animation parameters for duration, delay, etc.

public DynamicProto.AnimatableFixedColor.BuildersetFromArgb(int value)

 The color value (in ARGB format) to start animating from.

public DynamicProto.AnimatableFixedColor.BuildersetToArgb(int value)

 The color value (in ARGB format) to animate to.

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

Methods

public int getFromArgb()

 The color value (in ARGB format) to start animating from.
 
uint32 from_argb = 1;

Returns:

The fromArgb.

public DynamicProto.AnimatableFixedColor.Builder setFromArgb(int value)

 The color value (in ARGB format) to start animating from.
 
uint32 from_argb = 1;

Parameters:

value: The fromArgb to set.

Returns:

This builder for chaining.

 The color value (in ARGB format) to start animating from.
 
uint32 from_argb = 1;

Returns:

This builder for chaining.

public int getToArgb()

 The color value (in ARGB format) to animate to.
 
uint32 to_argb = 2;

Returns:

The toArgb.

public DynamicProto.AnimatableFixedColor.Builder setToArgb(int value)

 The color value (in ARGB format) to animate to.
 
uint32 to_argb = 2;

Parameters:

value: The toArgb to set.

Returns:

This builder for chaining.

 The color value (in ARGB format) to animate to.
 
uint32 to_argb = 2;

Returns:

This builder for chaining.

public boolean hasAnimationSpec()

 The animation parameters for duration, delay, etc.
 
.androidx.wear.protolayout.expression.proto.AnimationSpec animation_spec = 3;

public AnimationParameterProto.AnimationSpec getAnimationSpec()

 The animation parameters for duration, delay, etc.
 
.androidx.wear.protolayout.expression.proto.AnimationSpec animation_spec = 3;

 The animation parameters for duration, delay, etc.
 
.androidx.wear.protolayout.expression.proto.AnimationSpec animation_spec = 3;

 The animation parameters for duration, delay, etc.
 
.androidx.wear.protolayout.expression.proto.AnimationSpec animation_spec = 3;

 The animation parameters for duration, delay, etc.
 
.androidx.wear.protolayout.expression.proto.AnimationSpec animation_spec = 3;

public DynamicProto.AnimatableFixedColor.Builder clearAnimationSpec()

 The animation parameters for duration, delay, etc.
 
.androidx.wear.protolayout.expression.proto.AnimationSpec animation_spec = 3;