public final class

ModifiersProto.Transformation

extends <any>

implements ModifiersProto.TransformationOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.ModifiersProto.Transformation

Overview

 A modifier to apply transformations to the element. All of these
 transformations can be animated by setting dynamic values.
 This modifier is not layout affecting.
 
Protobuf type androidx.wear.protolayout.proto.Transformation

Summary

Fields
public static final intPIVOT_X_FIELD_NUMBER

public static final intPIVOT_Y_FIELD_NUMBER

public static final intROTATION_FIELD_NUMBER

public static final intSCALE_X_FIELD_NUMBER

public static final intSCALE_Y_FIELD_NUMBER

public static final intTRANSLATION_X_FIELD_NUMBER

public static final intTRANSLATION_Y_FIELD_NUMBER

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

public static ModifiersProto.TransformationgetDefaultInstance()

public DimensionProto.PivotDimensiongetPivotX()

 The horizontal location of the point around which the element is rotated
 and scaled.

public DimensionProto.PivotDimensiongetPivotY()

 The vertical location of the point around which the element is rotated and
 scaled.

public DimensionProto.DegreesPropgetRotation()

 The clockwise degrees that the element is rotated around the pivot point.

public TypesProto.FloatPropgetScaleX()

 The scale of this element in the x direction around the pivot point, as a
 proportion of the element's unscaled width .

public TypesProto.FloatPropgetScaleY()

 The scale of this element in the y direction around the pivot point, as a
 proportion of the element's unscaled height.

public DimensionProto.DpPropgetTranslationX()

 The horizontal offset of this element relative to the location where the
 element's layout placed it.

public DimensionProto.DpPropgetTranslationY()

 The vertical offset of this element in addition to the location where the
 element's layout placed it.

public booleanhasPivotX()

 The horizontal location of the point around which the element is rotated
 and scaled.

public booleanhasPivotY()

 The vertical location of the point around which the element is rotated and
 scaled.

public booleanhasRotation()

 The clockwise degrees that the element is rotated around the pivot point.

public booleanhasScaleX()

 The scale of this element in the x direction around the pivot point, as a
 proportion of the element's unscaled width .

public booleanhasScaleY()

 The scale of this element in the y direction around the pivot point, as a
 proportion of the element's unscaled height.

public booleanhasTranslationX()

 The horizontal offset of this element relative to the location where the
 element's layout placed it.

public booleanhasTranslationY()

 The vertical offset of this element in addition to the location where the
 element's layout placed it.

public static ModifiersProto.Transformation.BuildernewBuilder()

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

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

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

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

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

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

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

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

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

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

public static ModifiersProto.TransformationparseFrom(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 TRANSLATION_X_FIELD_NUMBER

public static final int TRANSLATION_Y_FIELD_NUMBER

public static final int SCALE_X_FIELD_NUMBER

public static final int SCALE_Y_FIELD_NUMBER

public static final int ROTATION_FIELD_NUMBER

public static final int PIVOT_X_FIELD_NUMBER

public static final int PIVOT_Y_FIELD_NUMBER

Methods

public boolean hasTranslationX()

 The horizontal offset of this element relative to the location where the
 element's layout placed it.
 
.androidx.wear.protolayout.proto.DpProp translation_x = 1;

public DimensionProto.DpProp getTranslationX()

 The horizontal offset of this element relative to the location where the
 element's layout placed it.
 
.androidx.wear.protolayout.proto.DpProp translation_x = 1;

public boolean hasTranslationY()

 The vertical offset of this element in addition to the location where the
 element's layout placed it.
 
.androidx.wear.protolayout.proto.DpProp translation_y = 2;

public DimensionProto.DpProp getTranslationY()

 The vertical offset of this element in addition to the location where the
 element's layout placed it.
 
.androidx.wear.protolayout.proto.DpProp translation_y = 2;

public boolean hasScaleX()

 The scale of this element in the x direction around the pivot point, as a
 proportion of the element's unscaled width .
 
.androidx.wear.protolayout.proto.FloatProp scale_x = 3;

public TypesProto.FloatProp getScaleX()

 The scale of this element in the x direction around the pivot point, as a
 proportion of the element's unscaled width .
 
.androidx.wear.protolayout.proto.FloatProp scale_x = 3;

public boolean hasScaleY()

 The scale of this element in the y direction around the pivot point, as a
 proportion of the element's unscaled height.
 
.androidx.wear.protolayout.proto.FloatProp scale_y = 4;

public TypesProto.FloatProp getScaleY()

 The scale of this element in the y direction around the pivot point, as a
 proportion of the element's unscaled height.
 
.androidx.wear.protolayout.proto.FloatProp scale_y = 4;

public boolean hasRotation()

 The clockwise degrees that the element is rotated around the pivot point.
 
.androidx.wear.protolayout.proto.DegreesProp rotation = 5;

public DimensionProto.DegreesProp getRotation()

 The clockwise degrees that the element is rotated around the pivot point.
 
.androidx.wear.protolayout.proto.DegreesProp rotation = 5;

public boolean hasPivotX()

 The horizontal location of the point around which the element is rotated
 and scaled. With type DpProp, it is the offset from the element center;
 otherwise with type BoundingBoxRatio, it is the location proportional to
 the bounding box width.
 
.androidx.wear.protolayout.proto.PivotDimension pivot_x = 6;

 The horizontal location of the point around which the element is rotated
 and scaled. With type DpProp, it is the offset from the element center;
 otherwise with type BoundingBoxRatio, it is the location proportional to
 the bounding box width.
 
.androidx.wear.protolayout.proto.PivotDimension pivot_x = 6;

public boolean hasPivotY()

 The vertical location of the point around which the element is rotated and
 scaled. With type DpProp, it is the offset from the element center;
 otherwise with type BoundingBoxRatio, it is the location proportional to
 the bounding box height.
 
.androidx.wear.protolayout.proto.PivotDimension pivot_y = 7;

 The vertical location of the point around which the element is rotated and
 scaled. With type DpProp, it is the offset from the element center;
 otherwise with type BoundingBoxRatio, it is the location proportional to
 the bounding box height.
 
.androidx.wear.protolayout.proto.PivotDimension pivot_y = 7;

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

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

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

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

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

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

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

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

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

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

public static ModifiersProto.Transformation.Builder newBuilder()

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

public static ModifiersProto.Transformation getDefaultInstance()

public static <any> parser()