Searched refs:rotationSession (Results 1 – 8 of 8) sorted by relevance
147 try (final RotationSession rotationSession = new RotationSession()) { in testConfigurationUpdatesWhenRotatingWhileFullscreen() argument148 rotationSession.set(ROTATION_0); in testConfigurationUpdatesWhenRotatingWhileFullscreen()156 rotateAndCheckSizes(rotationSession, initialSizes); in testConfigurationUpdatesWhenRotatingWhileFullscreen()169 try (final RotationSession rotationSession = new RotationSession()) { in testConfigurationUpdatesWhenRotatingWhileDocked() argument170 rotationSession.set(ROTATION_0); in testConfigurationUpdatesWhenRotatingWhileDocked()183 rotateAndCheckSizes(rotationSession, initialSizes); in testConfigurationUpdatesWhenRotatingWhileDocked()196 try (final RotationSession rotationSession = new RotationSession()) { in testConfigurationUpdatesWhenRotatingToSideFromDocked() argument197 rotationSession.set(ROTATION_0); in testConfigurationUpdatesWhenRotatingToSideFromDocked()206 rotateAndCheckSizes(rotationSession, initialSizes); in testConfigurationUpdatesWhenRotatingToSideFromDocked()210 private void rotateAndCheckSizes(RotationSession rotationSession, ReportedSizes prevSizes) in rotateAndCheckSizes() argument[all …]
376 try (final RotationSession rotationSession = new RotationSession()) { in testRotationWhenDocked() argument378 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() argument412 rotationSession.set(i); in testRotationWhenDockedWhileLocked()422 try (final RotationSession rotationSession = new RotationSession()) { in testMinimizedFromEachDockedSide() argument[all …]
80 try (final RotationSession rotationSession = new RotationSession()) { in testReceiveOverrideConfigFromRelayout() argument81 rotationSession.set(ROTATION_0); in testReceiveOverrideConfigFromRelayout()91 rotationSession.set(ROTATION_180); in testReceiveOverrideConfigFromRelayout()
97 try (final RotationSession rotationSession = new RotationSession()) { in testRotation() argument98 rotationSession.set(initialRotation); in testRotation()115 rotationSession.set(rotation); in testRotation()
208 try (final RotationSession rotationSession = new RotationSession()) { in testPinnedStackDefaultBounds() argument209 rotationSession.set(ROTATION_0); in testPinnedStackDefaultBounds()218 rotationSession.set(ROTATION_90); in testPinnedStackDefaultBounds()237 try (final RotationSession rotationSession = new RotationSession()) { in testPinnedStackMovementBounds() argument238 rotationSession.set(ROTATION_0); in testPinnedStackMovementBounds()246 rotationSession.set(ROTATION_90); in testPinnedStackMovementBounds()301 try (final RotationSession rotationSession = new RotationSession()) { in testPinnedStackInBoundsAfterRotation() argument302 rotationSession.set(ROTATION_0); in testPinnedStackInBoundsAfterRotation()304 rotationSession.set(ROTATION_90); in testPinnedStackInBoundsAfterRotation()306 rotationSession.set(ROTATION_180); in testPinnedStackInBoundsAfterRotation()[all …]
322 final RotationSession rotationSession = new RotationSession()) { in testUnoccludeRotationChange()329 rotationSession.set(ROTATION_90); in testUnoccludeRotationChange()
1343 try (final RotationSession rotationSession = new RotationSession()) { in testRotationNotAffectingSecondaryScreen() argument1347 rotateAndCheckSameSizes(rotationSession, RESIZEABLE_ACTIVITY); in testRotationNotAffectingSecondaryScreen()1351 rotationSession.set((initialRotation + 1) % 4); in testRotationNotAffectingSecondaryScreen()1369 RotationSession rotationSession, ComponentName activityName) throws Exception { in rotateAndCheckSameSizes() argument1372 rotationSession.set(rotation); in rotateAndCheckSameSizes()
154 try (final RotationSession rotationSession = new RotationSession()) { in testRelaunchConfigurationChangedWhileBecomingVisible() argument155 final int current = rotationSession.get(); in testRelaunchConfigurationChangedWhileBecomingVisible()160 rotationSession.set(ROTATION_90); in testRelaunchConfigurationChangedWhileBecomingVisible()164 rotationSession.set(ROTATION_0); in testRelaunchConfigurationChangedWhileBecomingVisible()