public interface

DimensionProto.DegreesPropOrBuilder

 androidx.wear.protolayout.proto.DimensionProto.DegreesPropOrBuilder

Subclasses:

DimensionProto.DegreesProp, DimensionProto.DegreesProp.Builder

Summary

Methods
public AlignmentProto.AngularAlignmentgetAngularAlignmentForLayout()

 Angular alignment of the actual content within the space reserved by
 value_for_layout.

public intgetAngularAlignmentForLayoutValue()

 Angular alignment of the actual content within the space reserved by
 value_for_layout.

public DynamicProto.DynamicFloatgetDynamicValue()

 The dynamic value, in degrees.

public DimensionProto.DegreesProp.OptionalValueCasegetOptionalValueCase()

public DimensionProto.DegreesProp.OptionalValueForLayoutCasegetOptionalValueForLayoutCase()

public floatgetValue()

 The static value, in degrees.

public floatgetValueForLayout()

 The fixed value to reserve the space when used on a layout-changing data
 bind.

public booleanhasDynamicValue()

 The dynamic value, in degrees.

public booleanhasValue()

 The static value, in degrees.

public booleanhasValueForLayout()

 The fixed value to reserve the space when used on a layout-changing data
 bind.

Methods

public boolean hasValue()

 The static value, in degrees. If a dynamic value is also set and the
 renderer supports dynamic values for the corresponding field, this static
 value will be ignored. If the static value is not specified, zero will be
 used instead.
 
float value = 1;

Returns:

Whether the value field is set.

public float getValue()

 The static value, in degrees. If a dynamic value is also set and the
 renderer supports dynamic values for the corresponding field, this static
 value will be ignored. If the static value is not specified, zero will be
 used instead.
 
float value = 1;

Returns:

The value.

public boolean hasDynamicValue()

 The dynamic value, in degrees. Note that when setting this value, the
 static value is still required to be set to support older renderers that
 only read the static value. If {@code dynamicValue} has an invalid result,
 the provided static value will be used instead.
 
.androidx.wear.protolayout.expression.proto.DynamicFloat dynamic_value = 2;

Returns:

Whether the dynamicValue field is set.

public DynamicProto.DynamicFloat getDynamicValue()

 The dynamic value, in degrees. Note that when setting this value, the
 static value is still required to be set to support older renderers that
 only read the static value. If {@code dynamicValue} has an invalid result,
 the provided static value will be used instead.
 
.androidx.wear.protolayout.expression.proto.DynamicFloat dynamic_value = 2;

Returns:

The dynamicValue.

public boolean hasValueForLayout()

 The fixed value to reserve the space when used on a layout-changing data
 bind.
 
float value_for_layout = 3;

Returns:

Whether the valueForLayout field is set.

public float getValueForLayout()

 The fixed value to reserve the space when used on a layout-changing data
 bind.
 
float value_for_layout = 3;

Returns:

The valueForLayout.

public int getAngularAlignmentForLayoutValue()

 Angular alignment of the actual content within the space reserved by
 value_for_layout. If not specified, defaults to center alignment.
 
.androidx.wear.protolayout.proto.AngularAlignment angular_alignment_for_layout = 4;

Returns:

The enum numeric value on the wire for angularAlignmentForLayout.

public AlignmentProto.AngularAlignment getAngularAlignmentForLayout()

 Angular alignment of the actual content within the space reserved by
 value_for_layout. If not specified, defaults to center alignment.
 
.androidx.wear.protolayout.proto.AngularAlignment angular_alignment_for_layout = 4;

Returns:

The angularAlignmentForLayout.

public DimensionProto.DegreesProp.OptionalValueCase getOptionalValueCase()

public DimensionProto.DegreesProp.OptionalValueForLayoutCase getOptionalValueForLayoutCase()