/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 465 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 …]
|
D | AssetManager.java | 662 int screenLayout, int uiMode, int majorVersion); in setConfiguration() argument
|
D | Resources.java | 1596 mConfiguration.screenLayout, mConfiguration.uiMode, in updateConfiguration()
|
/frameworks/base/services/java/com/android/server/ |
D | UiModeManagerService.java | 302 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 …]
|
D | SystemServer.java | 150 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/ |
D | configuration.cpp | 105 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/ |
D | android_content_res_Configuration.cpp | 40 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()
|
D | android_util_AssetManager.cpp | 515 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/ |
D | AaptAssets.cpp | 238 *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 …]
|
D | ResourceTable.cpp | 2827 config.uiMode, in flatten() 2870 tHeader->config.uiMode, in flatten()
|
D | Resource.cpp | 133 mParams.orientation, mParams.uiMode, in next()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 1450 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/ |
D | ActionBarPolicy.java | 49 ((mContext.getResources().getConfiguration().uiMode & in showsOverflowMenuButton()
|
/frameworks/base/include/androidfw/ |
D | ResourceTypes.h | 991 uint8_t uiMode; member
|
/frameworks/base/docs/html/guide/topics/manifest/ |
D | activity-element.jd | 13 "navigation", "screenLayout", "fontScale", "uiMode", 220 <td>"{@code uiMode}"</td>
|
/frameworks/base/docs/html/sdk/api_diff/8/ |
D | missingSinces.txt | 458 NO DOC BLOCK: android.content.res.Configuration Field uiMode
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pService.java | 2026 if ((r.getConfiguration().uiMode & Configuration.UI_MODE_TYPE_APPLIANCE) == in notifyInvitationReceived()
|
/frameworks/base/api/ |
D | current.txt | 7320 field public int uiMode;
|