public enum

LayoutProto.ContentScale

extends java.lang.Enum<LayoutProto.ContentScale>

 java.lang.Object

↳java.lang.Enum<LayoutProto.ContentScale>

↳androidx.glance.appwidget.proto.LayoutProto.ContentScale

Overview

Protobuf enum androidx.glance.appwidget.proto.ContentScale

Summary

Enum Constants
CROPCROP = 2;
FILL_BOUNDSFILL_BOUNDS = 3;
FITFIT = 1;
UNRECOGNIZED
UNSPECIFIED_CONTENT_SCALEUNSPECIFIED_CONTENT_SCALE = 0;
Fields
public static final intCROP_VALUE

CROP = 2;

public static final intFILL_BOUNDS_VALUE

FILL_BOUNDS = 3;

public static final intFIT_VALUE

FIT = 1;

public static final intUNSPECIFIED_CONTENT_SCALE_VALUE

UNSPECIFIED_CONTENT_SCALE = 0;

Methods
public static LayoutProto.ContentScaleforNumber(int value)

public final intgetNumber()

public static <any>internalGetValueMap()

public static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()

public static LayoutProto.ContentScalevalueOf(int value)

public static LayoutProto.ContentScalevalueOf(java.lang.String name)

public static LayoutProto.ContentScalevalues()

from java.lang.Enum<E>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
from java.lang.ObjectgetClass, notify, notifyAll, wait, wait, wait

Enum Constants

UNSPECIFIED_CONTENT_SCALE

UNSPECIFIED_CONTENT_SCALE = 0;

FIT

FIT = 1;

CROP

CROP = 2;

FILL_BOUNDS

FILL_BOUNDS = 3;

UNRECOGNIZED

Fields

public static final int UNSPECIFIED_CONTENT_SCALE_VALUE

UNSPECIFIED_CONTENT_SCALE = 0;

public static final int FIT_VALUE

FIT = 1;

public static final int CROP_VALUE

CROP = 2;

public static final int FILL_BOUNDS_VALUE

FILL_BOUNDS = 3;

Methods

public static LayoutProto.ContentScale values()

public static LayoutProto.ContentScale valueOf(java.lang.String name)

public final int getNumber()

public static LayoutProto.ContentScale valueOf(int value)

Deprecated: Use LayoutProto.ContentScale.forNumber(int) instead.

Parameters:

value: The number of the enum to look for.

Returns:

The enum associated with the given number.

public static LayoutProto.ContentScale forNumber(int value)

public static <any> internalGetValueMap()

public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()