public class AConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ACONFIGURATION_COLOR_MODE
Bit mask for wide color gamut and HDR configurations.
|
static int |
ACONFIGURATION_DENSITY
Bit mask for density configuration.
|
static int |
ACONFIGURATION_DENSITY_ANY
Density: any density.
|
static int |
ACONFIGURATION_DENSITY_DEFAULT
Density: default density.
|
static int |
ACONFIGURATION_DENSITY_HIGH
Density: value corresponding to the hdpi resource qualifier.
|
static int |
ACONFIGURATION_DENSITY_LOW
Density: value corresponding to the ldpi resource qualifier.
|
static int |
ACONFIGURATION_DENSITY_MEDIUM
Density: value corresponding to the mdpi resource qualifier.
|
static int |
ACONFIGURATION_DENSITY_NONE
Density: no density specified.
|
static int |
ACONFIGURATION_DENSITY_TV
Density: value corresponding to the tvdpi resource qualifier.
|
static int |
ACONFIGURATION_DENSITY_XHIGH
Density: value corresponding to the xhdpi resource qualifier.
|
static int |
ACONFIGURATION_DENSITY_XXHIGH
Density: value corresponding to the xxhdpi resource qualifier.
|
static int |
ACONFIGURATION_DENSITY_XXXHIGH
Density: value corresponding to the xxxhdpi resource qualifier.
|
static int |
ACONFIGURATION_HDR_ANY
HDR: not specified.
|
static int |
ACONFIGURATION_HDR_NO
HDR: value that corresponds to lowdr resource qualifier specified.
|
static int |
ACONFIGURATION_HDR_YES
HDR: value that corresponds to highdr resource qualifier specified.
|
static int |
ACONFIGURATION_KEYBOARD
Bit mask for keyboard configuration.
|
static int |
ACONFIGURATION_KEYBOARD_12KEY
Keyboard: value corresponding to the 12key resource qualifier.
|
static int |
ACONFIGURATION_KEYBOARD_ANY
Keyboard: not specified.
|
static int |
ACONFIGURATION_KEYBOARD_HIDDEN
Bit mask for keyboardHidden configuration.
|
static int |
ACONFIGURATION_KEYBOARD_NOKEYS
Keyboard: value corresponding to the nokeys resource qualifier.
|
static int |
ACONFIGURATION_KEYBOARD_QWERTY
Keyboard: value corresponding to the qwerty resource qualifier.
|
static int |
ACONFIGURATION_KEYSHIDDEN_ANY
Keyboard availability: not specified.
|
static int |
ACONFIGURATION_KEYSHIDDEN_NO
Keyboard availability: value corresponding to the keysexposed resource qualifier.
|
static int |
ACONFIGURATION_KEYSHIDDEN_SOFT
Keyboard availability: value corresponding to the keyssoft resource qualifier.
|
static int |
ACONFIGURATION_KEYSHIDDEN_YES
Keyboard availability: value corresponding to the keyshidden resource qualifier.
|
static int |
ACONFIGURATION_LAYOUTDIR
Bit mask for layout direction configuration.
|
static int |
ACONFIGURATION_LAYOUTDIR_ANY
Layout direction: not specified.
|
static int |
ACONFIGURATION_LAYOUTDIR_LTR
Layout direction: value that corresponds to ldltr resource qualifier specified.
|
static int |
ACONFIGURATION_LAYOUTDIR_RTL
Layout direction: value that corresponds to ldrtl resource qualifier specified.
|
static int |
ACONFIGURATION_LOCALE
Bit mask for locale configuration.
|
static int |
ACONFIGURATION_MCC
Bit mask for mcc configuration.
|
static int |
ACONFIGURATION_MNC
Bit mask for mnc configuration.
|
static int |
ACONFIGURATION_MNC_ZERO
Constant used to to represent MNC (Mobile Network Code) zero.
|
static int |
ACONFIGURATION_NAVHIDDEN_ANY
Navigation availability: not specified.
|
static int |
ACONFIGURATION_NAVHIDDEN_NO
Navigation availability: value corresponding to the navexposed resource qualifier.
|
static int |
ACONFIGURATION_NAVHIDDEN_YES
Navigation availability: value corresponding to the navhidden resource qualifier.
|
static int |
ACONFIGURATION_NAVIGATION
Bit mask for navigation configuration.
|
static int |
ACONFIGURATION_NAVIGATION_ANY
Navigation: not specified.
|
static int |
ACONFIGURATION_NAVIGATION_DPAD
Navigation: value corresponding to the dpad resource qualifier.
|
static int |
ACONFIGURATION_NAVIGATION_NONAV
Navigation: value corresponding to the nonav resource qualifier.
|
static int |
ACONFIGURATION_NAVIGATION_TRACKBALL
Navigation: value corresponding to the trackball resource qualifier.
|
static int |
ACONFIGURATION_NAVIGATION_WHEEL
Navigation: value corresponding to the wheel resource qualifier.
|
static int |
ACONFIGURATION_ORIENTATION
Bit mask for orientation configuration.
|
static int |
ACONFIGURATION_ORIENTATION_ANY
Orientation: not specified.
|
static int |
ACONFIGURATION_ORIENTATION_LAND
Orientation: value corresponding to the land resource qualifier.
|
static int |
ACONFIGURATION_ORIENTATION_PORT
Orientation: value corresponding to the port resource qualifier.
|
static int |
ACONFIGURATION_ORIENTATION_SQUARE
Deprecated.
Not currently supported or used.
|
static int |
ACONFIGURATION_SCREEN_HEIGHT_DP_ANY
Screen height DPI: not specified.
|
static int |
ACONFIGURATION_SCREEN_LAYOUT
Bit mask for screen layout configuration.
|
static int |
ACONFIGURATION_SCREEN_ROUND |
static int |
ACONFIGURATION_SCREEN_SIZE
Bit mask for screen size configuration.
|
static int |
ACONFIGURATION_SCREEN_WIDTH_DP_ANY
Screen width DPI: not specified.
|
static int |
ACONFIGURATION_SCREENLONG_ANY
Screen layout: not specified.
|
static int |
ACONFIGURATION_SCREENLONG_NO
Screen layout: value that corresponds to the notlong resource qualifier.
|
static int |
ACONFIGURATION_SCREENLONG_YES
Screen layout: value that corresponds to the long resource qualifier.
|
static int |
ACONFIGURATION_SCREENROUND_ANY |
static int |
ACONFIGURATION_SCREENROUND_NO |
static int |
ACONFIGURATION_SCREENROUND_YES |
static int |
ACONFIGURATION_SCREENSIZE_ANY
Screen size: not specified.
|
static int |
ACONFIGURATION_SCREENSIZE_LARGE
Screen size: value indicating the screen is at least approximately 480x640 dp units, corresponding to the large resource qualifier.
|
static int |
ACONFIGURATION_SCREENSIZE_NORMAL
Screen size: value indicating the screen is at least approximately 320x470 dp units, corresponding to the normal resource qualifier.
|
static int |
ACONFIGURATION_SCREENSIZE_SMALL
Screen size: value indicating the screen is at least approximately 320x426 dp units, corresponding to the small resource qualifier.
|
static int |
ACONFIGURATION_SCREENSIZE_XLARGE
Screen size: value indicating the screen is at least approximately 720x960 dp units, corresponding to the xlarge resource qualifier.
|
static int |
ACONFIGURATION_SMALLEST_SCREEN_SIZE
Bit mask for smallest screen width configuration.
|
static int |
ACONFIGURATION_SMALLEST_SCREEN_WIDTH_DP_ANY
Smallest screen width DPI: not specified.
|
static int |
ACONFIGURATION_TOUCHSCREEN
Bit mask for touchscreen configuration.
|
static int |
ACONFIGURATION_TOUCHSCREEN_ANY
Touchscreen: not specified.
|
static int |
ACONFIGURATION_TOUCHSCREEN_FINGER
Touchscreen: value corresponding to the finger resource qualifier.
|
static int |
ACONFIGURATION_TOUCHSCREEN_NOTOUCH
Touchscreen: value corresponding to the notouch resource qualifier.
|
static int |
ACONFIGURATION_TOUCHSCREEN_STYLUS
Deprecated.
Not currently supported or used.
|
static int |
ACONFIGURATION_UI_MODE
Bit mask for ui mode configuration.
|
static int |
ACONFIGURATION_UI_MODE_NIGHT_ANY
UI night mode: not specified.
|
static int |
ACONFIGURATION_UI_MODE_NIGHT_NO
UI night mode: value that corresponds to notnight resource qualifier specified.
|
static int |
ACONFIGURATION_UI_MODE_NIGHT_YES
UI night mode: value that corresponds to night resource qualifier specified.
|
static int |
ACONFIGURATION_UI_MODE_TYPE_ANY
UI mode: not specified.
|
static int |
ACONFIGURATION_UI_MODE_TYPE_APPLIANCE
UI mode: value that corresponds to appliance resource qualifier specified.
|
static int |
ACONFIGURATION_UI_MODE_TYPE_CAR
UI mode: value that corresponds to car resource qualifier specified.
|
static int |
ACONFIGURATION_UI_MODE_TYPE_DESK
UI mode: value that corresponds to desk resource qualifier specified.
|
static int |
ACONFIGURATION_UI_MODE_TYPE_NORMAL
UI mode: value that corresponds to no UI mode type resource qualifier specified.
|
static int |
ACONFIGURATION_UI_MODE_TYPE_TELEVISION
UI mode: value that corresponds to television resource qualifier specified.
|
static int |
ACONFIGURATION_UI_MODE_TYPE_VR_HEADSET
UI mode: value that corresponds to vr resource qualifier specified.
|
static int |
ACONFIGURATION_UI_MODE_TYPE_WATCH
UI mode: value that corresponds to watch resource qualifier specified.
|
static int |
ACONFIGURATION_VERSION
Bit mask for platform version configuration.
|
static int |
ACONFIGURATION_WIDE_COLOR_GAMUT_ANY
Wide color gamut: not specified.
|
static int |
ACONFIGURATION_WIDE_COLOR_GAMUT_NO
Wide color gamut: value that corresponds to no nowidecg resource qualifier specified.
|
static int |
ACONFIGURATION_WIDE_COLOR_GAMUT_YES
Wide color gamut: value that corresponds to widecg resource qualifier specified.
|
Constructor and Description |
---|
AConfiguration() |
public static final int ACONFIGURATION_ORIENTATION_ANY
Orientation: not specified.
public static final int ACONFIGURATION_ORIENTATION_PORT
Orientation: value corresponding to the port resource qualifier.
public static final int ACONFIGURATION_ORIENTATION_LAND
Orientation: value corresponding to the land resource qualifier.
@Deprecated public static final int ACONFIGURATION_ORIENTATION_SQUARE
public static final int ACONFIGURATION_TOUCHSCREEN_ANY
Touchscreen: not specified.
public static final int ACONFIGURATION_TOUCHSCREEN_NOTOUCH
Touchscreen: value corresponding to the notouch resource qualifier.
@Deprecated public static final int ACONFIGURATION_TOUCHSCREEN_STYLUS
public static final int ACONFIGURATION_TOUCHSCREEN_FINGER
Touchscreen: value corresponding to the finger resource qualifier.
public static final int ACONFIGURATION_DENSITY_DEFAULT
Density: default density.
public static final int ACONFIGURATION_DENSITY_LOW
Density: value corresponding to the ldpi resource qualifier.
public static final int ACONFIGURATION_DENSITY_MEDIUM
Density: value corresponding to the mdpi resource qualifier.
public static final int ACONFIGURATION_DENSITY_TV
Density: value corresponding to the tvdpi resource qualifier.
public static final int ACONFIGURATION_DENSITY_HIGH
Density: value corresponding to the hdpi resource qualifier.
public static final int ACONFIGURATION_DENSITY_XHIGH
Density: value corresponding to the xhdpi resource qualifier.
public static final int ACONFIGURATION_DENSITY_XXHIGH
Density: value corresponding to the xxhdpi resource qualifier.
public static final int ACONFIGURATION_DENSITY_XXXHIGH
Density: value corresponding to the xxxhdpi resource qualifier.
public static final int ACONFIGURATION_DENSITY_ANY
Density: any density.
public static final int ACONFIGURATION_DENSITY_NONE
Density: no density specified.
public static final int ACONFIGURATION_KEYBOARD_ANY
Keyboard: not specified.
public static final int ACONFIGURATION_KEYBOARD_NOKEYS
Keyboard: value corresponding to the nokeys resource qualifier.
public static final int ACONFIGURATION_KEYBOARD_QWERTY
Keyboard: value corresponding to the qwerty resource qualifier.
public static final int ACONFIGURATION_KEYBOARD_12KEY
Keyboard: value corresponding to the 12key resource qualifier.
public static final int ACONFIGURATION_NAVIGATION_ANY
Navigation: not specified.
public static final int ACONFIGURATION_NAVIGATION_NONAV
Navigation: value corresponding to the nonav resource qualifier.
public static final int ACONFIGURATION_NAVIGATION_DPAD
Navigation: value corresponding to the dpad resource qualifier.
public static final int ACONFIGURATION_NAVIGATION_TRACKBALL
Navigation: value corresponding to the trackball resource qualifier.
public static final int ACONFIGURATION_NAVIGATION_WHEEL
Navigation: value corresponding to the wheel resource qualifier.
public static final int ACONFIGURATION_KEYSHIDDEN_ANY
Keyboard availability: not specified.
public static final int ACONFIGURATION_KEYSHIDDEN_NO
Keyboard availability: value corresponding to the keysexposed resource qualifier.
public static final int ACONFIGURATION_KEYSHIDDEN_YES
Keyboard availability: value corresponding to the keyshidden resource qualifier.
public static final int ACONFIGURATION_KEYSHIDDEN_SOFT
Keyboard availability: value corresponding to the keyssoft resource qualifier.
public static final int ACONFIGURATION_NAVHIDDEN_ANY
Navigation availability: not specified.
public static final int ACONFIGURATION_NAVHIDDEN_NO
Navigation availability: value corresponding to the navexposed resource qualifier.
public static final int ACONFIGURATION_NAVHIDDEN_YES
Navigation availability: value corresponding to the navhidden resource qualifier.
public static final int ACONFIGURATION_SCREENSIZE_ANY
Screen size: not specified.
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.
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.
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.
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.
public static final int ACONFIGURATION_SCREENLONG_ANY
Screen layout: not specified.
public static final int ACONFIGURATION_SCREENLONG_NO
Screen layout: value that corresponds to the notlong resource qualifier.
public static final int ACONFIGURATION_SCREENLONG_YES
Screen layout: value that corresponds to the long resource qualifier.
public static final int ACONFIGURATION_SCREENROUND_ANY
public static final int ACONFIGURATION_SCREENROUND_NO
public static final int ACONFIGURATION_SCREENROUND_YES
public static final int ACONFIGURATION_WIDE_COLOR_GAMUT_ANY
Wide color gamut: not specified.
public static final int ACONFIGURATION_WIDE_COLOR_GAMUT_NO
Wide color gamut: value that corresponds to no nowidecg resource qualifier specified.
public static final int ACONFIGURATION_WIDE_COLOR_GAMUT_YES
Wide color gamut: value that corresponds to widecg resource qualifier specified.
public static final int ACONFIGURATION_HDR_ANY
HDR: not specified.
public static final int ACONFIGURATION_HDR_NO
HDR: value that corresponds to lowdr resource qualifier specified.
public static final int ACONFIGURATION_HDR_YES
HDR: value that corresponds to highdr resource qualifier specified.
public static final int ACONFIGURATION_UI_MODE_TYPE_ANY
UI mode: not specified.
public static final int ACONFIGURATION_UI_MODE_TYPE_NORMAL
UI mode: value that corresponds to no UI mode type resource qualifier specified.
public static final int ACONFIGURATION_UI_MODE_TYPE_DESK
UI mode: value that corresponds to desk resource qualifier specified.
public static final int ACONFIGURATION_UI_MODE_TYPE_CAR
UI mode: value that corresponds to car resource qualifier specified.
public static final int ACONFIGURATION_UI_MODE_TYPE_TELEVISION
UI mode: value that corresponds to television resource qualifier specified.
public static final int ACONFIGURATION_UI_MODE_TYPE_APPLIANCE
UI mode: value that corresponds to appliance resource qualifier specified.
public static final int ACONFIGURATION_UI_MODE_TYPE_WATCH
UI mode: value that corresponds to watch resource qualifier specified.
public static final int ACONFIGURATION_UI_MODE_TYPE_VR_HEADSET
UI mode: value that corresponds to vr resource qualifier specified.
public static final int ACONFIGURATION_UI_MODE_NIGHT_ANY
UI night mode: not specified.
public static final int ACONFIGURATION_UI_MODE_NIGHT_NO
UI night mode: value that corresponds to notnight resource qualifier specified.
public static final int ACONFIGURATION_UI_MODE_NIGHT_YES
UI night mode: value that corresponds to night resource qualifier specified.
public static final int ACONFIGURATION_SCREEN_WIDTH_DP_ANY
Screen width DPI: not specified.
public static final int ACONFIGURATION_SCREEN_HEIGHT_DP_ANY
Screen height DPI: not specified.
public static final int ACONFIGURATION_SMALLEST_SCREEN_WIDTH_DP_ANY
Smallest screen width DPI: not specified.
public static final int ACONFIGURATION_LAYOUTDIR_ANY
Layout direction: not specified.
public static final int ACONFIGURATION_LAYOUTDIR_LTR
Layout direction: value that corresponds to ldltr resource qualifier specified.
public static final int ACONFIGURATION_LAYOUTDIR_RTL
Layout direction: value that corresponds to ldrtl resource qualifier specified.
public static final int ACONFIGURATION_MCC
Bit mask for mcc configuration.
public static final int ACONFIGURATION_MNC
Bit mask for mnc configuration.
public static final int ACONFIGURATION_LOCALE
Bit mask for locale configuration.
public static final int ACONFIGURATION_TOUCHSCREEN
Bit mask for touchscreen configuration.
public static final int ACONFIGURATION_KEYBOARD
Bit mask for keyboard configuration.
public static final int ACONFIGURATION_KEYBOARD_HIDDEN
Bit mask for keyboardHidden configuration.
public static final int ACONFIGURATION_NAVIGATION
Bit mask for navigation configuration.
public static final int ACONFIGURATION_ORIENTATION
Bit mask for orientation configuration.
public static final int ACONFIGURATION_DENSITY
Bit mask for density configuration.
public static final int ACONFIGURATION_SCREEN_SIZE
Bit mask for screen size configuration.
public static final int ACONFIGURATION_VERSION
Bit mask for platform version configuration.
public static final int ACONFIGURATION_SCREEN_LAYOUT
Bit mask for screen layout configuration.
public static final int ACONFIGURATION_UI_MODE
Bit mask for ui mode configuration.
public static final int ACONFIGURATION_SMALLEST_SCREEN_SIZE
Bit mask for smallest screen width configuration.
public static final int ACONFIGURATION_LAYOUTDIR
Bit mask for layout direction configuration.
public static final int ACONFIGURATION_SCREEN_ROUND
public static final int ACONFIGURATION_COLOR_MODE
Bit mask for wide color gamut and HDR configurations.
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.