Example usage for Java android.content.res Configuration fields, constructors, methods, implement or subclass
The text is from its open source code.
int | SCREENLAYOUT_SIZE_MASK Constant for #screenLayout : bits that encode the size. |
int | SCREENLAYOUT_SIZE_UNDEFINED Constant for #screenLayout : a #SCREENLAYOUT_SIZE_MASK value indicating that no size has been set. |
int | SCREENLAYOUT_SIZE_SMALL Constant for #screenLayout : a #SCREENLAYOUT_SIZE_MASK value indicating the screen is at least approximately 320x426 dp units, corresponds to the small resource qualifier. |
int | SCREENLAYOUT_SIZE_NORMAL Constant for #screenLayout : a #SCREENLAYOUT_SIZE_MASK value indicating the screen is at least approximately 320x470 dp units, corresponds to the normal resource qualifier. |
int | SCREENLAYOUT_SIZE_LARGE Constant for #screenLayout : a #SCREENLAYOUT_SIZE_MASK value indicating the screen is at least approximately 480x640 dp units, corresponds to the large resource qualifier. |
int | SCREENLAYOUT_SIZE_XLARGE Constant for #screenLayout : a #SCREENLAYOUT_SIZE_MASK value indicating the screen is at least approximately 720x960 dp units, corresponds to the xlarge resource qualifier. |
int | SCREENLAYOUT_LONG_MASK Constant for #screenLayout : bits that encode the aspect ratio. |
int | SCREENLAYOUT_LONG_NO Constant for #screenLayout : a #SCREENLAYOUT_LONG_MASK value that corresponds to the notlong resource qualifier. |
int | SCREENLAYOUT_LONG_YES Constant for #screenLayout : a #SCREENLAYOUT_LONG_MASK value that corresponds to the long resource qualifier. |
int | SCREENLAYOUT_LAYOUTDIR_MASK Constant for #screenLayout : bits that encode the layout direction. |
int | SCREENLAYOUT_LAYOUTDIR_LTR Constant for #screenLayout : a #SCREENLAYOUT_LAYOUTDIR_MASK value indicating that a layout dir has been set to LTR. |
int | SCREENLAYOUT_LAYOUTDIR_RTL Constant for #screenLayout : a #SCREENLAYOUT_LAYOUTDIR_MASK value indicating that a layout dir has been set to RTL. |
int | TOUCHSCREEN_UNDEFINED Constant for #touchscreen : a value indicating that no value has been set. |
int | TOUCHSCREEN_NOTOUCH Constant for #touchscreen , value corresponding to the notouch resource qualifier. |
int | TOUCHSCREEN_FINGER Constant for #touchscreen , value corresponding to the finger resource qualifier. |
int | KEYBOARD_UNDEFINED Constant for #keyboard : a value indicating that no value has been set. |
int | KEYBOARD_NOKEYS Constant for #keyboard , value corresponding to the nokeys resource qualifier. |
int | KEYBOARD_QWERTY Constant for #keyboard , value corresponding to the qwerty resource qualifier. |
int | KEYBOARDHIDDEN_NO Constant for #keyboardHidden , value corresponding to the keysexposed resource qualifier. |
int | KEYBOARDHIDDEN_YES Constant for #keyboardHidden , value corresponding to the keyshidden resource qualifier. |
int | HARDKEYBOARDHIDDEN_UNDEFINED Constant for #hardKeyboardHidden : a value indicating that no value has been set. |
int | HARDKEYBOARDHIDDEN_NO Constant for #hardKeyboardHidden , value corresponding to the physical keyboard being exposed. |
int | HARDKEYBOARDHIDDEN_YES Constant for #hardKeyboardHidden , value corresponding to the physical keyboard being hidden. |
int | NAVIGATION_UNDEFINED Constant for #navigation : a value indicating that no value has been set. |
int | NAVIGATION_NONAV Constant for #navigation , value corresponding to the nonav resource qualifier. |
int | NAVIGATION_DPAD Constant for #navigation , value corresponding to the dpad resource qualifier. |
int | NAVIGATIONHIDDEN_YES Constant for #navigationHidden , value corresponding to the navhidden resource qualifier. |
int | ORIENTATION_UNDEFINED Constant for #orientation : a value indicating that no value has been set. |
int | ORIENTATION_PORTRAIT Constant for #orientation , value corresponding to the port resource qualifier. |
int | ORIENTATION_LANDSCAPE Constant for #orientation , value corresponding to the land resource qualifier. |
int | ORIENTATION_SQUARE |
int | UI_MODE_TYPE_MASK Constant for #uiMode : bits that encode the mode type. |
int | UI_MODE_TYPE_NORMAL Constant for #uiMode : a #UI_MODE_TYPE_MASK value that corresponds to no UI mode resource qualifier specified. |
int | UI_MODE_TYPE_DESK Constant for #uiMode : a #UI_MODE_TYPE_MASK value that corresponds to the desk resource qualifier. |
int | UI_MODE_TYPE_CAR Constant for #uiMode : a #UI_MODE_TYPE_MASK value that corresponds to the car resource qualifier. |
int | UI_MODE_TYPE_TELEVISION Constant for #uiMode : a #UI_MODE_TYPE_MASK value that corresponds to the television resource qualifier. |
int | UI_MODE_TYPE_APPLIANCE Constant for #uiMode : a #UI_MODE_TYPE_MASK value that corresponds to the appliance resource qualifier. |
int | UI_MODE_TYPE_WATCH Constant for #uiMode : a #UI_MODE_TYPE_MASK value that corresponds to the watch resource qualifier. |
int | UI_MODE_NIGHT_MASK Constant for #uiMode : bits that encode the night mode. |
int | UI_MODE_NIGHT_UNDEFINED Constant for #uiMode : a #UI_MODE_NIGHT_MASK value indicating that no mode type has been set. |
int | UI_MODE_NIGHT_NO Constant for #uiMode : a #UI_MODE_NIGHT_MASK value that corresponds to the notnight resource qualifier. |
int | UI_MODE_NIGHT_YES Constant for #uiMode : a #UI_MODE_NIGHT_MASK value that corresponds to the night resource qualifier. |
int | SCREEN_WIDTH_DP_UNDEFINED Default value for #screenWidthDp indicating that no width has been specified. |
int | SCREEN_HEIGHT_DP_UNDEFINED Default value for #screenHeightDp indicating that no width has been specified. |
int | NATIVE_CONFIG_VERSION |
Configuration(Configuration o) Makes a deep copy suitable for modification. | |
Configuration(Parcel source) Construct this Configuration object, reading from the Parcel. | |
Configuration() Construct an invalid Configuration. |
int | diff(Configuration delta) Return a bit mask of the differences between this Configuration object and the given one. |
Class> | getClass() Returns the runtime class of this Object . |
int | getLayoutDirection() Return the layout direction. |
LocaleList | getLocales() Get the locale list. |
void | setLayoutDirection(Locale loc) Set the layout direction from a Locale. |
void | setLocale(@Nullable Locale loc) Set the locale list to a list of just one locale. |
void | setLocales(@Nullable LocaleList locales) Set the locale list. |
void | setToDefaults() Set this object to the system defaults. |
String | toString() |