Searched refs:newRotation (Results 1 – 7 of 7) sorted by relevance
163 int newRotation = RecentsOrientedState.getRotationForUserDegreesRotated(degrees, in init()165 if (newRotation == mSensorRotation) { in init()169 mSensorRotation = newRotation; in init()172 if (newRotation == mCurrentAppRotation) { in init()
70 public static int deltaRotation(int oldRotation, int newRotation) { in deltaRotation() argument71 int delta = newRotation - oldRotation; in deltaRotation()
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()
138 public void onRotationChanged(@Rotation int newRotation) { in onRotationChanged() argument139 mMoveFromCenterAnimation.updateDisplayProperties(newRotation); in onRotationChanged()
221 public static int deltaRotation(int oldRotation, int newRotation) { in deltaRotation() argument222 int delta = newRotation - oldRotation; in deltaRotation()
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
2425 private void animateRecentsRotationInPlace(int newRotation) { in animateRecentsRotationInPlace() argument2432 setLayoutRotation(newRotation, mOrientationState.getDisplayRotation()); in animateRecentsRotationInPlace()