public final class

DimensionProto.PivotDimension

extends <any>

implements DimensionProto.PivotDimensionOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.DimensionProto.PivotDimension

Overview

 A dimension that can be applied to a pivot location for scale and rotate transformations.
 
Protobuf type androidx.wear.protolayout.proto.PivotDimension

Summary

Fields
public static final intLOCATION_RATIO_FIELD_NUMBER

public static final intOFFSET_DP_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.PivotDimensiongetDefaultInstance()

public DimensionProto.PivotDimension.InnerCasegetInnerCase()

public DimensionProto.BoundingBoxRatiogetLocationRatio()

 Location proportion to bounding box, with the bounding box top / start as
 0 and bottom / end as 1.

public DimensionProto.DpPropgetOffsetDp()

 Location in dp, with the default pivot (view center) as 0

public booleanhasLocationRatio()

 Location proportion to bounding box, with the bounding box top / start as
 0 and bottom / end as 1.

public booleanhasOffsetDp()

 Location in dp, with the default pivot (view center) as 0

public static DimensionProto.PivotDimension.BuildernewBuilder()

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

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

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

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

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

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

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

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

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

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

public static DimensionProto.PivotDimensionparseFrom(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 OFFSET_DP_FIELD_NUMBER

public static final int LOCATION_RATIO_FIELD_NUMBER

Methods

public boolean hasOffsetDp()

 Location in dp, with the default pivot (view center) as 0
 
.androidx.wear.protolayout.proto.DpProp offset_dp = 1;

public DimensionProto.DpProp getOffsetDp()

 Location in dp, with the default pivot (view center) as 0
 
.androidx.wear.protolayout.proto.DpProp offset_dp = 1;

public boolean hasLocationRatio()

 Location proportion to bounding box, with the bounding box top / start as
 0 and bottom / end as 1. Values outside [0, 1] are also valid.
 
.androidx.wear.protolayout.proto.BoundingBoxRatio location_ratio = 2;

public DimensionProto.BoundingBoxRatio getLocationRatio()

 Location proportion to bounding box, with the bounding box top / start as
 0 and bottom / end as 1. Values outside [0, 1] are also valid.
 
.androidx.wear.protolayout.proto.BoundingBoxRatio location_ratio = 2;

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

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

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

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

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

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

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

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

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

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

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

public static <any> parser()