Package org.robolectric.res.android
Enum ResTable_config.Type
- All Implemented Interfaces:
Serializable
,Comparable<ResTable_config.Type>
,java.lang.constant.Constable
- Enclosing class:
- ResTable_config
The different types of configs that can be present in a
ResTable_config
.
The ordering of these types is roughly the same as #isBetterThan
, but is not
guaranteed to be the same.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic ResTable_config.Type
Returns the enum constant of this type with the specified name.static ResTable_config.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MCC
-
MNC
-
LANGUAGE_STRING
-
LOCALE_SCRIPT_STRING
-
REGION_STRING
-
LOCALE_VARIANT_STRING
-
SCREEN_LAYOUT_DIRECTION
-
SMALLEST_SCREEN_WIDTH_DP
-
SCREEN_WIDTH_DP
-
SCREEN_HEIGHT_DP
-
SCREEN_LAYOUT_SIZE
-
SCREEN_LAYOUT_LONG
-
SCREEN_LAYOUT_ROUND
-
COLOR_MODE_WIDE_COLOR_GAMUT
-
COLOR_MODE_HDR
-
ORIENTATION
-
UI_MODE_TYPE
-
UI_MODE_NIGHT
-
DENSITY_DPI
-
TOUCHSCREEN
-
KEYBOARD_HIDDEN
-
KEYBOARD
-
NAVIGATION_HIDDEN
-
NAVIGATION
-
SCREEN_SIZE
-
SDK_VERSION
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-