Class AConfiguration

java.lang.Object
org.robolectric.res.android.AConfiguration

public class AConfiguration extends Object
  • Field Details

    • ACONFIGURATION_ORIENTATION_ANY

      public static final int ACONFIGURATION_ORIENTATION_ANY
      Orientation: not specified.
      See Also:
    • ACONFIGURATION_ORIENTATION_PORT

      public static final int ACONFIGURATION_ORIENTATION_PORT
      Orientation: value corresponding to the port resource qualifier.
      See Also:
    • ACONFIGURATION_ORIENTATION_LAND

      public static final int ACONFIGURATION_ORIENTATION_LAND
      Orientation: value corresponding to the land resource qualifier.
      See Also:
    • ACONFIGURATION_ORIENTATION_SQUARE

      @Deprecated public static final int ACONFIGURATION_ORIENTATION_SQUARE
      Deprecated.
      Not currently supported or used.
      See Also:
    • ACONFIGURATION_TOUCHSCREEN_ANY

      public static final int ACONFIGURATION_TOUCHSCREEN_ANY
      Touchscreen: not specified.
      See Also:
    • ACONFIGURATION_TOUCHSCREEN_NOTOUCH

      public static final int ACONFIGURATION_TOUCHSCREEN_NOTOUCH
      Touchscreen: value corresponding to the notouch resource qualifier.
      See Also:
    • ACONFIGURATION_TOUCHSCREEN_STYLUS

      @Deprecated public static final int ACONFIGURATION_TOUCHSCREEN_STYLUS
      Deprecated.
      Not currently supported or used.
      See Also:
    • ACONFIGURATION_TOUCHSCREEN_FINGER

      public static final int ACONFIGURATION_TOUCHSCREEN_FINGER
      Touchscreen: value corresponding to the finger resource qualifier.
      See Also:
    • ACONFIGURATION_DENSITY_DEFAULT

      public static final int ACONFIGURATION_DENSITY_DEFAULT
      Density: default density.
      See Also:
    • ACONFIGURATION_DENSITY_LOW

      public static final int ACONFIGURATION_DENSITY_LOW
      Density: value corresponding to the ldpi resource qualifier.
      See Also:
    • ACONFIGURATION_DENSITY_MEDIUM

      public static final int ACONFIGURATION_DENSITY_MEDIUM
      Density: value corresponding to the mdpi resource qualifier.
      See Also:
    • ACONFIGURATION_DENSITY_TV

      public static final int ACONFIGURATION_DENSITY_TV
      Density: value corresponding to the tvdpi resource qualifier.
      See Also:
    • ACONFIGURATION_DENSITY_HIGH

      public static final int ACONFIGURATION_DENSITY_HIGH
      Density: value corresponding to the hdpi resource qualifier.
      See Also:
    • ACONFIGURATION_DENSITY_XHIGH

      public static final int ACONFIGURATION_DENSITY_XHIGH
      Density: value corresponding to the xhdpi resource qualifier.
      See Also:
    • ACONFIGURATION_DENSITY_XXHIGH

      public static final int ACONFIGURATION_DENSITY_XXHIGH
      Density: value corresponding to the xxhdpi resource qualifier.
      See Also:
    • ACONFIGURATION_DENSITY_XXXHIGH

      public static final int ACONFIGURATION_DENSITY_XXXHIGH
      Density: value corresponding to the xxxhdpi resource qualifier.
      See Also:
    • ACONFIGURATION_DENSITY_ANY

      public static final int ACONFIGURATION_DENSITY_ANY
      Density: any density.
      See Also:
    • ACONFIGURATION_DENSITY_NONE

      public static final int ACONFIGURATION_DENSITY_NONE
      Density: no density specified.
      See Also:
    • ACONFIGURATION_KEYBOARD_ANY

      public static final int ACONFIGURATION_KEYBOARD_ANY
      Keyboard: not specified.
      See Also:
    • ACONFIGURATION_KEYBOARD_NOKEYS

      public static final int ACONFIGURATION_KEYBOARD_NOKEYS
      Keyboard: value corresponding to the nokeys resource qualifier.
      See Also:
    • ACONFIGURATION_KEYBOARD_QWERTY

      public static final int ACONFIGURATION_KEYBOARD_QWERTY
      Keyboard: value corresponding to the qwerty resource qualifier.
      See Also:
    • ACONFIGURATION_KEYBOARD_12KEY

      public static final int ACONFIGURATION_KEYBOARD_12KEY
      Keyboard: value corresponding to the 12key resource qualifier.
      See Also:
    • ACONFIGURATION_NAVIGATION_ANY

      public static final int ACONFIGURATION_NAVIGATION_ANY
      Navigation: not specified.
      See Also:
    • ACONFIGURATION_NAVIGATION_NONAV

      public static final int ACONFIGURATION_NAVIGATION_NONAV
      Navigation: value corresponding to the nonav resource qualifier.
      See Also:
    • ACONFIGURATION_NAVIGATION_DPAD

      public static final int ACONFIGURATION_NAVIGATION_DPAD
      Navigation: value corresponding to the dpad resource qualifier.
      See Also:
    • ACONFIGURATION_NAVIGATION_TRACKBALL

      public static final int ACONFIGURATION_NAVIGATION_TRACKBALL
      Navigation: value corresponding to the trackball resource qualifier.
      See Also:
    • ACONFIGURATION_NAVIGATION_WHEEL

      public static final int ACONFIGURATION_NAVIGATION_WHEEL
      Navigation: value corresponding to the wheel resource qualifier.
      See Also:
    • ACONFIGURATION_KEYSHIDDEN_ANY

      public static final int ACONFIGURATION_KEYSHIDDEN_ANY
      Keyboard availability: not specified.
      See Also:
    • ACONFIGURATION_KEYSHIDDEN_NO

      public static final int ACONFIGURATION_KEYSHIDDEN_NO
      Keyboard availability: value corresponding to the keysexposed resource qualifier.
      See Also:
    • ACONFIGURATION_KEYSHIDDEN_YES

      public static final int ACONFIGURATION_KEYSHIDDEN_YES
      Keyboard availability: value corresponding to the keyshidden resource qualifier.
      See Also:
    • ACONFIGURATION_KEYSHIDDEN_SOFT

      public static final int ACONFIGURATION_KEYSHIDDEN_SOFT
      Keyboard availability: value corresponding to the keyssoft resource qualifier.
      See Also:
    • ACONFIGURATION_NAVHIDDEN_ANY

      public static final int ACONFIGURATION_NAVHIDDEN_ANY
      Navigation availability: not specified.
      See Also:
    • ACONFIGURATION_NAVHIDDEN_NO

      public static final int ACONFIGURATION_NAVHIDDEN_NO
      Navigation availability: value corresponding to the navexposed resource qualifier.
      See Also:
    • ACONFIGURATION_NAVHIDDEN_YES

      public static final int ACONFIGURATION_NAVHIDDEN_YES
      Navigation availability: value corresponding to the navhidden resource qualifier.
      See Also:
    • ACONFIGURATION_SCREENSIZE_ANY

      public static final int ACONFIGURATION_SCREENSIZE_ANY
      Screen size: not specified.
      See Also:
    • ACONFIGURATION_SCREENSIZE_SMALL

      public static final int ACONFIGURATION_SCREENSIZE_SMALL
      Screen 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_NORMAL
      Screen 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_LARGE
      Screen 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_XLARGE
      Screen 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_ANY
      Screen layout: not specified.
      See Also:
    • ACONFIGURATION_SCREENLONG_NO

      public static final int ACONFIGURATION_SCREENLONG_NO
      Screen layout: value that corresponds to the notlong resource qualifier.
      See Also:
    • ACONFIGURATION_SCREENLONG_YES

      public static final int ACONFIGURATION_SCREENLONG_YES
      Screen 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_ANY
      Wide color gamut: not specified.
      See Also:
    • ACONFIGURATION_WIDE_COLOR_GAMUT_NO

      public static final int ACONFIGURATION_WIDE_COLOR_GAMUT_NO
      Wide 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_YES
      Wide color gamut: value that corresponds to widecg resource qualifier specified.
      See Also:
    • ACONFIGURATION_HDR_ANY

      public static final int ACONFIGURATION_HDR_ANY
      HDR: not specified.
      See Also:
    • ACONFIGURATION_HDR_NO

      public static final int ACONFIGURATION_HDR_NO
      HDR: value that corresponds to lowdr resource qualifier specified.
      See Also:
    • ACONFIGURATION_HDR_YES

      public static final int ACONFIGURATION_HDR_YES
      HDR: value that corresponds to highdr resource qualifier specified.
      See Also:
    • ACONFIGURATION_UI_MODE_TYPE_ANY

      public static final int ACONFIGURATION_UI_MODE_TYPE_ANY
      UI mode: not specified.
      See Also:
    • ACONFIGURATION_UI_MODE_TYPE_NORMAL

      public static final int ACONFIGURATION_UI_MODE_TYPE_NORMAL
      UI 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_DESK
      UI mode: value that corresponds to desk resource qualifier specified.
      See Also:
    • ACONFIGURATION_UI_MODE_TYPE_CAR

      public static final int ACONFIGURATION_UI_MODE_TYPE_CAR
      UI mode: value that corresponds to car resource qualifier specified.
      See Also:
    • ACONFIGURATION_UI_MODE_TYPE_TELEVISION

      public static final int ACONFIGURATION_UI_MODE_TYPE_TELEVISION
      UI mode: value that corresponds to television resource qualifier specified.
      See Also:
    • ACONFIGURATION_UI_MODE_TYPE_APPLIANCE

      public static final int ACONFIGURATION_UI_MODE_TYPE_APPLIANCE
      UI mode: value that corresponds to appliance resource qualifier specified.
      See Also:
    • ACONFIGURATION_UI_MODE_TYPE_WATCH

      public static final int ACONFIGURATION_UI_MODE_TYPE_WATCH
      UI 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_HEADSET
      UI mode: value that corresponds to vr resource qualifier specified.
      See Also:
    • ACONFIGURATION_UI_MODE_NIGHT_ANY

      public static final int ACONFIGURATION_UI_MODE_NIGHT_ANY
      UI night mode: not specified.
      See Also:
    • ACONFIGURATION_UI_MODE_NIGHT_NO

      public static final int ACONFIGURATION_UI_MODE_NIGHT_NO
      UI 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_YES
      UI 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_ANY
      Screen width DPI: not specified.
      See Also:
    • ACONFIGURATION_SCREEN_HEIGHT_DP_ANY

      public static final int ACONFIGURATION_SCREEN_HEIGHT_DP_ANY
      Screen height DPI: not specified.
      See Also:
    • ACONFIGURATION_SMALLEST_SCREEN_WIDTH_DP_ANY

      public static final int ACONFIGURATION_SMALLEST_SCREEN_WIDTH_DP_ANY
      Smallest screen width DPI: not specified.
      See Also:
    • ACONFIGURATION_LAYOUTDIR_ANY

      public static final int ACONFIGURATION_LAYOUTDIR_ANY
      Layout direction: not specified.
      See Also:
    • ACONFIGURATION_LAYOUTDIR_LTR

      public static final int ACONFIGURATION_LAYOUTDIR_LTR
      Layout direction: value that corresponds to ldltr resource qualifier specified.
      See Also:
    • ACONFIGURATION_LAYOUTDIR_RTL

      public static final int ACONFIGURATION_LAYOUTDIR_RTL
      Layout direction: value that corresponds to ldrtl resource qualifier specified.
      See Also:
    • ACONFIGURATION_MCC

      public static final int ACONFIGURATION_MCC
      Bit mask for mcc configuration.
      See Also:
    • ACONFIGURATION_MNC

      public static final int ACONFIGURATION_MNC
      Bit mask for mnc configuration.
      See Also:
    • ACONFIGURATION_LOCALE

      public static final int ACONFIGURATION_LOCALE
      Bit mask for locale configuration.
      See Also:
    • ACONFIGURATION_TOUCHSCREEN

      public static final int ACONFIGURATION_TOUCHSCREEN
      Bit mask for touchscreen configuration.
      See Also:
    • ACONFIGURATION_KEYBOARD

      public static final int ACONFIGURATION_KEYBOARD
      Bit mask for keyboard configuration.
      See Also:
    • ACONFIGURATION_KEYBOARD_HIDDEN

      public static final int ACONFIGURATION_KEYBOARD_HIDDEN
      Bit mask for keyboardHidden configuration.
      See Also:
    • ACONFIGURATION_NAVIGATION

      public static final int ACONFIGURATION_NAVIGATION
      Bit mask for navigation configuration.
      See Also:
    • ACONFIGURATION_ORIENTATION

      public static final int ACONFIGURATION_ORIENTATION
      Bit mask for orientation configuration.
      See Also:
    • ACONFIGURATION_DENSITY

      public static final int ACONFIGURATION_DENSITY
      Bit mask for density configuration.
      See Also:
    • ACONFIGURATION_SCREEN_SIZE

      public static final int ACONFIGURATION_SCREEN_SIZE
      Bit mask for screen size configuration.
      See Also:
    • ACONFIGURATION_VERSION

      public static final int ACONFIGURATION_VERSION
      Bit mask for platform version configuration.
      See Also:
    • ACONFIGURATION_SCREEN_LAYOUT

      public static final int ACONFIGURATION_SCREEN_LAYOUT
      Bit mask for screen layout configuration.
      See Also:
    • ACONFIGURATION_UI_MODE

      public static final int ACONFIGURATION_UI_MODE
      Bit mask for ui mode configuration.
      See Also:
    • ACONFIGURATION_SMALLEST_SCREEN_SIZE

      public static final int ACONFIGURATION_SMALLEST_SCREEN_SIZE
      Bit mask for smallest screen width configuration.
      See Also:
    • ACONFIGURATION_LAYOUTDIR

      public static final int ACONFIGURATION_LAYOUTDIR
      Bit 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_MODE
      Bit mask for wide color gamut and HDR configurations.
      See Also:
    • ACONFIGURATION_MNC_ZERO

      public static final int ACONFIGURATION_MNC_ZERO
      Constant 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()