Home
last modified time | relevance | path

Searched refs:rotationSession (Results 1 – 15 of 15) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DDockConfigChangeTests.java53 RotationSession rotationSession = createManagedRotationSession(); in testDeskMode_noConfigChange() local
60 rotateToDockRotation(rotationSession); in testDeskMode_noConfigChange()
88 RotationSession rotationSession = createManagedRotationSession(); in testDeskMode_hasDeskResources_relaunches() local
95 rotateToDockRotation(rotationSession); in testDeskMode_hasDeskResources_relaunches()
130 void rotateToDockRotation(RotationSession rotationSession) { in rotateToDockRotation() argument
139 rotationSession.set(rotation); in rotateToDockRotation()
DOverrideConfigTests.java46 final RotationSession rotationSession = createManagedRotationSession(); in testReceiveOverrideConfigFromRelayout() local
47 rotationSession.set(ROTATION_0); in testReceiveOverrideConfigFromRelayout()
55 rotationSession.set(ROTATION_180); in testReceiveOverrideConfigFromRelayout()
DConfigChangeTests.java133 final RotationSession rotationSession = createManagedRotationSession(); in testRotation180WithCutout() local
135 rotationSession, ROTATION_0 /* before */, ROTATION_180 /* after */, in testRotation180WithCutout()
141 rotationSession, ROTATION_90 /* before */, ROTATION_270 /* after */, in testRotation180WithCutout()
219 final RotationSession rotationSession = createManagedRotationSession(); in testRotation() local
220 prepareRotation(activityName, rotationSession, mWmState.getRotation(), initialRotation, in testRotation()
237 rotationSession.set(rotation); in testRotation()
DConfigurationCallbacksTest.java143 final RotationSession rotationSession = createManagedRotationSession(); in testDisplayRotate() local
144 int rotation = rotationSession.get(); in testDisplayRotate()
148 rotationSession.set(rotation); in testDisplayRotate()
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/
DAppConfigurationTests.java146 final RotationSession rotationSession = createManagedRotationSession(); in testConfigurationUpdatesWhenRotatingWhileFullscreen() local
147 rotationSession.set(ROTATION_0); in testConfigurationUpdatesWhenRotatingWhileFullscreen()
157 rotateAndCheckSizes(rotationSession, resizeableActivityClient, initialSizes); in testConfigurationUpdatesWhenRotatingWhileFullscreen()
169 final RotationSession rotationSession = createManagedRotationSession(); in testConfigurationUpdatesWhenRotatingWhileDocked() local
170 rotationSession.set(ROTATION_0); in testConfigurationUpdatesWhenRotatingWhileDocked()
183 rotateAndCheckSizes(rotationSession, resizeableActivityClient, initialSizes); in testConfigurationUpdatesWhenRotatingWhileDocked()
195 final RotationSession rotationSession = createManagedRotationSession(); in testConfigurationUpdatesWhenRotatingToSideFromDocked() local
196 rotationSession.set(ROTATION_0); in testConfigurationUpdatesWhenRotatingToSideFromDocked()
205 rotateAndCheckSizes(rotationSession, resizeableActivityClient, initialSizes); in testConfigurationUpdatesWhenRotatingToSideFromDocked()
208 private void rotateAndCheckSizes(RotationSession rotationSession, in rotateAndCheckSizes() argument
[all …]
/cts/tests/tests/media/projection/src/android/media/projection/cts/
DMediaProjectionMirroringTest.java207 final RotationSession rotationSession = createManagedRotationSession(); in testDisplayCapture_rotation() local
221 rotateDeviceAndWaitForActivity(rotationSession, initialRotation); in testDisplayCapture_rotation()
233 rotationSession.close(); in testDisplayCapture_rotation()
302 @NonNull RotationSession rotationSession, @Surface.Rotation int initialRotation) { in rotateDeviceAndWaitForActivity()
304 rotationSession.set((initialRotation + 1) % (ROTATION_270 + 1), in rotateDeviceAndWaitForActivity()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DDreamManagerServiceTests.java191 final RotationSession rotationSession = createManagedRotationSession(); in testDreamNotFinishAfterRotation() local
192 rotationSession.set(Surface.ROTATION_0); in testDreamNotFinishAfterRotation()
195 rotationSession.set(Surface.ROTATION_90); in testDreamNotFinishAfterRotation()
DPinnedStackTests.java301 final RotationSession rotationSession = createManagedRotationSession(); in testPinnedStackInBoundsAfterRotation() local
302 rotationSession.set(ROTATION_0); in testPinnedStackInBoundsAfterRotation()
304 rotationSession.set(ROTATION_90); in testPinnedStackInBoundsAfterRotation()
306 rotationSession.set(ROTATION_180); in testPinnedStackInBoundsAfterRotation()
308 rotationSession.set(ROTATION_270); in testPinnedStackInBoundsAfterRotation()
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/
DWindowInsetsPolicyTest.java139 final RotationSession rotationSession = createManagedRotationSession(); in testForcedConsumedTopInsets() local
142 rotationSession.set(rotation == ROTATION_0 || rotation == ROTATION_180 in testForcedConsumedTopInsets()
146 rotationSession.set(rotation); in testForcedConsumedTopInsets()
DRoundedCornerTests.java135 RotationSession rotationSession = createManagedRotationSession(); in verifyRoundedCorners() local
136 rotationSession.set(rotation); in verifyRoundedCorners()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/
DActivityEmbeddingPolicyTests.java227 final RotationSession rotationSession = createManagedRotationSession(); in testIgnoreOrientationRequestForActivityEmbeddingSplits() local
233 rotationSession.set(rotation); in testIgnoreOrientationRequestForActivityEmbeddingSplits()
DSplitAttributesCalculatorTest.java234 try (RotationSession rotationSession = new RotationSession()) { in testSplitAttributesCalculatorInvocation_screenRotation() argument
239 rotationSession.set(rotation); in testSplitAttributesCalculatorInvocation_screenRotation()
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/
DMultiDisplayPolicyTests.java219 final RotationSession rotationSession = createManagedRotationSession(); in testRotationNotAffectingSecondaryScreen() local
221 rotateAndCheckSameSizes(rotationSession, resizeableActivitySession, initialSize); in testRotationNotAffectingSecondaryScreen()
225 rotationSession.set((initialRotation + 1) % 4); in testRotationNotAffectingSecondaryScreen()
237 private void rotateAndCheckSameSizes(RotationSession rotationSession, in rotateAndCheckSameSizes() argument
240 rotationSession.set(rotation); in rotateAndCheckSameSizes()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/
DActivityLifecycleTests.java527 final RotationSession rotationSession = createManagedRotationSession(); in testRelaunchConfigurationChangedWhileBecomingVisible() local
529 rotationSession, translucentActivity.getDisplay().getDisplayId())) { in testRelaunchConfigurationChangedWhileBecomingVisible()
535 final int current = rotationSession.get(); in testRelaunchConfigurationChangedWhileBecomingVisible()
540 rotationSession.set(ROTATION_90); in testRelaunchConfigurationChangedWhileBecomingVisible()
544 rotationSession.set(ROTATION_0); in testRelaunchConfigurationChangedWhileBecomingVisible()
/cts/tests/framework/base/windowmanager/src/android/server/wm/keyguard/
DKeyguardTests.java711 final RotationSession rotationSession = createManagedRotationSession(); in testUnoccludedRotationChange() local
718 rotationSession.set(ROTATION_90); in testUnoccludedRotationChange()