Searched refs:uiMode (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/core/java/android/content/res/
H A DConfiguration.java204 public int uiMode; field in class:Configuration
242 uiMode = o.uiMode;
272 sb.append(" uiMode=");
273 sb.append(uiMode);
298 uiMode = UI_MODE_TYPE_UNDEFINED;
380 if (delta.uiMode != (UI_MODE_TYPE_UNDEFINED|UI_MODE_NIGHT_UNDEFINED)
381 && uiMode != delta.uiMode) {
383 if ((delta.uiMode
[all...]
H A DAssetManager.java654 int screenLayout, int uiMode, int majorVersion);
651 setConfiguration(int mcc, int mnc, String locale, int orientation, int touchscreen, int density, int keyboard, int keyboardHidden, int navigation, int screenWidth, int screenHeight, int screenLayout, int uiMode, int majorVersion) argument
H A DResources.java1301 mConfiguration.screenLayout, mConfiguration.uiMode, sSdkVersion);
/frameworks/base/core/jni/
H A Dandroid_content_res_Configuration.cpp42 jfieldID uiMode; member in struct:android::__anon30
64 out->uiMode = env->GetIntField(clazz, gConfigurationClassInfo.uiMode);
111 GET_FIELD_ID(gConfigurationClassInfo.uiMode, gConfigurationClassInfo.clazz,
112 "uiMode", "I");
H A Dandroid_util_AssetManager.cpp535 jint screenLayout, jint uiMode,
559 config.uiMode = (uint8_t)uiMode;
528 android_content_AssetManager_setConfiguration(JNIEnv* env, jobject clazz, jint mcc, jint mnc, jstring locale, jint orientation, jint touchscreen, jint density, jint keyboard, jint keyboardHidden, jint navigation, jint screenWidth, jint screenHeight, jint screenLayout, jint uiMode, jint sdkVersion) argument
/frameworks/base/native/android/
H A Dconfiguration.cpp105 return config->uiMode&ResTable_config::MASK_UI_MODE_TYPE;
109 return (config->uiMode&ResTable_config::MASK_UI_MODE_NIGHT)
179 config->uiMode = (config->uiMode&~ResTable_config::MASK_UI_MODE_TYPE)
184 config->uiMode = (config->uiMode&~ResTable_config::MASK_UI_MODE_NIGHT)
/frameworks/base/include/utils/
H A DResourceTypes.h950 // uiMode bits for the mode type.
957 // uiMode bits for the night switch.
968 uint8_t uiMode; member in struct:android::ResTable_config::__anon205::__anon206
1023 diff = (int32_t)(uiMode - o.uiMode);
1063 if (uiMode != o.uiMode) diffs |= CONFIG_UI_MODE;
1113 if (uiMode || o.uiMode) {
1114 if (((uiMode
[all...]
/frameworks/base/services/java/com/android/server/
H A DUiModeManagerService.java428 int uiMode = Configuration.UI_MODE_TYPE_NORMAL;
430 uiMode = Configuration.UI_MODE_TYPE_CAR;
432 uiMode = Configuration.UI_MODE_TYPE_DESK;
437 uiMode |= mComputedNightMode ? Configuration.UI_MODE_NIGHT_YES
440 uiMode |= mNightMode << 4;
444 uiMode = (uiMode & ~Configuration.UI_MODE_NIGHT_MASK) | Configuration.UI_MODE_NIGHT_NO;
452 + "; uiMode=" + uiMode);
455 mCurUiMode = uiMode;
[all...]
H A DSystemServer.java127 UiModeManagerService uiMode = null;
412 uiMode = new UiModeManagerService(context);
500 final UiModeManagerService uiModeF = uiMode;
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp169 *value = (config.uiMode&ResTable_config::MASK_UI_MODE_TYPE);
176 *value = (config.uiMode&ResTable_config::MASK_UI_MODE_NIGHT);
826 if (out) out->uiMode =
827 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE)
831 if (out) out->uiMode =
832 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE)
836 if (out) out->uiMode =
837 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE)
849 if (out) out->uiMode =
850 (out->uiMode
[all...]
H A DResourceTable.cpp2584 if (!match(AXIS_UIMODETYPE, (config.uiMode&ResTable_config::MASK_UI_MODE_TYPE))) {
2587 if (!match(AXIS_UIMODENIGHT, (config.uiMode&ResTable_config::MASK_UI_MODE_NIGHT))) {
2802 config.uiMode,
2840 tHeader->config.uiMode,
H A DResource.cpp110 mParams.orientation, mParams.uiMode,
/frameworks/base/libs/utils/
H A DResourceTypes.cpp4210 if (type->config.uiMode != 0) {
4212 type->config.uiMode&ResTable_config::MASK_UI_MODE_TYPE);
4213 switch (type->config.uiMode&ResTable_config::MASK_UI_MODE_TYPE) {
4222 type->config.uiMode&ResTable_config::MASK_UI_MODE_NIGHT);
4223 switch (type->config.uiMode&ResTable_config::MASK_UI_MODE_NIGHT) {

Completed in 5811 milliseconds