Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/res/
DConfiguration.java465 public int uiMode; field in Configuration
572 uiMode = o.uiMode; in setTo()
656 switch ((uiMode&UI_MODE_TYPE_MASK)) { in toString()
663 default: sb.append(" uimode="); sb.append(uiMode&UI_MODE_TYPE_MASK); break; in toString()
665 switch ((uiMode&UI_MODE_NIGHT_MASK)) { in toString()
669 default: sb.append(" night="); sb.append(uiMode&UI_MODE_NIGHT_MASK); break; in toString()
736 uiMode = UI_MODE_TYPE_UNDEFINED; in setToDefaults()
834 if (delta.uiMode != (UI_MODE_TYPE_UNDEFINED|UI_MODE_NIGHT_UNDEFINED) in updateFrom()
835 && uiMode != delta.uiMode) { in updateFrom()
837 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.java1596 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.java150 UiModeManagerService uiMode = null; in run() local
665 uiMode = new UiModeManagerService(context, twilight); in run()
846 final UiModeManagerService uiModeF = uiMode; in run()
/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.cpp515 jint screenLayout, jint uiMode, in android_content_AssetManager_setConfiguration() argument
542 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()
1093 if (out) out->uiMode = in getUiModeTypeName()
1094 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE) in getUiModeTypeName()
1098 if (out) out->uiMode = in getUiModeTypeName()
1099 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE) in getUiModeTypeName()
1103 if (out) out->uiMode = in getUiModeTypeName()
1104 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE) in getUiModeTypeName()
[all …]
DResourceTable.cpp2827 config.uiMode, in flatten()
2870 tHeader->config.uiMode, in flatten()
DResource.cpp133 mParams.orientation, mParams.uiMode, in next()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1450 diff = (int32_t)(uiMode - o.uiMode); in compare()
1510 if (uiMode != o.uiMode) { in compareLogical()
1511 return uiMode < o.uiMode ? -1 : 1; in compareLogical()
1535 if (uiMode != o.uiMode) diffs |= CONFIG_UI_MODE; in diff()
1611 if (uiMode || o.uiMode) { in isMoreSpecificThan()
1612 if (((uiMode^o.uiMode) & MASK_UI_MODE_TYPE) != 0) { in isMoreSpecificThan()
1613 if (!(uiMode & MASK_UI_MODE_TYPE)) return false; in isMoreSpecificThan()
1614 if (!(o.uiMode & MASK_UI_MODE_TYPE)) return true; in isMoreSpecificThan()
1616 if (((uiMode^o.uiMode) & MASK_UI_MODE_NIGHT) != 0) { in isMoreSpecificThan()
1617 if (!(uiMode & MASK_UI_MODE_NIGHT)) return false; in isMoreSpecificThan()
[all …]
/frameworks/base/core/java/com/android/internal/view/
DActionBarPolicy.java49 ((mContext.getResources().getConfiguration().uiMode & in showsOverflowMenuButton()
/frameworks/base/include/androidfw/
DResourceTypes.h991 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.java2026 if ((r.getConfiguration().uiMode & Configuration.UI_MODE_TYPE_APPLIANCE) == in notifyInvitationReceived()
/frameworks/base/api/
Dcurrent.txt7320 field public int uiMode;