public interface

DimensionProto.ProportionalDimensionPropOrBuilder

 androidx.wear.protolayout.proto.DimensionProto.ProportionalDimensionPropOrBuilder

Subclasses:

DimensionProto.ProportionalDimensionProp, DimensionProto.ProportionalDimensionProp.Builder

Summary

Methods
public intgetAspectRatioHeight()

 The height to be used when calculating the aspect ratio ratio to preserve.

public intgetAspectRatioWidth()

 The width to be used when calculating the aspect ratio to preserve.

Methods

public int getAspectRatioWidth()

 The width to be used when calculating the aspect ratio to preserve.
 
uint32 aspect_ratio_width = 1;

Returns:

The aspectRatioWidth.

public int getAspectRatioHeight()

 The height to be used when calculating the aspect ratio ratio to preserve.
 
uint32 aspect_ratio_height = 2;

Returns:

The aspectRatioHeight.