Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DConfigurationCallbacksTest.java235 private void waitAndAssertRotationInCallbacks(int expectedRotation) { in waitAndAssertRotationInCallbacks() argument
237 mDisplayListenerTracker.waitAndAssertRotation(expectedRotation, curTime); in waitAndAssertRotationInCallbacks()
238 mActivityOnConfigurationChangedTracker.waitAndAssertRotation(expectedRotation, curTime); in waitAndAssertRotationInCallbacks()
239 mApplicationOnConfigurationChangedTracker.waitAndAssertRotation(expectedRotation, curTime); in waitAndAssertRotationInCallbacks()
383 void waitAndAssertRotation(int expectedRotation, long startTime) { in waitAndAssertRotation() argument
389 + expectedRotation + ", but have:" in waitAndAssertRotation()
397 assertTrue(errorMessage, mLastDisplayRotation == expectedRotation in waitAndAssertRotation()
398 && (mExcludeActivity || mLastActivityRotation == expectedRotation) in waitAndAssertRotation()
399 && mLastApplicationRotation == expectedRotation); in waitAndAssertRotation()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DStylusHandwritingTest.java1266 String expectedRotation = "0"; in getInitialRotationAndAwaitExpectedRotation() local
1268 if (!expectedRotation.equals(initialUserRotation)) { in getInitialRotationAndAwaitExpectedRotation()
1270 TestUtils.setLockedRotation(displayId, expectedRotation); in getInitialRotationAndAwaitExpectedRotation()