Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DAppConfigurationTests.java129 try (final RotationSession rotationSession = new RotationSession()) { in testConfigurationUpdatesWhenRotatingWhileFullscreen() argument
130 rotationSession.set(ROTATION_0); in testConfigurationUpdatesWhenRotatingWhileFullscreen()
137 rotateAndCheckSizes(rotationSession, initialSizes); in testConfigurationUpdatesWhenRotatingWhileFullscreen()
149 try (final RotationSession rotationSession = new RotationSession()) { in testConfigurationUpdatesWhenRotatingWhileDocked() argument
150 rotationSession.set(ROTATION_0); in testConfigurationUpdatesWhenRotatingWhileDocked()
162 rotateAndCheckSizes(rotationSession, initialSizes); in testConfigurationUpdatesWhenRotatingWhileDocked()
174 try (final RotationSession rotationSession = new RotationSession()) { in testConfigurationUpdatesWhenRotatingToSideFromDocked() argument
175 rotationSession.set(ROTATION_0); in testConfigurationUpdatesWhenRotatingToSideFromDocked()
183 rotateAndCheckSizes(rotationSession, initialSizes); in testConfigurationUpdatesWhenRotatingToSideFromDocked()
187 private void rotateAndCheckSizes(RotationSession rotationSession, SizeInfo prevSizes) in rotateAndCheckSizes() argument
[all …]
DSplitScreenTests.java373 try (final RotationSession rotationSession = new RotationSession()) { in testRotationWhenDocked() argument
375 rotationSession.set(i); in testRotationWhenDocked()
380 rotationSession.set(ROTATION_90); in testRotationWhenDocked()
382 rotationSession.set(ROTATION_270); in testRotationWhenDocked()
384 rotationSession.set(ROTATION_0); in testRotationWhenDocked()
386 rotationSession.set(ROTATION_180); in testRotationWhenDocked()
388 rotationSession.set(ROTATION_0); in testRotationWhenDocked()
404 try (final RotationSession rotationSession = new RotationSession(); in testRotationWhenDockedWhileLocked() argument
408 rotationSession.set(i); in testRotationWhenDockedWhileLocked()
419 try (final RotationSession rotationSession = new RotationSession()) { in testMinimizedFromEachDockedSide() argument
[all …]
DOverrideConfigTests.java44 try (final RotationSession rotationSession = new RotationSession()) { in testReceiveOverrideConfigFromRelayout() argument
45 rotationSession.set(ROTATION_0); in testReceiveOverrideConfigFromRelayout()
53 rotationSession.set(ROTATION_180); in testReceiveOverrideConfigFromRelayout()
DConfigChangeTests.java157 try(final RotationSession rotationSession = new RotationSession()) { in testRotation180WithCutout() argument
158 final StateCount count1 = getStateCountForRotation(activityName, rotationSession, in testRotation180WithCutout()
160 final StateCount count2 = getStateCountForRotation(activityName, rotationSession, in testRotation180WithCutout()
241 try (final RotationSession rotationSession = new RotationSession()) { in testRotation() argument
242 rotationSession.set(initialRotation); in testRotation()
259 rotationSession.set(rotation); in testRotation()
DPinnedStackTests.java214 try (final RotationSession rotationSession = new RotationSession()) { in testPinnedStackDefaultBounds() argument
215 rotationSession.set(ROTATION_0); in testPinnedStackDefaultBounds()
229 rotationSession.set(ROTATION_90); in testPinnedStackDefaultBounds()
252 try (final RotationSession rotationSession = new RotationSession()) { in testPinnedStackMovementBounds() argument
253 rotationSession.set(ROTATION_0); in testPinnedStackMovementBounds()
267 rotationSession.set(ROTATION_90); in testPinnedStackMovementBounds()
324 try (final RotationSession rotationSession = new RotationSession()) { in testPinnedStackInBoundsAfterRotation() argument
325 rotationSession.set(ROTATION_0); in testPinnedStackInBoundsAfterRotation()
327 rotationSession.set(ROTATION_90); in testPinnedStackInBoundsAfterRotation()
329 rotationSession.set(ROTATION_180); in testPinnedStackInBoundsAfterRotation()
[all …]
DMultiDisplayPolicyTests.java224 try (final RotationSession rotationSession = new RotationSession()) { in testRotationNotAffectingSecondaryScreen() argument
227 rotateAndCheckSameSizes(rotationSession, resizeableActivitySession, initialSize); in testRotationNotAffectingSecondaryScreen()
231 rotationSession.set((initialRotation + 1) % 4); in testRotationNotAffectingSecondaryScreen()
245 private void rotateAndCheckSameSizes(RotationSession rotationSession, in rotateAndCheckSameSizes() argument
248 rotationSession.set(rotation); in rotateAndCheckSameSizes()
DWindowInsetsPolicyTest.java128 try (final RotationSession rotationSession = new RotationSession()) { in testForcedConsumedTopInsets() argument
129 rotationSession.set(naturalOrientationPortrait ? ROTATION_90 : ROTATION_0); in testForcedConsumedTopInsets()
DKeyguardTests.java538 final RotationSession rotationSession = new RotationSession()) { in testUnoccludeRotationChange()
545 rotationSession.set(ROTATION_90); in testUnoccludeRotationChange()
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleTests.java348 try (final RotationSession rotationSession = new RotationSession()) { in testRelaunchConfigurationChangedWhileBecomingVisible() argument
350 rotationSession, translucentActivity.getDisplay().getDisplayId())) { in testRelaunchConfigurationChangedWhileBecomingVisible()
356 final int current = rotationSession.get(); in testRelaunchConfigurationChangedWhileBecomingVisible()
361 rotationSession.set(ROTATION_90); in testRelaunchConfigurationChangedWhileBecomingVisible()
365 rotationSession.set(ROTATION_0); in testRelaunchConfigurationChangedWhileBecomingVisible()