public final class

DimensionProto.ExpandedDimensionProp

extends <any>

implements DimensionProto.ExpandedDimensionPropOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.DimensionProto.ExpandedDimensionProp

Overview

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

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.ExpandedDimensionPropgetDefaultInstance()

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.ExpandedDimensionProp.BuildernewBuilder()

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

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

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

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

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

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

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

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

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

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

public static DimensionProto.ExpandedDimensionPropparseFrom(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. This
 will only affect the width of children of a Row or the height of children
 of a Column. By default, all children have equal weight. Where applicable,
 the width or height of the element is proportional to the sum of the
 weights of its siblings.

 <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. This
 will only affect the width of children of a Row or the height of children
 of a Column. By default, all children have equal weight. Where applicable,
 the width or height of the element is proportional to the sum of the
 weights of its siblings.

 <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.ExpandedDimensionProp parseFrom(java.nio.ByteBuffer data)

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

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

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

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

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

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

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

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

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

public static <any> parser()