Home
last modified time | relevance | path

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

/cts/tests/app/app/src/android/app/stubs/
DOrientationTestUtils.java66 final int newOrientation = originalOrientation == ActivityInfo.SCREEN_ORIENTATION_PORTRAIT in getOrientations() local
69 return new int[] { originalOrientation, newOrientation }; in getOrientations()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/area/
DExtensionRearDisplayTest.java358 int newOrientation; in testGetRearDisplayMetrics_afterRotation() local
361 newOrientation = ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE; in testGetRearDisplayMetrics_afterRotation()
362 mActivity.setRequestedOrientation(newOrientation); in testGetRearDisplayMetrics_afterRotation()
364 newOrientation = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT; in testGetRearDisplayMetrics_afterRotation()
365 mActivity.setRequestedOrientation(newOrientation); in testGetRearDisplayMetrics_afterRotation()
367 waitAndAssert(() -> mActivity.getRequestedOrientation() == newOrientation); in testGetRearDisplayMetrics_afterRotation()