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.java144 final RotationSession rotationSession = createManagedRotationSession(); in testConfigurationUpdatesWhenRotatingWhileFullscreen() local
145 rotationSession.set(ROTATION_0); in testConfigurationUpdatesWhenRotatingWhileFullscreen()
155 rotateAndCheckSizes(rotationSession, resizeableActivityClient, initialSizes); in testConfigurationUpdatesWhenRotatingWhileFullscreen()
167 final RotationSession rotationSession = createManagedRotationSession(); in testConfigurationUpdatesWhenRotatingWhileDocked() local
168 rotationSession.set(ROTATION_0); in testConfigurationUpdatesWhenRotatingWhileDocked()
181 rotateAndCheckSizes(rotationSession, resizeableActivityClient, initialSizes); in testConfigurationUpdatesWhenRotatingWhileDocked()
193 final RotationSession rotationSession = createManagedRotationSession(); in testConfigurationUpdatesWhenRotatingToSideFromDocked() local
194 rotationSession.set(ROTATION_0); in testConfigurationUpdatesWhenRotatingToSideFromDocked()
203 rotateAndCheckSizes(rotationSession, resizeableActivityClient, initialSizes); in testConfigurationUpdatesWhenRotatingToSideFromDocked()
206 private void rotateAndCheckSizes(RotationSession rotationSession, in rotateAndCheckSizes() argument
[all …]
DConfigChangeTests.java126 final RotationSession rotationSession = createManagedRotationSession(); in testRotation180WithCutout() local
128 rotationSession, ROTATION_0 /* before */, ROTATION_180 /* after */, in testRotation180WithCutout()
134 rotationSession, ROTATION_90 /* before */, ROTATION_270 /* after */, in testRotation180WithCutout()
212 final RotationSession rotationSession = createManagedRotationSession(); in testRotation() local
213 prepareRotation(activityName, rotationSession, mWmState.getRotation(), initialRotation, in testRotation()
230 rotationSession.set(rotation); in testRotation()
DDreamManagerServiceTests.java205 final RotationSession rotationSession = createManagedRotationSession(); in testDreamNotFinishAfterRotation() local
206 rotationSession.set(Surface.ROTATION_0); in testDreamNotFinishAfterRotation()
209 rotationSession.set(Surface.ROTATION_90); in testDreamNotFinishAfterRotation()
DMultiDisplayPolicyTests.java212 final RotationSession rotationSession = createManagedRotationSession(); in testRotationNotAffectingSecondaryScreen() local
214 rotateAndCheckSameSizes(rotationSession, resizeableActivitySession, initialSize); in testRotationNotAffectingSecondaryScreen()
218 rotationSession.set((initialRotation + 1) % 4); in testRotationNotAffectingSecondaryScreen()
230 private void rotateAndCheckSameSizes(RotationSession rotationSession, in rotateAndCheckSameSizes() argument
233 rotationSession.set(rotation); in rotateAndCheckSameSizes()
DWindowInsetsPolicyTest.java138 final RotationSession rotationSession = createManagedRotationSession(); in testForcedConsumedTopInsets() local
139 rotationSession.set(naturalOrientationPortrait ? ROTATION_90 : ROTATION_0); in testForcedConsumedTopInsets()
DCompatChangeTests.java576 final RotationSession rotationSession = createManagedRotationSession(); in runLetterboxSandboxTest() local
580 rotationSession.set(ROTATION_90); in runLetterboxSandboxTest()
DPinnedStackTests.java237 final RotationSession rotationSession = createManagedRotationSession(); in testPinnedStackInBoundsAfterRotation() local
238 rotationSession.set(ROTATION_0); in testPinnedStackInBoundsAfterRotation()
240 rotationSession.set(ROTATION_90); in testPinnedStackInBoundsAfterRotation()
242 rotationSession.set(ROTATION_180); in testPinnedStackInBoundsAfterRotation()
244 rotationSession.set(ROTATION_270); in testPinnedStackInBoundsAfterRotation()
DKeyguardTests.java571 final RotationSession rotationSession = createManagedRotationSession(); in testUnoccludedRotationChange() local
579 rotationSession.set(ROTATION_90); in testUnoccludedRotationChange()
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleTests.java493 final RotationSession rotationSession = createManagedRotationSession(); in testRelaunchConfigurationChangedWhileBecomingVisible() local
495 rotationSession, translucentActivity.getDisplay().getDisplayId())) { in testRelaunchConfigurationChangedWhileBecomingVisible()
501 final int current = rotationSession.get(); in testRelaunchConfigurationChangedWhileBecomingVisible()
506 rotationSession.set(ROTATION_90); in testRelaunchConfigurationChangedWhileBecomingVisible()
510 rotationSession.set(ROTATION_0); in testRelaunchConfigurationChangedWhileBecomingVisible()