Searched refs:isInTabletopMode (Results 1 – 3 of 3) sorted by relevance
90 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 TabletopModeController220 private void mayBroadcastOnTabletopModeChange(boolean isInTabletopMode) { in mayBroadcastOnTabletopModeChange() argument222 || 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
691 float getLetterboxVerticalPositionMultiplier(boolean isInTabletopMode) { in getLetterboxVerticalPositionMultiplier() argument692 if (isInTabletopMode) { in getLetterboxVerticalPositionMultiplier()
651 mTabletopModeController.registerOnTabletopModeChangedListener((isInTabletopMode) -> { in onInit()653 if (!isInTabletopMode) { in onInit()