/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/ |
D | RotationProvider.java | 90 int newRotation; in RotationProvider() 96 newRotation = sensorOrientationToRotationDegrees(orientation); in RotationProvider() 98 if (mRotation != newRotation) { in RotationProvider() 99 mRotation = newRotation; in RotationProvider() 104 if (originalRotation != newRotation) { in RotationProvider() 106 listenerWrapper.onRotationChanged(newRotation); in RotationProvider()
|
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/viewmodel/ |
D | DeviceRotationViewModel.java | 100 @Surface.Rotation int newRotation = getRotation(); in getLiveData() local 101 if (lastRotation == null || lastRotation != newRotation) { in getLiveData() 102 Log.d(TAG, "getLiveData, update rotation from " + lastRotation + " to " + newRotation); in getLiveData() 103 mLiveData.setValue(newRotation); in getLiveData()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | BaseUnfoldMoveFromCenterAnimator.java | 151 public void onRotationChanged(@Rotation int newRotation) { in onRotationChanged() argument 152 onRotationChangedInternal(newRotation); in onRotationChanged() 156 private void onRotationChangedInternal(@Rotation int newRotation) { in onRotationChangedInternal() argument 157 mMoveFromCenterAnimation.updateDisplayProperties(newRotation); in onRotationChangedInternal()
|
D | RecentsOrientedState.java | 148 int newRotation = getRotationForUserDegreesRotated(degrees, mPreviousRotation); in RecentsOrientedState() 149 if (newRotation != mPreviousRotation) { in RecentsOrientedState() 150 mPreviousRotation = newRotation; in RecentsOrientedState() 151 rotationChangeListener.accept(newRotation); in RecentsOrientedState()
|
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/view/ |
D | FingerprintEnrollEnrollingUdfpsFragment.kt | 607 private fun onRotationChanged(newRotation: Int) { in <lambda>() 608 if ((newRotation + 2) % 4 == rotation) { in <lambda>() 609 rotation = newRotation in <lambda>() 610 requireContext().configLayout(newRotation, titleText, subTitleText, icon, skipBtn) in <lambda>() 647 @Surface.Rotation newRotation: Int, in Context() 653 if (newRotation == ROTATION_270) { in Context() 672 } else if (newRotation == ROTATION_90) { in Context() 697 if (newRotation == ROTATION_90 || newRotation == ROTATION_270) { in Context()
|
D | FingerprintEnrollFindSfpsFragment.kt | 209 private fun onRotationChanged(@Surface.Rotation newRotation: Int) { in <lambda>() 211 Log.d(TAG, "onRotationChanged() from $animationRotation to $newRotation") in <lambda>() 213 if ((newRotation + 2) % 4 == animationRotation) { in <lambda>() 215 playLottieAnimation(newRotation) in <lambda>()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | RotationUtils.java | 70 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/ |
D | RotationTouchHelper.java | 166 int newRotation = RecentsOrientedState.getRotationForUserDegreesRotated(degrees, in init() 168 if (newRotation == mSensorRotation) { in init() 172 mSensorRotation = newRotation; in init() 175 if (newRotation == mCurrentAppRotation) { in init()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/math/ |
D | MatrixTest.java | 69 Matrix transform = Matrix.newRotation(Quaternion.axisAngle(new Vector3(0, 1, 0), F_PI)); in transformPoint_rotate180AroundOrthogonalFlipsVector() 101 Matrix rotationMat = Matrix.newRotation(pose.rotation); in newRigidTransform_isEquivalentToTrsWithoutScale() 128 Matrix rotationMat = Matrix.newRotation(rotation); in newTrs_isEquivalentToMultiplyingTranslationRotationScale()
|
D | PoseTest.java | 49 Matrix.newRotation(new Quaternion(0, 1, 0, 0)), in testMatrix()
|
/packages/apps/Launcher3/src/com/android/launcher3/states/ |
D | RotationHelper.java | 232 public static int deltaRotation(int oldRotation, int newRotation) { in deltaRotation() argument 233 int delta = newRotation - oldRotation; in deltaRotation()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/math/ |
D | Matrix.java | 274 public static Matrix newRotation(Quaternion rotation) { in newRotation() method in Matrix
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/ |
D | FlingUpDownMethod.java | 125 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/ |
D | RecentsView.java | 2675 private void animateRecentsRotationInPlace(int newRotation) { in animateRecentsRotationInPlace() argument 2682 animateRotation(newRotation); in animateRecentsRotationInPlace() 2686 animateRotation(newRotation); in animateRecentsRotationInPlace() 2693 private void animateRotation(int newRotation) { in animateRotation() argument 2697 setLayoutRotation(newRotation, mOrientationState.getDisplayRotation()); in animateRotation()
|