public final class

DimensionProto.ExpandedAngularDimensionProp

extends <any>

implements DimensionProto.ExpandedAngularDimensionPropOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.DimensionProto.ExpandedAngularDimensionProp

Overview

 A type for an angular dimension that fills all the space it can
 (i.e. MATCH_PARENT in Android parlance)
 
Protobuf type androidx.wear.protolayout.proto.ExpandedAngularDimensionProp

Summary

Fields
public static final intLAYOUT_WEIGHT_FIELD_NUMBER

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

public static DimensionProto.ExpandedAngularDimensionPropgetDefaultInstance()

public TypesProto.FloatPropgetLayoutWeight()

 The layout weight (a dimensionless scalar value) for this element.

public booleanhasLayoutWeight()

 The layout weight (a dimensionless scalar value) for this element.

public static DimensionProto.ExpandedAngularDimensionProp.BuildernewBuilder()

public static DimensionProto.ExpandedAngularDimensionProp.BuildernewBuilder(DimensionProto.ExpandedAngularDimensionProp prototype)

public static DimensionProto.ExpandedAngularDimensionPropparseDelimitedFrom(java.io.InputStream input)

public static DimensionProto.ExpandedAngularDimensionPropparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DimensionProto.ExpandedAngularDimensionPropparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DimensionProto.ExpandedAngularDimensionPropparseFrom(java.nio.ByteBuffer data)

public static DimensionProto.ExpandedAngularDimensionPropparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DimensionProto.ExpandedAngularDimensionPropparseFrom(com.google.protobuf.ByteString data)

public static DimensionProto.ExpandedAngularDimensionPropparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DimensionProto.ExpandedAngularDimensionPropparseFrom(com.google.protobuf.CodedInputStream input)

public static DimensionProto.ExpandedAngularDimensionPropparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DimensionProto.ExpandedAngularDimensionPropparseFrom(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 LAYOUT_WEIGHT_FIELD_NUMBER

Methods

public boolean hasLayoutWeight()

 The layout weight (a dimensionless scalar value) for this element. The
 angular dimension for this element will be layout_weight times the
 available space divided by the sum of the layout_weights. If not set this
 defaults to 1.

 <p>Note that negative values are not supported and it can lead to
 unexpected behaviour.
 
.androidx.wear.protolayout.proto.FloatProp layout_weight = 1;

public TypesProto.FloatProp getLayoutWeight()

 The layout weight (a dimensionless scalar value) for this element. The
 angular dimension for this element will be layout_weight times the
 available space divided by the sum of the layout_weights. If not set this
 defaults to 1.

 <p>Note that negative values are not supported and it can lead to
 unexpected behaviour.
 
.androidx.wear.protolayout.proto.FloatProp layout_weight = 1;

public static DimensionProto.ExpandedAngularDimensionProp parseFrom(java.nio.ByteBuffer data)

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

public static DimensionProto.ExpandedAngularDimensionProp parseFrom(com.google.protobuf.ByteString data)

public static DimensionProto.ExpandedAngularDimensionProp parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

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

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

public static DimensionProto.ExpandedAngularDimensionProp parseDelimitedFrom(java.io.InputStream input)

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

public static DimensionProto.ExpandedAngularDimensionProp parseFrom(com.google.protobuf.CodedInputStream input)

public static DimensionProto.ExpandedAngularDimensionProp 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 DimensionProto.ExpandedAngularDimensionProp getDefaultInstance()

public static <any> parser()