Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DLetterboxUiControllerTest.java818 doReturn(true).when(mController).shouldApplyUserMinAspectRatioOverride(); in testOverrideOrientationIfNeeded_userAspectRatioApplied_unspecifiedOverridden()
834 doReturn(false).when(mController).shouldApplyUserMinAspectRatioOverride(); in testOverrideOrientationIfNeeded_userAspectRatioNotApplied_returnsUnchanged()
931 assertFalse(mController.shouldApplyUserMinAspectRatioOverride()); in testShouldApplyUserMinAspectRatioOverride_falseProperty_returnsFalse()
942 assertFalse(mController.shouldApplyUserMinAspectRatioOverride()); in testShouldApplyUserMinAspectRatioOverride_trueProperty_returnsFalse()
950 assertFalse(mController.shouldApplyUserMinAspectRatioOverride()); in testShouldApplyUserMinAspectRatioOverride_disabledIgnoreOrientationRequest()
957 assertTrue(mController.shouldApplyUserMinAspectRatioOverride()); in testShouldApplyUserMinAspectRatioOverride_returnsTrue()
964 assertFalse(mController.shouldApplyUserMinAspectRatioOverride()); in testShouldApplyUserMinAspectRatioOverride_noIgnoreOrientationreturnsFalse()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DLetterboxUiController.java676 if (shouldApplyUserMinAspectRatioOverride() && (!isFixedOrientation(candidate) in overrideOrientationIfNeeded()
1160 boolean shouldApplyUserMinAspectRatioOverride() { in shouldApplyUserMinAspectRatioOverride() method in LetterboxUiController
H A DActivityRecord.java9396 if (mLetterboxUiController.shouldApplyUserMinAspectRatioOverride()) {