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

/frameworks/base/tools/aapt/
H A DAaptConfig.cpp250 } else if ((config->uiMode & ResTable_config::MASK_UI_MODE_TYPE)
252 || (config->uiMode & ResTable_config::MASK_UI_MODE_NIGHT)
422 if (out) out->uiMode =
423 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE)
427 if (out) out->uiMode =
428 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE)
432 if (out) out->uiMode =
433 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE)
437 if (out) out->uiMode =
438 (out->uiMode
[all...]
H A DResourceTable.cpp3043 config.uiMode,
3086 tHeader->config.uiMode,
H A DResource.cpp138 mParams.orientation, mParams.uiMode,
/frameworks/base/core/java/android/content/res/
H A DConfiguration.java422 /** Constant for {@link #uiMode}: bits that encode the mode type. */
424 /** Constant for {@link #uiMode}: a {@link #UI_MODE_TYPE_MASK}
427 /** Constant for {@link #uiMode}: a {@link #UI_MODE_TYPE_MASK}
432 /** Constant for {@link #uiMode}: a {@link #UI_MODE_TYPE_MASK}
437 /** Constant for {@link #uiMode}: a {@link #UI_MODE_TYPE_MASK}
442 /** Constant for {@link #uiMode}: a {@link #UI_MODE_TYPE_MASK}
447 /** Constant for {@link #uiMode}: a {@link #UI_MODE_TYPE_MASK}
452 /** Constant for {@link #uiMode}: a {@link #UI_MODE_TYPE_MASK}
458 /** Constant for {@link #uiMode}: bits that encode the night mode. */
460 /** Constant for {@link #uiMode}
486 public int uiMode; field in class:Configuration
[all...]
H A DAssetManager.java689 int screenLayout, int uiMode, int majorVersion);
685 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.java1836 mConfiguration.screenLayout, mConfiguration.uiMode,
/frameworks/base/core/jni/
H A Dandroid_content_res_Configuration.cpp40 jfieldID uiMode; member in struct:android::__anon795
65 out->uiMode = env->GetIntField(clazz, gConfigurationClassInfo.uiMode);
108 GET_FIELD_ID(gConfigurationClassInfo.uiMode, clazz,
109 "uiMode", "I");
H A Dandroid_util_AssetManager.cpp604 jint screenLayout, jint uiMode,
631 config.uiMode = (uint8_t)uiMode;
595 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/core/java/com/android/server/
H A DUiModeManagerService.java347 int uiMode = mDefaultUiModeType;
349 uiMode = Configuration.UI_MODE_TYPE_TELEVISION;
351 uiMode = Configuration.UI_MODE_TYPE_WATCH;
353 uiMode = Configuration.UI_MODE_TYPE_CAR;
355 uiMode = Configuration.UI_MODE_TYPE_DESK;
360 uiMode |= mComputedNightMode ? Configuration.UI_MODE_NIGHT_YES
363 uiMode |= mNightMode << 4;
367 uiMode = (uiMode & ~Configuration.UI_MODE_NIGHT_MASK) | Configuration.UI_MODE_NIGHT_NO;
375 + "; uiMode
[all...]
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1825 diff = (int32_t)(uiMode - o.uiMode);
1882 if (uiMode != o.uiMode) {
1883 return uiMode < o.uiMode ? -1 : 1;
1906 if (uiMode != o.uiMode) diffs |= CONFIG_UI_MODE;
2016 if (uiMode || o.uiMode) {
[all...]
/frameworks/base/tools/split-select/
H A DMain.cpp113 outConfig->uiMode &= ResTable_config::UI_MODE_NIGHT_ANY;
/frameworks/base/include/androidfw/
H A DResourceTypes.h1090 // uiMode bits for the mode type.
1100 // uiMode bits for the night switch.
1111 uint8_t uiMode; member in struct:android::ResTable_config::__anon926::__anon927
/frameworks/base/core/java/android/app/
H A DActivity.java3521 if ((getResources().getConfiguration().uiMode&Configuration.UI_MODE_TYPE_MASK)
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
H A DWifiP2pServiceImpl.java2347 if ((r.getConfiguration().uiMode & Configuration.UI_MODE_TYPE_APPLIANCE) ==
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindow.java4133 if (!result && (getContext().getResources().getConfiguration().uiMode

Completed in 810 milliseconds