Searched refs:initialRotation (Results 1 – 4 of 4) sorted by relevance
170 int currentRotation, int initialRotation, boolean canHandleConfigChange) { in prepareRotation() argument171 final boolean is90DegreeDelta = Math.abs(currentRotation - initialRotation) % 2 != 0; in prepareRotation()175 session.set(initialRotation); in prepareRotation()218 final int initialRotation = 4 - rotationStep; in testRotation() local220 prepareRotation(activityName, rotationSession, mWmState.getRotation(), initialRotation, in testRotation()229 } else if (newDeviceRotation != initialRotation) { in testRotation()
211 final int initialRotation = mActivity.getDisplay().getRotation(); in testDisplayCapture_rotation() local221 rotateDeviceAndWaitForActivity(rotationSession, initialRotation); in testDisplayCapture_rotation()302 @NonNull RotationSession rotationSession, @Surface.Rotation int initialRotation) { in rotateDeviceAndWaitForActivity() argument304 rotationSession.set((initialRotation + 1) % (ROTATION_270 + 1), in rotateDeviceAndWaitForActivity()
235 final int initialRotation = activityA.getDisplay().getRotation(); in testSplitAttributesCalculatorInvocation_screenRotation() local238 final int rotation = (initialRotation + i) % 4; in testSplitAttributesCalculatorInvocation_screenRotation()
224 final int initialRotation = mWmState.getRotation(); in testRotationNotAffectingSecondaryScreen() local225 rotationSession.set((initialRotation + 1) % 4); in testRotationNotAffectingSecondaryScreen()