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

/frameworks/base/core/java/android/content/res/
H A DConfiguration.java406 /** Constant for {@link #uiMode}: bits that encode the mode type. */
408 /** Constant for {@link #uiMode}: a {@link #UI_MODE_TYPE_MASK}
411 /** Constant for {@link #uiMode}: a {@link #UI_MODE_TYPE_MASK}
416 /** Constant for {@link #uiMode}: a {@link #UI_MODE_TYPE_MASK}
421 /** Constant for {@link #uiMode}: a {@link #UI_MODE_TYPE_MASK}
426 /** Constant for {@link #uiMode}: a {@link #UI_MODE_TYPE_MASK}
431 /** Constant for {@link #uiMode}: a {@link #UI_MODE_TYPE_MASK}
437 /** Constant for {@link #uiMode}: bits that encode the night mode. */
439 /** Constant for {@link #uiMode}: a {@link #UI_MODE_NIGHT_MASK}
442 /** Constant for {@link #uiMode}
465 public int uiMode; field in class:Configuration
[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.java1492 mConfiguration.screenLayout, mConfiguration.uiMode,
/frameworks/base/core/jni/
H A Dandroid_content_res_Configuration.cpp40 jfieldID uiMode; member in struct:android::__anon967
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)
196 config->uiMode = (config->uiMode&~ResTable_config::MASK_UI_MODE_TYPE)
201 config->uiMode = (config->uiMode&~ResTable_config::MASK_UI_MODE_NIGHT)
/frameworks/base/services/java/com/android/server/
H A DUiModeManagerService.java302 int uiMode = mTelevision ? Configuration.UI_MODE_TYPE_TELEVISION : mDefaultUiModeType;
304 uiMode = Configuration.UI_MODE_TYPE_CAR;
306 uiMode = Configuration.UI_MODE_TYPE_DESK;
311 uiMode |= mComputedNightMode ? Configuration.UI_MODE_NIGHT_YES
314 uiMode |= mNightMode << 4;
318 uiMode = (uiMode & ~Configuration.UI_MODE_NIGHT_MASK) | Configuration.UI_MODE_NIGHT_NO;
326 + "; uiMode=" + uiMode);
329 mCurUiMode = uiMode;
[all...]
H A DSystemServer.java148 UiModeManagerService uiMode = null;
671 uiMode = new UiModeManagerService(context, twilight);
846 final UiModeManagerService uiModeF = uiMode;
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp238 *value = (config.uiMode&ResTable_config::MASK_UI_MODE_TYPE);
245 *value = (config.uiMode&ResTable_config::MASK_UI_MODE_NIGHT);
326 return (config.uiMode&ResTable_config::MASK_UI_MODE_TYPE);
328 return (config.uiMode&ResTable_config::MASK_UI_MODE_NIGHT);
1093 if (out) out->uiMode =
1094 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE)
1098 if (out) out->uiMode =
1099 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE)
1103 if (out) out->uiMode =
1104 (out->uiMode
[all...]
H A DResourceTable.cpp2822 config.uiMode,
2865 tHeader->config.uiMode,
H A DResource.cpp133 mParams.orientation, mParams.uiMode,
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1446 diff = (int32_t)(uiMode - o.uiMode);
1506 if (uiMode != o.uiMode) {
1507 return uiMode < o.uiMode ? -1 : 1;
1530 if (uiMode != o.uiMode) diffs |= CONFIG_UI_MODE;
1606 if (uiMode || o.uiMode) {
[all...]
/frameworks/base/include/androidfw/
H A DResourceTypes.h970 // uiMode bits for the mode type.
979 // uiMode bits for the night switch.
990 uint8_t uiMode; member in struct:android::ResTable_config::__anon1056::__anon1057

Completed in 216 milliseconds