Package org.robolectric.res.android
Class AConfiguration
java.lang.Object
org.robolectric.res.android.AConfiguration
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Bit mask for wide color gamut and HDR configurations.static final int
Bit mask for density configuration.static final int
Density: any density.static final int
Density: default density.static final int
Density: value corresponding to the hdpi resource qualifier.static final int
Density: value corresponding to the ldpi resource qualifier.static final int
Density: value corresponding to the mdpi resource qualifier.static final int
Density: no density specified.static final int
Density: value corresponding to the tvdpi resource qualifier.static final int
Density: value corresponding to the xhdpi resource qualifier.static final int
Density: value corresponding to the xxhdpi resource qualifier.static final int
Density: value corresponding to the xxxhdpi resource qualifier.static final int
HDR: not specified.static final int
HDR: value that corresponds to lowdr resource qualifier specified.static final int
HDR: value that corresponds to highdr resource qualifier specified.static final int
Bit mask for keyboard configuration.static final int
Keyboard: value corresponding to the 12key resource qualifier.static final int
Keyboard: not specified.static final int
Bit mask for keyboardHidden configuration.static final int
Keyboard: value corresponding to the nokeys resource qualifier.static final int
Keyboard: value corresponding to the qwerty resource qualifier.static final int
Keyboard availability: not specified.static final int
Keyboard availability: value corresponding to the keysexposed resource qualifier.static final int
Keyboard availability: value corresponding to the keyssoft resource qualifier.static final int
Keyboard availability: value corresponding to the keyshidden resource qualifier.static final int
Bit mask for layout direction configuration.static final int
Layout direction: not specified.static final int
Layout direction: value that corresponds to ldltr resource qualifier specified.static final int
Layout direction: value that corresponds to ldrtl resource qualifier specified.static final int
Bit mask for locale configuration.static final int
Bit mask for mcc configuration.static final int
Bit mask for mnc configuration.static final int
Constant used to to represent MNC (Mobile Network Code) zero.static final int
Navigation availability: not specified.static final int
Navigation availability: value corresponding to the navexposed resource qualifier.static final int
Navigation availability: value corresponding to the navhidden resource qualifier.static final int
Bit mask for navigation configuration.static final int
Navigation: not specified.static final int
Navigation: value corresponding to the dpad resource qualifier.static final int
Navigation: value corresponding to the nonav resource qualifier.static final int
Navigation: value corresponding to the trackball resource qualifier.static final int
Navigation: value corresponding to the wheel resource qualifier.static final int
Bit mask for orientation configuration.static final int
Orientation: not specified.static final int
Orientation: value corresponding to the land resource qualifier.static final int
Orientation: value corresponding to the port resource qualifier.static final int
Deprecated.Not currently supported or used.static final int
Screen height DPI: not specified.static final int
Bit mask for screen layout configuration.static final int
static final int
Bit mask for screen size configuration.static final int
Screen width DPI: not specified.static final int
Screen layout: not specified.static final int
Screen layout: value that corresponds to the notlong resource qualifier.static final int
Screen layout: value that corresponds to the long resource qualifier.static final int
static final int
static final int
static final int
Screen size: not specified.static final int
Screen size: value indicating the screen is at least approximately 480x640 dp units, corresponding to the large resource qualifier.static final int
Screen size: value indicating the screen is at least approximately 320x470 dp units, corresponding to the normal resource qualifier.static final int
Screen size: value indicating the screen is at least approximately 320x426 dp units, corresponding to the small resource qualifier.static final int
Screen size: value indicating the screen is at least approximately 720x960 dp units, corresponding to the xlarge resource qualifier.static final int
Bit mask for smallest screen width configuration.static final int
Smallest screen width DPI: not specified.static final int
Bit mask for touchscreen configuration.static final int
Touchscreen: not specified.static final int
Touchscreen: value corresponding to the finger resource qualifier.static final int
Touchscreen: value corresponding to the notouch resource qualifier.static final int
Deprecated.Not currently supported or used.static final int
Bit mask for ui mode configuration.static final int
UI night mode: not specified.static final int
UI night mode: value that corresponds to notnight resource qualifier specified.static final int
UI night mode: value that corresponds to night resource qualifier specified.static final int
UI mode: not specified.static final int
UI mode: value that corresponds to appliance resource qualifier specified.static final int
UI mode: value that corresponds to car resource qualifier specified.static final int
UI mode: value that corresponds to desk resource qualifier specified.static final int
UI mode: value that corresponds to no UI mode type resource qualifier specified.static final int
UI mode: value that corresponds to television resource qualifier specified.static final int
UI mode: value that corresponds to vr resource qualifier specified.static final int
UI mode: value that corresponds to watch resource qualifier specified.static final int
Bit mask for platform version configuration.static final int
Wide color gamut: not specified.static final int
Wide color gamut: value that corresponds to no nowidecg resource qualifier specified.static final int
Wide color gamut: value that corresponds to widecg resource qualifier specified. -
Constructor Summary
-
Method Summary
-
Field Details
-
ACONFIGURATION_ORIENTATION_ANY
public static final int ACONFIGURATION_ORIENTATION_ANYOrientation: not specified.- See Also:
-
ACONFIGURATION_ORIENTATION_PORT
public static final int ACONFIGURATION_ORIENTATION_PORTOrientation: value corresponding to the port resource qualifier.- See Also:
-
ACONFIGURATION_ORIENTATION_LAND
public static final int ACONFIGURATION_ORIENTATION_LANDOrientation: value corresponding to the land resource qualifier.- See Also:
-
ACONFIGURATION_ORIENTATION_SQUARE
Deprecated.Not currently supported or used.- See Also:
-
ACONFIGURATION_TOUCHSCREEN_ANY
public static final int ACONFIGURATION_TOUCHSCREEN_ANYTouchscreen: not specified.- See Also:
-
ACONFIGURATION_TOUCHSCREEN_NOTOUCH
public static final int ACONFIGURATION_TOUCHSCREEN_NOTOUCHTouchscreen: value corresponding to the notouch resource qualifier.- See Also:
-
ACONFIGURATION_TOUCHSCREEN_STYLUS
Deprecated.Not currently supported or used.- See Also:
-
ACONFIGURATION_TOUCHSCREEN_FINGER
public static final int ACONFIGURATION_TOUCHSCREEN_FINGERTouchscreen: value corresponding to the finger resource qualifier.- See Also:
-
ACONFIGURATION_DENSITY_DEFAULT
public static final int ACONFIGURATION_DENSITY_DEFAULTDensity: default density.- See Also:
-
ACONFIGURATION_DENSITY_LOW
public static final int ACONFIGURATION_DENSITY_LOWDensity: value corresponding to the ldpi resource qualifier.- See Also:
-
ACONFIGURATION_DENSITY_MEDIUM
public static final int ACONFIGURATION_DENSITY_MEDIUMDensity: value corresponding to the mdpi resource qualifier.- See Also:
-
ACONFIGURATION_DENSITY_TV
public static final int ACONFIGURATION_DENSITY_TVDensity: value corresponding to the tvdpi resource qualifier.- See Also:
-
ACONFIGURATION_DENSITY_HIGH
public static final int ACONFIGURATION_DENSITY_HIGHDensity: value corresponding to the hdpi resource qualifier.- See Also:
-
ACONFIGURATION_DENSITY_XHIGH
public static final int ACONFIGURATION_DENSITY_XHIGHDensity: value corresponding to the xhdpi resource qualifier.- See Also:
-
ACONFIGURATION_DENSITY_XXHIGH
public static final int ACONFIGURATION_DENSITY_XXHIGHDensity: value corresponding to the xxhdpi resource qualifier.- See Also:
-
ACONFIGURATION_DENSITY_XXXHIGH
public static final int ACONFIGURATION_DENSITY_XXXHIGHDensity: value corresponding to the xxxhdpi resource qualifier.- See Also:
-
ACONFIGURATION_DENSITY_ANY
public static final int ACONFIGURATION_DENSITY_ANYDensity: any density.- See Also:
-
ACONFIGURATION_DENSITY_NONE
public static final int ACONFIGURATION_DENSITY_NONEDensity: no density specified.- See Also:
-
ACONFIGURATION_KEYBOARD_ANY
public static final int ACONFIGURATION_KEYBOARD_ANYKeyboard: not specified.- See Also:
-
ACONFIGURATION_KEYBOARD_NOKEYS
public static final int ACONFIGURATION_KEYBOARD_NOKEYSKeyboard: value corresponding to the nokeys resource qualifier.- See Also:
-
ACONFIGURATION_KEYBOARD_QWERTY
public static final int ACONFIGURATION_KEYBOARD_QWERTYKeyboard: value corresponding to the qwerty resource qualifier.- See Also:
-
ACONFIGURATION_KEYBOARD_12KEY
public static final int ACONFIGURATION_KEYBOARD_12KEYKeyboard: value corresponding to the 12key resource qualifier.- See Also:
-
ACONFIGURATION_NAVIGATION_ANY
public static final int ACONFIGURATION_NAVIGATION_ANYNavigation: not specified.- See Also:
-
ACONFIGURATION_NAVIGATION_NONAV
public static final int ACONFIGURATION_NAVIGATION_NONAVNavigation: value corresponding to the nonav resource qualifier.- See Also:
-
ACONFIGURATION_NAVIGATION_DPAD
public static final int ACONFIGURATION_NAVIGATION_DPADNavigation: value corresponding to the dpad resource qualifier.- See Also:
-
ACONFIGURATION_NAVIGATION_TRACKBALL
public static final int ACONFIGURATION_NAVIGATION_TRACKBALLNavigation: value corresponding to the trackball resource qualifier.- See Also:
-
ACONFIGURATION_NAVIGATION_WHEEL
public static final int ACONFIGURATION_NAVIGATION_WHEELNavigation: value corresponding to the wheel resource qualifier.- See Also:
-
ACONFIGURATION_KEYSHIDDEN_ANY
public static final int ACONFIGURATION_KEYSHIDDEN_ANYKeyboard availability: not specified.- See Also:
-
ACONFIGURATION_KEYSHIDDEN_NO
public static final int ACONFIGURATION_KEYSHIDDEN_NOKeyboard availability: value corresponding to the keysexposed resource qualifier.- See Also:
-
ACONFIGURATION_KEYSHIDDEN_YES
public static final int ACONFIGURATION_KEYSHIDDEN_YESKeyboard availability: value corresponding to the keyshidden resource qualifier.- See Also:
-
ACONFIGURATION_KEYSHIDDEN_SOFT
public static final int ACONFIGURATION_KEYSHIDDEN_SOFTKeyboard availability: value corresponding to the keyssoft resource qualifier.- See Also:
-
ACONFIGURATION_NAVHIDDEN_ANY
public static final int ACONFIGURATION_NAVHIDDEN_ANYNavigation availability: not specified.- See Also:
-
ACONFIGURATION_NAVHIDDEN_NO
public static final int ACONFIGURATION_NAVHIDDEN_NONavigation availability: value corresponding to the navexposed resource qualifier.- See Also:
-
ACONFIGURATION_NAVHIDDEN_YES
public static final int ACONFIGURATION_NAVHIDDEN_YESNavigation availability: value corresponding to the navhidden resource qualifier.- See Also:
-
ACONFIGURATION_SCREENSIZE_ANY
public static final int ACONFIGURATION_SCREENSIZE_ANYScreen size: not specified.- See Also:
-
ACONFIGURATION_SCREENSIZE_SMALL
public static final int ACONFIGURATION_SCREENSIZE_SMALLScreen size: value indicating the screen is at least approximately 320x426 dp units, corresponding to the small resource qualifier.- See Also:
-
ACONFIGURATION_SCREENSIZE_NORMAL
public static final int ACONFIGURATION_SCREENSIZE_NORMALScreen size: value indicating the screen is at least approximately 320x470 dp units, corresponding to the normal resource qualifier.- See Also:
-
ACONFIGURATION_SCREENSIZE_LARGE
public static final int ACONFIGURATION_SCREENSIZE_LARGEScreen size: value indicating the screen is at least approximately 480x640 dp units, corresponding to the large resource qualifier.- See Also:
-
ACONFIGURATION_SCREENSIZE_XLARGE
public static final int ACONFIGURATION_SCREENSIZE_XLARGEScreen size: value indicating the screen is at least approximately 720x960 dp units, corresponding to the xlarge resource qualifier.- See Also:
-
ACONFIGURATION_SCREENLONG_ANY
public static final int ACONFIGURATION_SCREENLONG_ANYScreen layout: not specified.- See Also:
-
ACONFIGURATION_SCREENLONG_NO
public static final int ACONFIGURATION_SCREENLONG_NOScreen layout: value that corresponds to the notlong resource qualifier.- See Also:
-
ACONFIGURATION_SCREENLONG_YES
public static final int ACONFIGURATION_SCREENLONG_YESScreen layout: value that corresponds to the long resource qualifier.- See Also:
-
ACONFIGURATION_SCREENROUND_ANY
public static final int ACONFIGURATION_SCREENROUND_ANY- See Also:
-
ACONFIGURATION_SCREENROUND_NO
public static final int ACONFIGURATION_SCREENROUND_NO- See Also:
-
ACONFIGURATION_SCREENROUND_YES
public static final int ACONFIGURATION_SCREENROUND_YES- See Also:
-
ACONFIGURATION_WIDE_COLOR_GAMUT_ANY
public static final int ACONFIGURATION_WIDE_COLOR_GAMUT_ANYWide color gamut: not specified.- See Also:
-
ACONFIGURATION_WIDE_COLOR_GAMUT_NO
public static final int ACONFIGURATION_WIDE_COLOR_GAMUT_NOWide color gamut: value that corresponds to no nowidecg resource qualifier specified.- See Also:
-
ACONFIGURATION_WIDE_COLOR_GAMUT_YES
public static final int ACONFIGURATION_WIDE_COLOR_GAMUT_YESWide color gamut: value that corresponds to widecg resource qualifier specified.- See Also:
-
ACONFIGURATION_HDR_ANY
public static final int ACONFIGURATION_HDR_ANYHDR: not specified.- See Also:
-
ACONFIGURATION_HDR_NO
public static final int ACONFIGURATION_HDR_NOHDR: value that corresponds to lowdr resource qualifier specified.- See Also:
-
ACONFIGURATION_HDR_YES
public static final int ACONFIGURATION_HDR_YESHDR: value that corresponds to highdr resource qualifier specified.- See Also:
-
ACONFIGURATION_UI_MODE_TYPE_ANY
public static final int ACONFIGURATION_UI_MODE_TYPE_ANYUI mode: not specified.- See Also:
-
ACONFIGURATION_UI_MODE_TYPE_NORMAL
public static final int ACONFIGURATION_UI_MODE_TYPE_NORMALUI mode: value that corresponds to no UI mode type resource qualifier specified.- See Also:
-
ACONFIGURATION_UI_MODE_TYPE_DESK
public static final int ACONFIGURATION_UI_MODE_TYPE_DESKUI mode: value that corresponds to desk resource qualifier specified.- See Also:
-
ACONFIGURATION_UI_MODE_TYPE_CAR
public static final int ACONFIGURATION_UI_MODE_TYPE_CARUI mode: value that corresponds to car resource qualifier specified.- See Also:
-
ACONFIGURATION_UI_MODE_TYPE_TELEVISION
public static final int ACONFIGURATION_UI_MODE_TYPE_TELEVISIONUI mode: value that corresponds to television resource qualifier specified.- See Also:
-
ACONFIGURATION_UI_MODE_TYPE_APPLIANCE
public static final int ACONFIGURATION_UI_MODE_TYPE_APPLIANCEUI mode: value that corresponds to appliance resource qualifier specified.- See Also:
-
ACONFIGURATION_UI_MODE_TYPE_WATCH
public static final int ACONFIGURATION_UI_MODE_TYPE_WATCHUI mode: value that corresponds to watch resource qualifier specified.- See Also:
-
ACONFIGURATION_UI_MODE_TYPE_VR_HEADSET
public static final int ACONFIGURATION_UI_MODE_TYPE_VR_HEADSETUI mode: value that corresponds to vr resource qualifier specified.- See Also:
-
ACONFIGURATION_UI_MODE_NIGHT_ANY
public static final int ACONFIGURATION_UI_MODE_NIGHT_ANYUI night mode: not specified.- See Also:
-
ACONFIGURATION_UI_MODE_NIGHT_NO
public static final int ACONFIGURATION_UI_MODE_NIGHT_NOUI night mode: value that corresponds to notnight resource qualifier specified.- See Also:
-
ACONFIGURATION_UI_MODE_NIGHT_YES
public static final int ACONFIGURATION_UI_MODE_NIGHT_YESUI night mode: value that corresponds to night resource qualifier specified.- See Also:
-
ACONFIGURATION_SCREEN_WIDTH_DP_ANY
public static final int ACONFIGURATION_SCREEN_WIDTH_DP_ANYScreen width DPI: not specified.- See Also:
-
ACONFIGURATION_SCREEN_HEIGHT_DP_ANY
public static final int ACONFIGURATION_SCREEN_HEIGHT_DP_ANYScreen height DPI: not specified.- See Also:
-
ACONFIGURATION_SMALLEST_SCREEN_WIDTH_DP_ANY
public static final int ACONFIGURATION_SMALLEST_SCREEN_WIDTH_DP_ANYSmallest screen width DPI: not specified.- See Also:
-
ACONFIGURATION_LAYOUTDIR_ANY
public static final int ACONFIGURATION_LAYOUTDIR_ANYLayout direction: not specified.- See Also:
-
ACONFIGURATION_LAYOUTDIR_LTR
public static final int ACONFIGURATION_LAYOUTDIR_LTRLayout direction: value that corresponds to ldltr resource qualifier specified.- See Also:
-
ACONFIGURATION_LAYOUTDIR_RTL
public static final int ACONFIGURATION_LAYOUTDIR_RTLLayout direction: value that corresponds to ldrtl resource qualifier specified.- See Also:
-
ACONFIGURATION_MCC
public static final int ACONFIGURATION_MCCBit mask for mcc configuration.- See Also:
-
ACONFIGURATION_MNC
public static final int ACONFIGURATION_MNCBit mask for mnc configuration.- See Also:
-
ACONFIGURATION_LOCALE
public static final int ACONFIGURATION_LOCALEBit mask for locale configuration.- See Also:
-
ACONFIGURATION_TOUCHSCREEN
public static final int ACONFIGURATION_TOUCHSCREENBit mask for touchscreen configuration.- See Also:
-
ACONFIGURATION_KEYBOARD
public static final int ACONFIGURATION_KEYBOARDBit mask for keyboard configuration.- See Also:
-
ACONFIGURATION_KEYBOARD_HIDDEN
public static final int ACONFIGURATION_KEYBOARD_HIDDENBit mask for keyboardHidden configuration.- See Also:
-
ACONFIGURATION_NAVIGATION
public static final int ACONFIGURATION_NAVIGATIONBit mask for navigation configuration.- See Also:
-
ACONFIGURATION_ORIENTATION
public static final int ACONFIGURATION_ORIENTATIONBit mask for orientation configuration.- See Also:
-
ACONFIGURATION_DENSITY
public static final int ACONFIGURATION_DENSITYBit mask for density configuration.- See Also:
-
ACONFIGURATION_SCREEN_SIZE
public static final int ACONFIGURATION_SCREEN_SIZEBit mask for screen size configuration.- See Also:
-
ACONFIGURATION_VERSION
public static final int ACONFIGURATION_VERSIONBit mask for platform version configuration.- See Also:
-
ACONFIGURATION_SCREEN_LAYOUT
public static final int ACONFIGURATION_SCREEN_LAYOUTBit mask for screen layout configuration.- See Also:
-
ACONFIGURATION_UI_MODE
public static final int ACONFIGURATION_UI_MODEBit mask for ui mode configuration.- See Also:
-
ACONFIGURATION_SMALLEST_SCREEN_SIZE
public static final int ACONFIGURATION_SMALLEST_SCREEN_SIZEBit mask for smallest screen width configuration.- See Also:
-
ACONFIGURATION_LAYOUTDIR
public static final int ACONFIGURATION_LAYOUTDIRBit mask for layout direction configuration.- See Also:
-
ACONFIGURATION_SCREEN_ROUND
public static final int ACONFIGURATION_SCREEN_ROUND- See Also:
-
ACONFIGURATION_COLOR_MODE
public static final int ACONFIGURATION_COLOR_MODEBit mask for wide color gamut and HDR configurations.- See Also:
-
ACONFIGURATION_MNC_ZERO
public static final int ACONFIGURATION_MNC_ZEROConstant used to to represent MNC (Mobile Network Code) zero. 0 cannot be used, since it is used to represent an undefined MNC.- See Also:
-
-
Constructor Details
-
AConfiguration
public AConfiguration()
-