Searched refs:originalRotation (Results 1 – 5 of 5) sorted by relevance
158 final int originalRotation = config.windowConfiguration.getRotation(); in testFinishFixedRotationTransform() local159 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()
1734 final int originalRotation = display.getRotation(); in testActivityOnCancelFixedRotationTransform() local1738 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() local1788 activity.onCancelFixedRotationTransform(originalRotation); in testActivityOnCancelFixedRotationTransform()1790 verify(activity).startFreezingScreen(originalRotation); in testActivityOnCancelFixedRotationTransform()
145 ScreenRotationAnimation(DisplayContent displayContent, @Surface.Rotation int originalRotation) { in ScreenRotationAnimation() argument169 mOriginalRotation = originalRotation; in ScreenRotationAnimation()174 final int delta = deltaRotation(originalRotation, realOriginalRotation); in ScreenRotationAnimation()257 if (originalRotation == realOriginalRotation) { in ScreenRotationAnimation()
612 final int originalRotation = getWindowConfiguration().getRotation(); in cancelFixedRotationTransform() local614 onCancelFixedRotationTransform(originalRotation); in cancelFixedRotationTransform()
5755 final int originalRotation = overrideOriginalRotation != ROTATION_UNDEFINED in startFreezingDisplay() local5759 originalRotation)); in startFreezingDisplay()