Searched refs:newRotation (Results 1 – 6 of 6) sorted by relevance
151 int newRotation = getRotationForUserDegreesRotated(degrees, mPreviousRotation); in RecentsOrientedState()152 if (newRotation != mPreviousRotation) { in RecentsOrientedState()153 mPreviousRotation = newRotation; in RecentsOrientedState()154 rotationChangeListener.accept(newRotation); in RecentsOrientedState()
248 int newRotation = RecentsOrientedState.getRotationForUserDegreesRotated(degrees, in RecentsAnimationDeviceState()250 if (newRotation == mSensorRotation) { in RecentsAnimationDeviceState()254 mSensorRotation = newRotation; in RecentsAnimationDeviceState()257 if (newRotation == mCurrentAppRotation) { in RecentsAnimationDeviceState()
219 public static int deltaRotation(int oldRotation, int newRotation) { in deltaRotation() argument220 int delta = newRotation - oldRotation; in deltaRotation()
569 private int getRotationDelta(int oldRotation, int newRotation) { in getRotationDelta() argument570 int delta = newRotation - oldRotation; in getRotationDelta()
1072 private void animateRecentsRotationInPlace(int newRotation) { in animateRecentsRotationInPlace() argument1079 setLayoutRotation(newRotation, mOrientationState.getDisplayRotation()); in animateRecentsRotationInPlace()
125 private static void rotateToward(View view, float newRotation) { in rotateToward() argument126 view.setRotation(MathUtil.lerp(view.getRotation(), newRotation, SWIPE_LERP_PROGRESS_FACTOR)); in rotateToward() local