public final class

LayoutElementProto.ArcAdapter

extends <any>

implements LayoutElementProto.ArcAdapterOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.LayoutElementProto.ArcAdapter

Overview

 A container that allows a standard LayoutElement to be added to an Arc.
 
Protobuf type androidx.wear.protolayout.proto.ArcAdapter

Summary

Fields
public static final intCONTENT_FIELD_NUMBER

public static final intROTATE_CONTENTS_FIELD_NUMBER

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

public LayoutElementProto.LayoutElementgetContent()

 The element to adapt to an Arc.

public static LayoutElementProto.ArcAdaptergetDefaultInstance()

public TypesProto.BoolPropgetRotateContents()

 Whether this adapter's contents should be rotated, according to its
 position in the arc or not.

public booleanhasContent()

 The element to adapt to an Arc.

public booleanhasRotateContents()

 Whether this adapter's contents should be rotated, according to its
 position in the arc or not.

public static LayoutElementProto.ArcAdapter.BuildernewBuilder()

public static LayoutElementProto.ArcAdapter.BuildernewBuilder(LayoutElementProto.ArcAdapter prototype)

public static LayoutElementProto.ArcAdapterparseDelimitedFrom(java.io.InputStream input)

public static LayoutElementProto.ArcAdapterparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.ArcAdapterparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.ArcAdapterparseFrom(java.nio.ByteBuffer data)

public static LayoutElementProto.ArcAdapterparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.ArcAdapterparseFrom(com.google.protobuf.ByteString data)

public static LayoutElementProto.ArcAdapterparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.ArcAdapterparseFrom(com.google.protobuf.CodedInputStream input)

public static LayoutElementProto.ArcAdapterparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.ArcAdapterparseFrom(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 CONTENT_FIELD_NUMBER

public static final int ROTATE_CONTENTS_FIELD_NUMBER

Methods

public boolean hasContent()

 The element to adapt to an Arc.
 
.androidx.wear.protolayout.proto.LayoutElement content = 1;

 The element to adapt to an Arc.
 
.androidx.wear.protolayout.proto.LayoutElement content = 1;

public boolean hasRotateContents()

 Whether this adapter's contents should be rotated, according to its
 position in the arc or not. As an example, assume that an Image has been
 added to the arc, and ends up at the 3 o clock position. If rotate_contents
 = true, the image will be placed at the 3 o clock position, and will be
 rotated clockwise through 90 degrees. If rotate_contents = false, the image
 will be placed at the 3 o clock position, but itself will not be rotated.
 If not defined, defaults to false.
 
.androidx.wear.protolayout.proto.BoolProp rotate_contents = 2;

public TypesProto.BoolProp getRotateContents()

 Whether this adapter's contents should be rotated, according to its
 position in the arc or not. As an example, assume that an Image has been
 added to the arc, and ends up at the 3 o clock position. If rotate_contents
 = true, the image will be placed at the 3 o clock position, and will be
 rotated clockwise through 90 degrees. If rotate_contents = false, the image
 will be placed at the 3 o clock position, but itself will not be rotated.
 If not defined, defaults to false.
 
.androidx.wear.protolayout.proto.BoolProp rotate_contents = 2;

public static LayoutElementProto.ArcAdapter parseFrom(java.nio.ByteBuffer data)

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

public static LayoutElementProto.ArcAdapter parseFrom(com.google.protobuf.ByteString data)

public static LayoutElementProto.ArcAdapter parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

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

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

public static LayoutElementProto.ArcAdapter parseDelimitedFrom(java.io.InputStream input)

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

public static LayoutElementProto.ArcAdapter parseFrom(com.google.protobuf.CodedInputStream input)

public static LayoutElementProto.ArcAdapter parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.ArcAdapter.Builder newBuilder()

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

public static LayoutElementProto.ArcAdapter getDefaultInstance()

public static <any> parser()