public final class

DimensionProto.BoundingBoxRatio

extends <any>

implements DimensionProto.BoundingBoxRatioOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.DimensionProto.BoundingBoxRatio

Overview

 Provide a position representation proportional to the bounding box width/height.
 
Protobuf type androidx.wear.protolayout.proto.BoundingBoxRatio

Summary

Fields
public static final intRATIO_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.BoundingBoxRatiogetDefaultInstance()

public TypesProto.FloatPropgetRatio()

 The ratio proportional to the bounding box width/height.

public booleanhasRatio()

 The ratio proportional to the bounding box width/height.

public static DimensionProto.BoundingBoxRatio.BuildernewBuilder()

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

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

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

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

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

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

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

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

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

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

public static DimensionProto.BoundingBoxRatioparseFrom(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 RATIO_FIELD_NUMBER

Methods

public boolean hasRatio()

 The ratio proportional to the bounding box width/height. value 0 represents the location at the
 top / left of the bounding box and value 1 represents the location at the bottom / end of the
 bounding box. Its default value 0.5 represents the middle of the bounding box. Values
 outside [0, 1] are also valid. Dynamic value is supported.
 
.androidx.wear.protolayout.proto.FloatProp ratio = 1;

public TypesProto.FloatProp getRatio()

 The ratio proportional to the bounding box width/height. value 0 represents the location at the
 top / left of the bounding box and value 1 represents the location at the bottom / end of the
 bounding box. Its default value 0.5 represents the middle of the bounding box. Values
 outside [0, 1] are also valid. Dynamic value is supported.
 
.androidx.wear.protolayout.proto.FloatProp ratio = 1;

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

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

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

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

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

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

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

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

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

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

public static DimensionProto.BoundingBoxRatio.Builder newBuilder()

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

public static DimensionProto.BoundingBoxRatio getDefaultInstance()

public static <any> parser()