Home
last modified time | relevance | path

Searched refs:mUiMode (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayLayout.java73 private int mUiMode; field in DisplayLayout
107 return mUiMode == other.mUiMode in equals()
127 return Objects.hash(mUiMode, mWidth, mHeight, mCutout, mRotation, mDensityDpi, in hashCode()
167 mUiMode = dl.mUiMode; in set()
186 mUiMode = res.getConfiguration().uiMode; in init()
211 computeNonDecorInsets(res, mRotation, mWidth, mHeight, mCutout, mInsetsState, mUiMode, in recalcInsets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DExtensionControllerImpl.java305 private int mUiMode; field in ExtensionControllerImpl.ExtensionImpl.UiModeItem
311 mUiMode = mDefaultContext.getResources().getConfiguration().uiMode in UiModeItem()
319 if (newMode != mUiMode) { in onConfigChanged()
320 mUiMode = newMode; in onConfigChanged()
328 return (mUiMode == mDesiredUiMode) ? mSupplier.get() : null; in get()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DSplitLayout.java130 private int mUiMode; field in SplitLayout
326 && mUiMode == uiMode in updateConfiguration()
338 mUiMode = uiMode; in updateConfiguration()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java560 int mUiMode; field in PhoneWindowManager
2282 mUiMode = mContext.getResources().getInteger(
5425 mUiMode = uiModeService.getCurrentModeType();
6268 mUiMode = mUiModeManager.getCurrentModeType();
6275 return mUiMode;
6301 if (mUiMode == Configuration.UI_MODE_TYPE_CAR) {
6305 } else if (mUiMode == Configuration.UI_MODE_TYPE_DESK) {
6309 } else if (mUiMode == Configuration.UI_MODE_TYPE_WATCH) {
6317 } else if (mUiMode == Configuration.UI_MODE_TYPE_VR_HEADSET) {
6555 pw.print(Configuration.uiModeToString(mUiMode));
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp98 jfieldID mUiMode; member
1100 env->SetIntField(result, gConfigurationOffsets.mUiMode, config.uiMode); in ConstructConfigurationObject()
1659 gConfigurationOffsets.mUiMode = GetFieldIDOrDie(env, configurationClass, "uiMode", "I"); in register_android_content_AssetManager()