Searched refs:newRotation (Results 1 – 6 of 6) sorted by relevance
162 int newRotation = RecentsOrientedState.getRotationForUserDegreesRotated(degrees, in init()164 if (newRotation == mSensorRotation) { in init()168 mSensorRotation = newRotation; in init()171 if (newRotation == mCurrentAppRotation) { in init()
144 int newRotation = getRotationForUserDegreesRotated(degrees, mPreviousRotation); in RecentsOrientedState()145 if (newRotation != mPreviousRotation) { in RecentsOrientedState()146 mPreviousRotation = newRotation; in RecentsOrientedState()147 rotationChangeListener.accept(newRotation); in RecentsOrientedState()
196 public static int deltaRotation(int oldRotation, int newRotation) { in deltaRotation() argument197 int delta = newRotation - oldRotation; in deltaRotation()
597 private int getRotationDelta(int oldRotation, int newRotation) { in getRotationDelta() argument598 int delta = newRotation - oldRotation; in getRotationDelta()
1709 private void animateRecentsRotationInPlace(int newRotation) { in animateRecentsRotationInPlace() argument1716 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