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

/frameworks/base/core/java/android/content/res/
H A DConfiguration.java248 public int uiMode; field in class:Configuration
322 uiMode = o.uiMode;
388 switch ((uiMode&UI_MODE_TYPE_MASK)) {
394 default: sb.append(" uimode="); sb.append(uiMode&UI_MODE_TYPE_MASK); break;
396 switch ((uiMode&UI_MODE_NIGHT_MASK)) {
400 default: sb.append(" night="); sb.append(uiMode&UI_MODE_NIGHT_MASK); break;
467 uiMode = UI_MODE_TYPE_UNDEFINED;
554 if (delta.uiMode != (UI_MODE_TYPE_UNDEFINED|UI_MODE_NIGHT_UNDEFINED)
555 && uiMode !
[all...]
H A DAssetManager.java656 int screenLayout, int uiMode, int majorVersion);
652 setConfiguration(int mcc, int mnc, String locale, int orientation, int touchscreen, int density, int keyboard, int keyboardHidden, int navigation, int screenWidth, int screenHeight, int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, int screenLayout, int uiMode, int majorVersion) argument
H A DResources.java1488 mConfiguration.screenLayout, mConfiguration.uiMode,
/frameworks/base/core/jni/
H A Dandroid_content_res_Configuration.cpp40 jfieldID uiMode; member in struct:android::__anon28
65 out->uiMode = env->GetIntField(clazz, gConfigurationClassInfo.uiMode);
117 GET_FIELD_ID(gConfigurationClassInfo.uiMode, clazz,
118 "uiMode", "I");
H A Dandroid_util_AssetManager.cpp515 jint screenLayout, jint uiMode,
542 config.uiMode = (uint8_t)uiMode;
506 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 smallestScreenWidthDp, jint screenWidthDp, jint screenHeightDp, 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)
191 config->uiMode = (config->uiMode&~ResTable_config::MASK_UI_MODE_TYPE)
196 config->uiMode = (config->uiMode&~ResTable_config::MASK_UI_MODE_NIGHT)
/frameworks/base/include/utils/
H A DResourceTypes.h951 // uiMode bits for the mode type.
959 // uiMode bits for the night switch.
970 uint8_t uiMode; member in struct:android::ResTable_config::__anon216::__anon217
1038 diff = (int32_t)(uiMode - o.uiMode);
1083 if (uiMode != o.uiMode) diffs |= CONFIG_UI_MODE;
1154 if (uiMode || o.uiMode) {
1155 if (((uiMode
[all...]
/frameworks/base/services/java/com/android/server/
H A DUiModeManagerService.java455 int uiMode = Configuration.UI_MODE_TYPE_NORMAL;
457 uiMode = Configuration.UI_MODE_TYPE_CAR;
459 uiMode = Configuration.UI_MODE_TYPE_DESK;
464 uiMode |= mComputedNightMode ? Configuration.UI_MODE_NIGHT_YES
467 uiMode |= mNightMode << 4;
471 uiMode = (uiMode & ~Configuration.UI_MODE_NIGHT_MASK) | Configuration.UI_MODE_NIGHT_NO;
479 + "; uiMode=" + uiMode);
482 mCurUiMode = uiMode;
[all...]
H A DSystemServer.java129 UiModeManagerService uiMode = null;
502 uiMode = new UiModeManagerService(context);
625 final UiModeManagerService uiModeF = uiMode;
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp193 *value = (config.uiMode&ResTable_config::MASK_UI_MODE_TYPE);
200 *value = (config.uiMode&ResTable_config::MASK_UI_MODE_NIGHT);
279 return (config.uiMode&ResTable_config::MASK_UI_MODE_TYPE);
281 return (config.uiMode&ResTable_config::MASK_UI_MODE_NIGHT);
1003 if (out) out->uiMode =
1004 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE)
1008 if (out) out->uiMode =
1009 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE)
1013 if (out) out->uiMode =
1014 (out->uiMode
[all...]
H A DResourceTable.cpp2728 config.uiMode,
2770 tHeader->config.uiMode,
H A DResource.cpp128 mParams.orientation, mParams.uiMode,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarView.java74 boolean nightMode = (newConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK)

Completed in 625 milliseconds