public final class

ModifiersProto.Padding

extends <any>

implements ModifiersProto.PaddingOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.ModifiersProto.Padding

Overview

 A modifier to apply padding around an element.
 
Protobuf type androidx.wear.protolayout.proto.Padding

Summary

Fields
public static final intBOTTOM_FIELD_NUMBER

public static final intEND_FIELD_NUMBER

public static final intRTL_AWARE_FIELD_NUMBER

public static final intSTART_FIELD_NUMBER

public static final intTOP_FIELD_NUMBER

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

public DimensionProto.DpPropgetBottom()

 The padding at the bottom, in DP.

public static ModifiersProto.PaddinggetDefaultInstance()

public DimensionProto.DpPropgetEnd()

 The padding on the end of the content, depending on the layout direction,
 in DP and the value of "rtl_aware".

public TypesProto.BoolPropgetRtlAware()

 Whether the start/end padding is aware of RTL support.

public DimensionProto.DpPropgetStart()

 The padding on the start of the content, depending on the layout direction,
 in DP and the value of "rtl_aware".

public DimensionProto.DpPropgetTop()

 The padding at the top, in DP.

public booleanhasBottom()

 The padding at the bottom, in DP.

public booleanhasEnd()

 The padding on the end of the content, depending on the layout direction,
 in DP and the value of "rtl_aware".

public booleanhasRtlAware()

 Whether the start/end padding is aware of RTL support.

public booleanhasStart()

 The padding on the start of the content, depending on the layout direction,
 in DP and the value of "rtl_aware".

public booleanhasTop()

 The padding at the top, in DP.

public static ModifiersProto.Padding.BuildernewBuilder()

public static ModifiersProto.Padding.BuildernewBuilder(ModifiersProto.Padding prototype)

public static ModifiersProto.PaddingparseDelimitedFrom(java.io.InputStream input)

public static ModifiersProto.PaddingparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ModifiersProto.PaddingparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ModifiersProto.PaddingparseFrom(java.nio.ByteBuffer data)

public static ModifiersProto.PaddingparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ModifiersProto.PaddingparseFrom(com.google.protobuf.ByteString data)

public static ModifiersProto.PaddingparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ModifiersProto.PaddingparseFrom(com.google.protobuf.CodedInputStream input)

public static ModifiersProto.PaddingparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ModifiersProto.PaddingparseFrom(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 END_FIELD_NUMBER

public static final int START_FIELD_NUMBER

public static final int TOP_FIELD_NUMBER

public static final int BOTTOM_FIELD_NUMBER

public static final int RTL_AWARE_FIELD_NUMBER

Methods

public boolean hasEnd()

 The padding on the end of the content, depending on the layout direction,
 in DP and the value of "rtl_aware".
 
.androidx.wear.protolayout.proto.DpProp end = 1;

public DimensionProto.DpProp getEnd()

 The padding on the end of the content, depending on the layout direction,
 in DP and the value of "rtl_aware".
 
.androidx.wear.protolayout.proto.DpProp end = 1;

public boolean hasStart()

 The padding on the start of the content, depending on the layout direction,
 in DP and the value of "rtl_aware".
 
.androidx.wear.protolayout.proto.DpProp start = 2;

public DimensionProto.DpProp getStart()

 The padding on the start of the content, depending on the layout direction,
 in DP and the value of "rtl_aware".
 
.androidx.wear.protolayout.proto.DpProp start = 2;

public boolean hasTop()

 The padding at the top, in DP.
 
.androidx.wear.protolayout.proto.DpProp top = 3;

public DimensionProto.DpProp getTop()

 The padding at the top, in DP.
 
.androidx.wear.protolayout.proto.DpProp top = 3;

public boolean hasBottom()

 The padding at the bottom, in DP.
 
.androidx.wear.protolayout.proto.DpProp bottom = 4;

public DimensionProto.DpProp getBottom()

 The padding at the bottom, in DP.
 
.androidx.wear.protolayout.proto.DpProp bottom = 4;

public boolean hasRtlAware()

 Whether the start/end padding is aware of RTL support. If true, the values
 for start/end will follow the layout direction (i.e. start will refer to
 the right hand side of the container if the device is using an RTL locale).
 If false, start/end will always map to left/right, accordingly.
 
.androidx.wear.protolayout.proto.BoolProp rtl_aware = 5;

public TypesProto.BoolProp getRtlAware()

 Whether the start/end padding is aware of RTL support. If true, the values
 for start/end will follow the layout direction (i.e. start will refer to
 the right hand side of the container if the device is using an RTL locale).
 If false, start/end will always map to left/right, accordingly.
 
.androidx.wear.protolayout.proto.BoolProp rtl_aware = 5;

public static ModifiersProto.Padding parseFrom(java.nio.ByteBuffer data)

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

public static ModifiersProto.Padding parseFrom(com.google.protobuf.ByteString data)

public static ModifiersProto.Padding parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

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

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

public static ModifiersProto.Padding parseDelimitedFrom(java.io.InputStream input)

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

public static ModifiersProto.Padding parseFrom(com.google.protobuf.CodedInputStream input)

public static ModifiersProto.Padding parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ModifiersProto.Padding.Builder newBuilder()

public static ModifiersProto.Padding.Builder newBuilder(ModifiersProto.Padding prototype)

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

public static ModifiersProto.Padding getDefaultInstance()

public static <any> parser()