Home
last modified time | relevance | path

Searched refs:initialRotation (Results 1 – 4 of 4) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DConfigChangeTests.java170 int currentRotation, int initialRotation, boolean canHandleConfigChange) { in prepareRotation() argument
171 final boolean is90DegreeDelta = Math.abs(currentRotation - initialRotation) % 2 != 0; in prepareRotation()
175 session.set(initialRotation); in prepareRotation()
218 final int initialRotation = 4 - rotationStep; in testRotation() local
220 prepareRotation(activityName, rotationSession, mWmState.getRotation(), initialRotation, in testRotation()
229 } else if (newDeviceRotation != initialRotation) { in testRotation()
/cts/tests/tests/media/projection/src/android/media/projection/cts/
DMediaProjectionMirroringTest.java211 final int initialRotation = mActivity.getDisplay().getRotation(); in testDisplayCapture_rotation() local
221 rotateDeviceAndWaitForActivity(rotationSession, initialRotation); in testDisplayCapture_rotation()
302 @NonNull RotationSession rotationSession, @Surface.Rotation int initialRotation) { in rotateDeviceAndWaitForActivity() argument
304 rotationSession.set((initialRotation + 1) % (ROTATION_270 + 1), in rotateDeviceAndWaitForActivity()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/
DSplitAttributesCalculatorTest.java235 final int initialRotation = activityA.getDisplay().getRotation(); in testSplitAttributesCalculatorInvocation_screenRotation() local
238 final int rotation = (initialRotation + i) % 4; in testSplitAttributesCalculatorInvocation_screenRotation()
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/
DMultiDisplayPolicyTests.java224 final int initialRotation = mWmState.getRotation(); in testRotationNotAffectingSecondaryScreen() local
225 rotationSession.set((initialRotation + 1) % 4); in testRotationNotAffectingSecondaryScreen()