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.java143 final int originalRotation = config.windowConfiguration.getRotation(); in testFinishFixedRotationTransform() local
144 final int targetRotation = (originalRotation + 1) % 4; in testFinishFixedRotationTransform()
158 assertEquals(originalRotation, appToken.getWindowConfiguration().getRotation()); in testFinishFixedRotationTransform()
159 assertEquals(originalRotation, wallpaperToken.getWindowConfiguration().getRotation()); in testFinishFixedRotationTransform()
DActivityRecordTests.java1429 final int originalRotation = display.getRotation(); in testActivityOnCancelFixedRotationTransform() local
1433 doReturn((originalRotation + 1) % 4).when(displayRotation).rotationForOrientation( in testActivityOnCancelFixedRotationTransform()
1450 doReturn(originalRotation).when(displayRotation).rotationForOrientation( in testActivityOnCancelFixedRotationTransform()
1458 rotationAnim.setRotation(display.getPendingTransaction(), originalRotation); in testActivityOnCancelFixedRotationTransform() local
/frameworks/base/services/core/java/com/android/server/wm/
DScreenRotationAnimation.java143 ScreenRotationAnimation(DisplayContent displayContent, @Surface.Rotation int originalRotation) { in ScreenRotationAnimation() argument
173 mOriginalRotation = originalRotation; in ScreenRotationAnimation()
178 final int delta = DisplayContent.deltaRotation(originalRotation, realOriginalRotation); in ScreenRotationAnimation()
DWindowToken.java667 final int originalRotation = getWindowConfiguration().getRotation(); in cancelFixedRotationTransform() local
669 onCancelFixedRotationTransform(originalRotation); in cancelFixedRotationTransform()
DWindowManagerService.java5597 final int originalRotation = overrideOriginalRotation != ROTATION_UNDEFINED in startFreezingDisplay() local
5601 originalRotation)); in startFreezingDisplay()