Home
last modified time | relevance | path

Searched refs:uiMode (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/android/content/res/
DConfiguration.java472 public int uiMode; field in Configuration
612 uiMode = o.uiMode; in setTo()
696 switch ((uiMode&UI_MODE_TYPE_MASK)) { in toString()
703 default: sb.append(" uimode="); sb.append(uiMode&UI_MODE_TYPE_MASK); break; in toString()
705 switch ((uiMode&UI_MODE_NIGHT_MASK)) { in toString()
709 default: sb.append(" night="); sb.append(uiMode&UI_MODE_NIGHT_MASK); break; in toString()
776 uiMode = UI_MODE_TYPE_UNDEFINED; in setToDefaults()
880 if (delta.uiMode != (UI_MODE_TYPE_UNDEFINED|UI_MODE_NIGHT_UNDEFINED) in updateFrom()
881 && uiMode != delta.uiMode) { in updateFrom()
883 if ((delta.uiMode&UI_MODE_TYPE_MASK) != UI_MODE_TYPE_UNDEFINED) { in updateFrom()
[all …]
DAssetManager.java662 int screenLayout, int uiMode, int majorVersion); in setConfiguration() argument
DResources.java1600 mConfiguration.screenLayout, mConfiguration.uiMode, in updateConfiguration()
/frameworks/base/services/java/com/android/server/
DUiModeManagerService.java302 int uiMode = mTelevision ? Configuration.UI_MODE_TYPE_TELEVISION : mDefaultUiModeType; in updateConfigurationLocked() local
304 uiMode = Configuration.UI_MODE_TYPE_CAR; in updateConfigurationLocked()
306 uiMode = Configuration.UI_MODE_TYPE_DESK; in updateConfigurationLocked()
311 uiMode |= mComputedNightMode ? Configuration.UI_MODE_NIGHT_YES in updateConfigurationLocked()
314 uiMode |= mNightMode << 4; in updateConfigurationLocked()
318 uiMode = (uiMode & ~Configuration.UI_MODE_NIGHT_MASK) | Configuration.UI_MODE_NIGHT_NO; in updateConfigurationLocked()
326 + "; uiMode=" + uiMode); in updateConfigurationLocked()
329 mCurUiMode = uiMode; in updateConfigurationLocked()
331 mConfiguration.uiMode = uiMode; in updateConfigurationLocked()
336 if (mSetUiMode != mConfiguration.uiMode) { in sendConfigurationLocked()
[all …]
DSystemServer.java152 UiModeManagerService uiMode = null; in initAndLoop() local
696 uiMode = new UiModeManagerService(context, twilight); in initAndLoop()
915 final UiModeManagerService uiModeF = uiMode; in initAndLoop()
/frameworks/base/native/android/
Dconfiguration.cpp105 return config->uiMode&ResTable_config::MASK_UI_MODE_TYPE; in AConfiguration_getUiModeType()
109 return (config->uiMode&ResTable_config::MASK_UI_MODE_NIGHT) in AConfiguration_getUiModeNight()
196 config->uiMode = (config->uiMode&~ResTable_config::MASK_UI_MODE_TYPE) in AConfiguration_setUiModeType()
201 config->uiMode = (config->uiMode&~ResTable_config::MASK_UI_MODE_NIGHT) in AConfiguration_setUiModeNight()
/frameworks/base/core/jni/
Dandroid_content_res_Configuration.cpp40 jfieldID uiMode; member
65 out->uiMode = env->GetIntField(clazz, gConfigurationClassInfo.uiMode); in android_Configuration_getFromJava()
117 GET_FIELD_ID(gConfigurationClassInfo.uiMode, clazz, in register_android_content_res_Configuration()
Dandroid_util_AssetManager.cpp508 jint screenLayout, jint uiMode, in android_content_AssetManager_setConfiguration() argument
535 config.uiMode = (uint8_t)uiMode; in android_content_AssetManager_setConfiguration()
/frameworks/base/tools/aapt/
DAaptAssets.cpp238 *value = (config.uiMode&ResTable_config::MASK_UI_MODE_TYPE); in parseNamePart()
245 *value = (config.uiMode&ResTable_config::MASK_UI_MODE_NIGHT); in parseNamePart()
326 return (config.uiMode&ResTable_config::MASK_UI_MODE_TYPE); in getConfigValueForAxis()
328 return (config.uiMode&ResTable_config::MASK_UI_MODE_NIGHT); in getConfigValueForAxis()
1096 if (out) out->uiMode = in getUiModeTypeName()
1097 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE) in getUiModeTypeName()
1101 if (out) out->uiMode = in getUiModeTypeName()
1102 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE) in getUiModeTypeName()
1106 if (out) out->uiMode = in getUiModeTypeName()
1107 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE) in getUiModeTypeName()
[all …]
DResourceTable.cpp2888 config.uiMode, in flatten()
2931 tHeader->config.uiMode, in flatten()
DResource.cpp133 mParams.orientation, mParams.uiMode, in next()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1586 diff = (int32_t)(uiMode - o.uiMode); in compare()
1646 if (uiMode != o.uiMode) { in compareLogical()
1647 return uiMode < o.uiMode ? -1 : 1; in compareLogical()
1671 if (uiMode != o.uiMode) diffs |= CONFIG_UI_MODE; in diff()
1747 if (uiMode || o.uiMode) { in isMoreSpecificThan()
1748 if (((uiMode^o.uiMode) & MASK_UI_MODE_TYPE) != 0) { in isMoreSpecificThan()
1749 if (!(uiMode & MASK_UI_MODE_TYPE)) return false; in isMoreSpecificThan()
1750 if (!(o.uiMode & MASK_UI_MODE_TYPE)) return true; in isMoreSpecificThan()
1752 if (((uiMode^o.uiMode) & MASK_UI_MODE_NIGHT) != 0) { in isMoreSpecificThan()
1753 if (!(uiMode & MASK_UI_MODE_NIGHT)) return false; in isMoreSpecificThan()
[all …]
/frameworks/base/include/androidfw/
DResourceTypes.h995 uint8_t uiMode; member
/frameworks/base/docs/html/guide/topics/manifest/
Dactivity-element.jd13 "navigation", "screenLayout", "fontScale", "uiMode",
220 <td>"{@code uiMode}"</td>
/frameworks/base/docs/html/sdk/api_diff/8/
DmissingSinces.txt458 NO DOC BLOCK: android.content.res.Configuration Field uiMode
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pService.java2183 if ((r.getConfiguration().uiMode & Configuration.UI_MODE_TYPE_APPLIANCE) == in notifyInvitationReceived()
/frameworks/base/api/
Dcurrent.txt7661 field public int uiMode;