Home
last modified time | relevance | path

Searched refs:originalRotation (Results 1 – 5 of 5) sorted by relevance

/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DWindowTokenTests.java175 final int originalRotation = config.windowConfiguration.getRotation(); in testFinishFixedRotationTransform() local
176 final int targetRotation = (originalRotation + 1) % 4; in testFinishFixedRotationTransform()
194 assertEquals(originalRotation, tokens[0].getWindowConfiguration().getRotation()); in testFinishFixedRotationTransform()
196 assertNotEquals(originalRotation, tokens[1].getWindowConfiguration().getRotation()); in testFinishFixedRotationTransform()
200 assertEquals(originalRotation, tokens[1].getWindowConfiguration().getRotation()); in testFinishFixedRotationTransform()
H A DActivityRecordTests.java1937 final int originalRotation = display.getRotation(); in testActivityOnCancelFixedRotationTransform() local
1941 doReturn((originalRotation + 1) % 4).when(displayRotation).rotationForOrientation( in testActivityOnCancelFixedRotationTransform()
1958 doReturn(originalRotation).when(displayRotation).rotationForOrientation( in testActivityOnCancelFixedRotationTransform()
1966 rotationAnim.setRotation(display.getPendingTransaction(), originalRotation); in testActivityOnCancelFixedRotationTransform() local
1991 activity.onCancelFixedRotationTransform(originalRotation); in testActivityOnCancelFixedRotationTransform()
1993 verify(activity).startFreezingScreen(originalRotation); in testActivityOnCancelFixedRotationTransform()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DScreenRotationAnimation.java138 ScreenRotationAnimation(DisplayContent displayContent, @Surface.Rotation int originalRotation) { in ScreenRotationAnimation() argument
150 mOriginalRotation = originalRotation; in ScreenRotationAnimation()
155 final int delta = deltaRotation(originalRotation, realOriginalRotation); in ScreenRotationAnimation()
294 if (originalRotation == realOriginalRotation) { in ScreenRotationAnimation()
H A DWindowToken.java575 final int originalRotation = getWindowConfiguration().getRotation(); in cancelFixedRotationTransform() local
577 onCancelFixedRotationTransform(originalRotation); in cancelFixedRotationTransform()
H A DWindowManagerService.java6190 final int originalRotation = overrideOriginalRotation != ROTATION_UNDEFINED in doStartFreezingDisplay() local
6194 originalRotation)); in doStartFreezingDisplay()