Home
last modified time | relevance | path

Searched refs:MIN_COUNT_TO_IGNORE_REQUEST_IN_LOOP (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DLetterboxUiControllerTest.java63 import static com.android.server.wm.LetterboxUiController.MIN_COUNT_TO_IGNORE_REQUEST_IN_LOOP;
211 for (int i = 0; i <= MIN_COUNT_TO_IGNORE_REQUEST_IN_LOOP; i++) { in testShouldIgnoreOrientationRequestLoop_overrideDisabled_returnsFalse()
230 for (int i = 0; i <= MIN_COUNT_TO_IGNORE_REQUEST_IN_LOOP; i++) { in testShouldIgnoreOrientationRequestLoop_propertyIsFalseAndOverride_returnsFalse()
244 for (int i = 0; i <= MIN_COUNT_TO_IGNORE_REQUEST_IN_LOOP; i++) { in testShouldIgnoreOrientationRequestLoop_isLetterboxed_returnsFalse()
270 for (int i = MIN_COUNT_TO_IGNORE_REQUEST_IN_LOOP; i > 0; i--) { in testShouldIgnoreOrientationRequestLoop_timeout_returnsFalse()
284 for (int i = 0; i < MIN_COUNT_TO_IGNORE_REQUEST_IN_LOOP; i++) { in testShouldIgnoreOrientationRequestLoop_returnsTrue()
289 /* expectedCount */ MIN_COUNT_TO_IGNORE_REQUEST_IN_LOOP); in testShouldIgnoreOrientationRequestLoop_returnsTrue()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DLetterboxUiController.java157 static final int MIN_COUNT_TO_IGNORE_REQUEST_IN_LOOP = 2; field in LetterboxUiController
530 return mSetOrientationRequestCounter >= MIN_COUNT_TO_IGNORE_REQUEST_IN_LOOP in shouldIgnoreOrientationRequestLoop()