Package com.android.aapt
Enum ConfigurationOuterClass.Configuration.ScreenLayoutSize
- java.lang.Object
-
- java.lang.Enum<ConfigurationOuterClass.Configuration.ScreenLayoutSize>
-
- com.android.aapt.ConfigurationOuterClass.Configuration.ScreenLayoutSize
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<ConfigurationOuterClass.Configuration.ScreenLayoutSize>
- Enclosing class:
- ConfigurationOuterClass.Configuration
public static enum ConfigurationOuterClass.Configuration.ScreenLayoutSize extends java.lang.Enum<ConfigurationOuterClass.Configuration.ScreenLayoutSize> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumaapt.pb.Configuration.ScreenLayoutSize
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SCREEN_LAYOUT_SIZE_LARGESCREEN_LAYOUT_SIZE_LARGE = 3;SCREEN_LAYOUT_SIZE_NORMALSCREEN_LAYOUT_SIZE_NORMAL = 2;SCREEN_LAYOUT_SIZE_SMALLSCREEN_LAYOUT_SIZE_SMALL = 1;SCREEN_LAYOUT_SIZE_UNSETSCREEN_LAYOUT_SIZE_UNSET = 0;SCREEN_LAYOUT_SIZE_XLARGESCREEN_LAYOUT_SIZE_XLARGE = 4;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intSCREEN_LAYOUT_SIZE_LARGE_VALUESCREEN_LAYOUT_SIZE_LARGE = 3;static intSCREEN_LAYOUT_SIZE_NORMAL_VALUESCREEN_LAYOUT_SIZE_NORMAL = 2;static intSCREEN_LAYOUT_SIZE_SMALL_VALUESCREEN_LAYOUT_SIZE_SMALL = 1;static intSCREEN_LAYOUT_SIZE_UNSET_VALUESCREEN_LAYOUT_SIZE_UNSET = 0;static intSCREEN_LAYOUT_SIZE_XLARGE_VALUESCREEN_LAYOUT_SIZE_XLARGE = 4;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ConfigurationOuterClass.Configuration.ScreenLayoutSizeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<ConfigurationOuterClass.Configuration.ScreenLayoutSize>internalGetValueMap()static ConfigurationOuterClass.Configuration.ScreenLayoutSizevalueOf(int value)Deprecated.static ConfigurationOuterClass.Configuration.ScreenLayoutSizevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ConfigurationOuterClass.Configuration.ScreenLayoutSizevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ConfigurationOuterClass.Configuration.ScreenLayoutSize[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCREEN_LAYOUT_SIZE_UNSET
public static final ConfigurationOuterClass.Configuration.ScreenLayoutSize SCREEN_LAYOUT_SIZE_UNSET
SCREEN_LAYOUT_SIZE_UNSET = 0;
-
SCREEN_LAYOUT_SIZE_SMALL
public static final ConfigurationOuterClass.Configuration.ScreenLayoutSize SCREEN_LAYOUT_SIZE_SMALL
SCREEN_LAYOUT_SIZE_SMALL = 1;
-
SCREEN_LAYOUT_SIZE_NORMAL
public static final ConfigurationOuterClass.Configuration.ScreenLayoutSize SCREEN_LAYOUT_SIZE_NORMAL
SCREEN_LAYOUT_SIZE_NORMAL = 2;
-
SCREEN_LAYOUT_SIZE_LARGE
public static final ConfigurationOuterClass.Configuration.ScreenLayoutSize SCREEN_LAYOUT_SIZE_LARGE
SCREEN_LAYOUT_SIZE_LARGE = 3;
-
SCREEN_LAYOUT_SIZE_XLARGE
public static final ConfigurationOuterClass.Configuration.ScreenLayoutSize SCREEN_LAYOUT_SIZE_XLARGE
SCREEN_LAYOUT_SIZE_XLARGE = 4;
-
UNRECOGNIZED
public static final ConfigurationOuterClass.Configuration.ScreenLayoutSize UNRECOGNIZED
-
-
Field Detail
-
SCREEN_LAYOUT_SIZE_UNSET_VALUE
public static final int SCREEN_LAYOUT_SIZE_UNSET_VALUE
SCREEN_LAYOUT_SIZE_UNSET = 0;- See Also:
- Constant Field Values
-
SCREEN_LAYOUT_SIZE_SMALL_VALUE
public static final int SCREEN_LAYOUT_SIZE_SMALL_VALUE
SCREEN_LAYOUT_SIZE_SMALL = 1;- See Also:
- Constant Field Values
-
SCREEN_LAYOUT_SIZE_NORMAL_VALUE
public static final int SCREEN_LAYOUT_SIZE_NORMAL_VALUE
SCREEN_LAYOUT_SIZE_NORMAL = 2;- See Also:
- Constant Field Values
-
SCREEN_LAYOUT_SIZE_LARGE_VALUE
public static final int SCREEN_LAYOUT_SIZE_LARGE_VALUE
SCREEN_LAYOUT_SIZE_LARGE = 3;- See Also:
- Constant Field Values
-
SCREEN_LAYOUT_SIZE_XLARGE_VALUE
public static final int SCREEN_LAYOUT_SIZE_XLARGE_VALUE
SCREEN_LAYOUT_SIZE_XLARGE = 4;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ConfigurationOuterClass.Configuration.ScreenLayoutSize[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConfigurationOuterClass.Configuration.ScreenLayoutSize c : ConfigurationOuterClass.Configuration.ScreenLayoutSize.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfigurationOuterClass.Configuration.ScreenLayoutSize valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static ConfigurationOuterClass.Configuration.ScreenLayoutSize valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static ConfigurationOuterClass.Configuration.ScreenLayoutSize forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<ConfigurationOuterClass.Configuration.ScreenLayoutSize> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static ConfigurationOuterClass.Configuration.ScreenLayoutSize valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-