Home
last modified time | relevance | path

Searched refs:isInTabletopMode (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
H A DTabletopModeController.java90 if (isInTabletopMode()) {
170 listener.onTabletopModeChanged(isInTabletopMode()); in registerOnTabletopModeChangedListener()
197 final boolean wasInTabletopMode = isInTabletopMode(); in onDevicePostureOrDisplayRotationChanged()
200 final boolean couldBeInTabletopMode = isInTabletopMode(); in onDevicePostureOrDisplayRotationChanged()
216 private boolean isInTabletopMode() { in isInTabletopMode() method in TabletopModeController
220 private void mayBroadcastOnTabletopModeChange(boolean isInTabletopMode) { in mayBroadcastOnTabletopModeChange() argument
222 || mLastIsInTabletopModeForCallback != isInTabletopMode) { in mayBroadcastOnTabletopModeChange()
223 mListeners.forEach(l -> l.onTabletopModeChanged(isInTabletopMode)); in mayBroadcastOnTabletopModeChange()
224 mLastIsInTabletopModeForCallback = isInTabletopMode; in mayBroadcastOnTabletopModeChange()
236 void onTabletopModeChanged(boolean isInTabletopMode); in onTabletopModeChanged() argument
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DLetterboxConfiguration.java691 float getLetterboxVerticalPositionMultiplier(boolean isInTabletopMode) { in getLetterboxVerticalPositionMultiplier() argument
692 if (isInTabletopMode) { in getLetterboxVerticalPositionMultiplier()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A DPipController.java651 mTabletopModeController.registerOnTabletopModeChangedListener((isInTabletopMode) -> { in onInit()
653 if (!isInTabletopMode) { in onInit()