Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowTokenTests.java158 final int originalRotation = config.windowConfiguration.getRotation(); in testFinishFixedRotationTransform() local
159 final int targetRotation = (originalRotation + 1) % 4; in testFinishFixedRotationTransform()
177 assertEquals(originalRotation, tokens[0].getWindowConfiguration().getRotation()); in testFinishFixedRotationTransform()
179 assertNotEquals(originalRotation, tokens[1].getWindowConfiguration().getRotation()); in testFinishFixedRotationTransform()
183 assertEquals(originalRotation, tokens[1].getWindowConfiguration().getRotation()); in testFinishFixedRotationTransform()
DActivityRecordTests.java1734 final int originalRotation = display.getRotation(); in testActivityOnCancelFixedRotationTransform() local
1738 doReturn((originalRotation + 1) % 4).when(displayRotation).rotationForOrientation( in testActivityOnCancelFixedRotationTransform()
1755 doReturn(originalRotation).when(displayRotation).rotationForOrientation( in testActivityOnCancelFixedRotationTransform()
1763 rotationAnim.setRotation(display.getPendingTransaction(), originalRotation); in testActivityOnCancelFixedRotationTransform() local
1788 activity.onCancelFixedRotationTransform(originalRotation); in testActivityOnCancelFixedRotationTransform()
1790 verify(activity).startFreezingScreen(originalRotation); in testActivityOnCancelFixedRotationTransform()
/frameworks/base/services/core/java/com/android/server/wm/
DScreenRotationAnimation.java145 ScreenRotationAnimation(DisplayContent displayContent, @Surface.Rotation int originalRotation) { in ScreenRotationAnimation() argument
169 mOriginalRotation = originalRotation; in ScreenRotationAnimation()
174 final int delta = deltaRotation(originalRotation, realOriginalRotation); in ScreenRotationAnimation()
257 if (originalRotation == realOriginalRotation) { in ScreenRotationAnimation()
DWindowToken.java612 final int originalRotation = getWindowConfiguration().getRotation(); in cancelFixedRotationTransform() local
614 onCancelFixedRotationTransform(originalRotation); in cancelFixedRotationTransform()
DWindowManagerService.java5755 final int originalRotation = overrideOriginalRotation != ROTATION_UNDEFINED in startFreezingDisplay() local
5759 originalRotation)); in startFreezingDisplay()