Searched refs:initialRotation (Results 1 – 2 of 2) sorted by relevance
163 int currentRotation, int initialRotation, boolean canHandleConfigChange) { in prepareRotation() argument164 final boolean is90DegreeDelta = Math.abs(currentRotation - initialRotation) % 2 != 0; in prepareRotation()168 session.set(initialRotation); in prepareRotation()211 final int initialRotation = 4 - rotationStep; in testRotation() local213 prepareRotation(activityName, rotationSession, mWmState.getRotation(), initialRotation, in testRotation()222 } else if (newDeviceRotation != initialRotation) { in testRotation()
217 final int initialRotation = mWmState.getRotation(); in testRotationNotAffectingSecondaryScreen() local218 rotationSession.set((initialRotation + 1) % 4); in testRotationNotAffectingSecondaryScreen()