Home
last modified time | relevance | path

Searched refs:newRotation (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DRotationTouchHelper.java163 int newRotation = RecentsOrientedState.getRotationForUserDegreesRotated(degrees, in init()
165 if (newRotation == mSensorRotation) { in init()
169 mSensorRotation = newRotation; in init()
172 if (newRotation == mCurrentAppRotation) { in init()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DRotationUtils.java70 public static int deltaRotation(int oldRotation, int newRotation) { in deltaRotation() argument
71 int delta = newRotation - oldRotation; in deltaRotation()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DRecentsOrientedState.java144 int newRotation = getRotationForUserDegreesRotated(degrees, mPreviousRotation); in RecentsOrientedState()
145 if (newRotation != mPreviousRotation) { in RecentsOrientedState()
146 mPreviousRotation = newRotation; in RecentsOrientedState()
147 rotationChangeListener.accept(newRotation); in RecentsOrientedState()
DBaseUnfoldMoveFromCenterAnimator.java138 public void onRotationChanged(@Rotation int newRotation) { in onRotationChanged() argument
139 mMoveFromCenterAnimation.updateDisplayProperties(newRotation); in onRotationChanged()
/packages/apps/Launcher3/src/com/android/launcher3/states/
DRotationHelper.java221 public static int deltaRotation(int oldRotation, int newRotation) { in deltaRotation() argument
222 int delta = newRotation - oldRotation; in deltaRotation()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/
DFlingUpDownMethod.java125 private static void rotateToward(View view, float newRotation) { in rotateToward() argument
126 view.setRotation(MathUtil.lerp(view.getRotation(), newRotation, SWIPE_LERP_PROGRESS_FACTOR)); in rotateToward() local
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DRecentsView.java2425 private void animateRecentsRotationInPlace(int newRotation) { in animateRecentsRotationInPlace() argument
2432 setLayoutRotation(newRotation, mOrientationState.getDisplayRotation()); in animateRecentsRotationInPlace()