Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLetterboxUiControllerTest.java1141 doReturn(false).when(mController).shouldOverrideMinAspectRatioForCamera(); in testRecomputeConfigurationForCameraCompatIfNeeded()
1163 doReturn(true).when(mController).shouldOverrideMinAspectRatioForCamera(); in testRecomputeConfigurationForCameraCompatIfNeeded()
1368 assertTrue(mController.shouldOverrideMinAspectRatioForCamera()); in shouldOverrideMinAspectRatioForCamera_overrideEnabled_returnsTrue()
1379 assertTrue(mController.shouldOverrideMinAspectRatioForCamera()); in shouldOverrideMinAspectRatioForCamera_propertyTrue_overrideEnabled_returnsTrue()
1390 assertFalse(mController.shouldOverrideMinAspectRatioForCamera()); in shouldOverrideMinAspectRatioForCamera_propertyTrue_overrideEnabled_returnsFalse()
1401 assertFalse(mController.shouldOverrideMinAspectRatioForCamera()); in shouldOverrideMinAspectRatioForCamera_propertyTrue_overrideDisabled_returnsFalse()
1410 assertFalse(mController.shouldOverrideMinAspectRatioForCamera()); in shouldOverrideMinAspectRatioForCamera_overrideDisabled_returnsFalse()
1420 assertFalse(mController.shouldOverrideMinAspectRatioForCamera()); in shouldOverrideMinAspectRatioForCamera_propertyFalse_overrideEnabled_returnsFalse()
1431 assertFalse(mController.shouldOverrideMinAspectRatioForCamera()); in shouldOverrideMinAspectRatioForCamera_propertyFalse_noOverride_returnsFalse()
/frameworks/base/services/core/java/com/android/server/wm/
DLetterboxUiController.java478 boolean shouldOverrideMinAspectRatioForCamera() { in shouldOverrideMinAspectRatioForCamera() method in LetterboxUiController
963 || shouldOverrideMinAspectRatioForCamera()) { in recomputeConfigurationForCameraCompatIfNeeded()
DActivityRecord.java9798 && !mLetterboxUiController.shouldOverrideMinAspectRatioForCamera()) {