Package org.robolectric.res.android
Enum ResTable_config.Type
- java.lang.Object
-
- java.lang.Enum<ResTable_config.Type>
-
- org.robolectric.res.android.ResTable_config.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<ResTable_config.Type>
- Enclosing class:
- ResTable_config
public static enum ResTable_config.Type extends Enum<ResTable_config.Type>
The different types of configs that can be present in aResTable_config
. The ordering of these types is roughly the same as#isBetterThan
, but is not guaranteed to be the same.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResTable_config.Type
valueOf(String name)
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 Detail
-
MCC
public static final ResTable_config.Type MCC
-
MNC
public static final ResTable_config.Type MNC
-
LANGUAGE_STRING
public static final ResTable_config.Type LANGUAGE_STRING
-
LOCALE_SCRIPT_STRING
public static final ResTable_config.Type LOCALE_SCRIPT_STRING
-
REGION_STRING
public static final ResTable_config.Type REGION_STRING
-
LOCALE_VARIANT_STRING
public static final ResTable_config.Type LOCALE_VARIANT_STRING
-
SCREEN_LAYOUT_DIRECTION
public static final ResTable_config.Type SCREEN_LAYOUT_DIRECTION
-
SMALLEST_SCREEN_WIDTH_DP
public static final ResTable_config.Type SMALLEST_SCREEN_WIDTH_DP
-
SCREEN_WIDTH_DP
public static final ResTable_config.Type SCREEN_WIDTH_DP
-
SCREEN_HEIGHT_DP
public static final ResTable_config.Type SCREEN_HEIGHT_DP
-
SCREEN_LAYOUT_SIZE
public static final ResTable_config.Type SCREEN_LAYOUT_SIZE
-
SCREEN_LAYOUT_LONG
public static final ResTable_config.Type SCREEN_LAYOUT_LONG
-
SCREEN_LAYOUT_ROUND
public static final ResTable_config.Type SCREEN_LAYOUT_ROUND
-
COLOR_MODE_WIDE_COLOR_GAMUT
public static final ResTable_config.Type COLOR_MODE_WIDE_COLOR_GAMUT
-
COLOR_MODE_HDR
public static final ResTable_config.Type COLOR_MODE_HDR
-
ORIENTATION
public static final ResTable_config.Type ORIENTATION
-
UI_MODE_TYPE
public static final ResTable_config.Type UI_MODE_TYPE
-
UI_MODE_NIGHT
public static final ResTable_config.Type UI_MODE_NIGHT
-
DENSITY_DPI
public static final ResTable_config.Type DENSITY_DPI
-
TOUCHSCREEN
public static final ResTable_config.Type TOUCHSCREEN
-
KEYBOARD_HIDDEN
public static final ResTable_config.Type KEYBOARD_HIDDEN
-
KEYBOARD
public static final ResTable_config.Type KEYBOARD
-
NAVIGATION_HIDDEN
public static final ResTable_config.Type NAVIGATION_HIDDEN
-
NAVIGATION
public static final ResTable_config.Type NAVIGATION
-
SCREEN_SIZE
public static final ResTable_config.Type SCREEN_SIZE
-
SDK_VERSION
public static final ResTable_config.Type SDK_VERSION
-
-
Method Detail
-
values
public static ResTable_config.Type[] 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 (ResTable_config.Type c : ResTable_config.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResTable_config.Type valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-