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.java140 final RotationSession rotationSession = createManagedRotationSession(); in testConfigurationUpdatesWhenRotatingWhileFullscreen() local
141 rotationSession.set(ROTATION_0); in testConfigurationUpdatesWhenRotatingWhileFullscreen()
151 rotateAndCheckSizes(rotationSession, resizeableActivityClient, initialSizes); in testConfigurationUpdatesWhenRotatingWhileFullscreen()
163 final RotationSession rotationSession = createManagedRotationSession(); in testConfigurationUpdatesWhenRotatingWhileDocked() local
164 rotationSession.set(ROTATION_0); in testConfigurationUpdatesWhenRotatingWhileDocked()
177 rotateAndCheckSizes(rotationSession, resizeableActivityClient, initialSizes); in testConfigurationUpdatesWhenRotatingWhileDocked()
189 final RotationSession rotationSession = createManagedRotationSession(); in testConfigurationUpdatesWhenRotatingToSideFromDocked() local
190 rotationSession.set(ROTATION_0); in testConfigurationUpdatesWhenRotatingToSideFromDocked()
199 rotateAndCheckSizes(rotationSession, resizeableActivityClient, initialSizes); in testConfigurationUpdatesWhenRotatingToSideFromDocked()
202 private void rotateAndCheckSizes(RotationSession rotationSession, in rotateAndCheckSizes() argument
[all …]
DOverrideConfigTests.java44 final RotationSession rotationSession = createManagedRotationSession(); in testReceiveOverrideConfigFromRelayout() local
45 rotationSession.set(ROTATION_0); in testReceiveOverrideConfigFromRelayout()
53 rotationSession.set(ROTATION_180); in testReceiveOverrideConfigFromRelayout()
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.java132 final RotationSession rotationSession = createManagedRotationSession(); in testForcedConsumedTopInsets() local
133 rotationSession.set(naturalOrientationPortrait ? ROTATION_90 : ROTATION_0); in testForcedConsumedTopInsets()
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.java568 final RotationSession rotationSession = createManagedRotationSession(); in testUnoccludedRotationChange() local
576 rotationSession.set(ROTATION_90); in testUnoccludedRotationChange()
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleTests.java499 final RotationSession rotationSession = createManagedRotationSession(); in testRelaunchConfigurationChangedWhileBecomingVisible() local
501 rotationSession, translucentActivity.getDisplay().getDisplayId())) { in testRelaunchConfigurationChangedWhileBecomingVisible()
507 final int current = rotationSession.get(); in testRelaunchConfigurationChangedWhileBecomingVisible()
512 rotationSession.set(ROTATION_90); in testRelaunchConfigurationChangedWhileBecomingVisible()
516 rotationSession.set(ROTATION_0); in testRelaunchConfigurationChangedWhileBecomingVisible()