Home
last modified time | relevance | path

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

/cts/tests/framework/base/activitymanager/src/android/server/am/
DActivityManagerAppConfigurationTests.java147 try (final RotationSession rotationSession = new RotationSession()) { in testConfigurationUpdatesWhenRotatingWhileFullscreen() argument
148 rotationSession.set(ROTATION_0); in testConfigurationUpdatesWhenRotatingWhileFullscreen()
156 rotateAndCheckSizes(rotationSession, initialSizes); in testConfigurationUpdatesWhenRotatingWhileFullscreen()
169 try (final RotationSession rotationSession = new RotationSession()) { in testConfigurationUpdatesWhenRotatingWhileDocked() argument
170 rotationSession.set(ROTATION_0); in testConfigurationUpdatesWhenRotatingWhileDocked()
183 rotateAndCheckSizes(rotationSession, initialSizes); in testConfigurationUpdatesWhenRotatingWhileDocked()
196 try (final RotationSession rotationSession = new RotationSession()) { in testConfigurationUpdatesWhenRotatingToSideFromDocked() argument
197 rotationSession.set(ROTATION_0); in testConfigurationUpdatesWhenRotatingToSideFromDocked()
206 rotateAndCheckSizes(rotationSession, initialSizes); in testConfigurationUpdatesWhenRotatingToSideFromDocked()
210 private void rotateAndCheckSizes(RotationSession rotationSession, ReportedSizes prevSizes) in rotateAndCheckSizes() argument
[all …]
DActivityManagerSplitScreenTests.java376 try (final RotationSession rotationSession = new RotationSession()) { in testRotationWhenDocked() argument
378 rotationSession.set(i); in testRotationWhenDocked()
383 rotationSession.set(ROTATION_90); in testRotationWhenDocked()
385 rotationSession.set(ROTATION_270); in testRotationWhenDocked()
387 rotationSession.set(ROTATION_0); in testRotationWhenDocked()
389 rotationSession.set(ROTATION_180); in testRotationWhenDocked()
391 rotationSession.set(ROTATION_0); in testRotationWhenDocked()
408 try (final RotationSession rotationSession = new RotationSession(); in testRotationWhenDockedWhileLocked() argument
412 rotationSession.set(i); in testRotationWhenDockedWhileLocked()
422 try (final RotationSession rotationSession = new RotationSession()) { in testMinimizedFromEachDockedSide() argument
[all …]
DActivityAndWindowManagerOverrideConfigTests.java80 try (final RotationSession rotationSession = new RotationSession()) { in testReceiveOverrideConfigFromRelayout() argument
81 rotationSession.set(ROTATION_0); in testReceiveOverrideConfigFromRelayout()
91 rotationSession.set(ROTATION_180); in testReceiveOverrideConfigFromRelayout()
DActivityManagerConfigChangeTests.java97 try (final RotationSession rotationSession = new RotationSession()) { in testRotation() argument
98 rotationSession.set(initialRotation); in testRotation()
115 rotationSession.set(rotation); in testRotation()
DActivityManagerPinnedStackTests.java208 try (final RotationSession rotationSession = new RotationSession()) { in testPinnedStackDefaultBounds() argument
209 rotationSession.set(ROTATION_0); in testPinnedStackDefaultBounds()
218 rotationSession.set(ROTATION_90); in testPinnedStackDefaultBounds()
237 try (final RotationSession rotationSession = new RotationSession()) { in testPinnedStackMovementBounds() argument
238 rotationSession.set(ROTATION_0); in testPinnedStackMovementBounds()
246 rotationSession.set(ROTATION_90); in testPinnedStackMovementBounds()
301 try (final RotationSession rotationSession = new RotationSession()) { in testPinnedStackInBoundsAfterRotation() argument
302 rotationSession.set(ROTATION_0); in testPinnedStackInBoundsAfterRotation()
304 rotationSession.set(ROTATION_90); in testPinnedStackInBoundsAfterRotation()
306 rotationSession.set(ROTATION_180); in testPinnedStackInBoundsAfterRotation()
[all …]
DKeyguardTests.java322 final RotationSession rotationSession = new RotationSession()) { in testUnoccludeRotationChange()
329 rotationSession.set(ROTATION_90); in testUnoccludeRotationChange()
DActivityManagerMultiDisplayTests.java1343 try (final RotationSession rotationSession = new RotationSession()) { in testRotationNotAffectingSecondaryScreen() argument
1347 rotateAndCheckSameSizes(rotationSession, RESIZEABLE_ACTIVITY); in testRotationNotAffectingSecondaryScreen()
1351 rotationSession.set((initialRotation + 1) % 4); in testRotationNotAffectingSecondaryScreen()
1369 RotationSession rotationSession, ComponentName activityName) throws Exception { in rotateAndCheckSameSizes() argument
1372 rotationSession.set(rotation); in rotateAndCheckSameSizes()
/cts/tests/framework/base/activitymanager/src/android/server/am/lifecycle/
DActivityLifecycleTests.java154 try (final RotationSession rotationSession = new RotationSession()) { in testRelaunchConfigurationChangedWhileBecomingVisible() argument
155 final int current = rotationSession.get(); in testRelaunchConfigurationChangedWhileBecomingVisible()
160 rotationSession.set(ROTATION_90); in testRelaunchConfigurationChangedWhileBecomingVisible()
164 rotationSession.set(ROTATION_0); in testRelaunchConfigurationChangedWhileBecomingVisible()