/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/ |
D | NavbarOrientationTrackingLogger.kt | 61 when (deltaRotation(oldRotation, newRotation)) { in getDeltaRotation() 75 private fun deltaRotation(oldRotation: Int, newRotation: Int): Int { in deltaRotation() method in com.android.systemui.navigationbar.NavbarOrientationTrackingLogger
|
D | NavigationBar.java | 961 int deltaRotation = deltaRotation(mCurrentRotation, mStartingQuickSwitchRotation); in orientSecondaryHomeHandle() local 962 if (mStartingQuickSwitchRotation == -1 || deltaRotation == -1) { in orientSecondaryHomeHandle() 964 Log.d(TAG, "secondary nav delta rotation: " + deltaRotation in orientSecondaryHomeHandle() 971 mOrientationHandle.setDeltaRotation(deltaRotation); in orientSecondaryHomeHandle() 972 switch (deltaRotation) { in orientSecondaryHomeHandle() 991 deltaRotation == Surface.ROTATION_0 ? Gravity.BOTTOM : in orientSecondaryHomeHandle() 992 (deltaRotation == Surface.ROTATION_90 ? Gravity.LEFT : Gravity.RIGHT); in orientSecondaryHomeHandle() 1052 private int deltaRotation(int oldRotation, int newRotation) { in deltaRotation() method in NavigationBar
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
D | PreviewPositionHelper.java | 196 private boolean isOrientationChange(int deltaRotation) { in isOrientationChange() argument 197 return deltaRotation == ROTATION_90 || deltaRotation == ROTATION_270; in isOrientationChange()
|
/frameworks/base/core/java/android/util/ |
D | RotationUtils.java | 90 rotateBounds(inOutBounds, parentBounds, deltaRotation(oldRotation, newRotation)); in rotateBounds() 141 public static int deltaRotation(@Rotation int oldRotation, @Rotation int newRotation) { in deltaRotation() method in RotationUtils
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/ |
D | ScreenRotationAnimation.java | 19 import static android.util.RotationUtils.deltaRotation; 211 final int delta = deltaRotation(mEndRotation, mStartRotation); in setScreenshotTransform() 272 int delta = deltaRotation(mEndRotation, mStartRotation); in buildAnimation()
|
D | CounterRotatorHelper.java | 48 final int rotationDelta = RotationUtils.deltaRotation( in handleClosingChanges()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | PinnedTaskController.java | 288 final int rotationDelta = RotationUtils.deltaRotation(oldRotation, newRotation); in startSeamlessRotationIfNeeded() 292 final int rotationBackDelta = RotationUtils.deltaRotation(newRotation, oldRotation); in startSeamlessRotationIfNeeded()
|
D | ScreenRotationAnimation.java | 20 import static android.util.RotationUtils.deltaRotation; 156 final int delta = deltaRotation(originalRotation, realOriginalRotation); in ScreenRotationAnimation() 393 int delta = deltaRotation(rotation, mOriginalRotation); in setRotation() 414 int delta = deltaRotation(mCurRotation, mOriginalRotation); in startAnimation()
|
D | WindowContainer.java | 3667 final int deltaRotation = getRelativeDisplayRotation(); in updateSurfacePosition() local 3668 if (mTmpPos.equals(mLastSurfacePosition) && deltaRotation == mLastDeltaRotation) { in updateSurfacePosition() 3678 if (deltaRotation != Surface.ROTATION_0) { in updateSurfacePosition() 3679 updateSurfaceRotation(t, deltaRotation, null /* positionLeash */); in updateSurfacePosition() 3682 } else if (deltaRotation != mLastDeltaRotation) { in updateSurfacePosition() 3687 mLastDeltaRotation = deltaRotation; in updateSurfacePosition() 3695 protected void updateSurfaceRotation(Transaction t, @Surface.Rotation int deltaRotation, in updateSurfaceRotation() argument 3698 RotationUtils.rotateSurface(t, mSurfaceControl, deltaRotation); in updateSurfaceRotation() 3701 final boolean flipped = (deltaRotation % 2) != 0; in updateSurfaceRotation() 3702 RotationUtils.rotatePoint(mTmpPos, deltaRotation, in updateSurfaceRotation() [all …]
|
D | WindowToken.java | 666 @Surface.Rotation int deltaRotation, SurfaceControl positionLeash) { in updateSurfaceRotation() argument 677 super.updateSurfaceRotation(t, deltaRotation, positionLeash); in updateSurfaceRotation()
|
D | DisplayContent.java | 39 import static android.util.RotationUtils.deltaRotation; 5094 final int rotationDelta = deltaRotation(currentRotation, rotation); in getBounds()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
D | PipTransition.java | 22 import static android.util.RotationUtils.deltaRotation; 398 int rotationDelta = deltaRotation(startRotation, endRotation); in handleRotateDisplay() 763 rotationDelta = deltaRotation(startRotation, endRotation); in startExitAnimation() 795 final int rotateDelta = deltaRotation(displayRotationChange.getStartRotation(), in startExpandAndRotationAnimation() 810 final int pipRotateDelta = deltaRotation(rotateDelta, 0); in startExpandAndRotationAnimation() 1006 int rotationDelta = deltaRotation(startRotation, endRotation); in startEnterAnimation()
|
D | PipTaskOrganizer.java | 23 import static android.util.RotationUtils.deltaRotation; 1812 ? deltaRotation(mCurrentRotation, mNextRotation) in animateResizePip()
|
/frameworks/base/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/ |
D | UdfpsUtils.java | 233 RotationUtils.deltaRotation(rot, Surface.ROTATION_0), in getPortraitTouch()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/udfps/ |
D | SinglePointerTouchProcessor.kt | 179 RotationUtils.deltaRotation(rot, Surface.ROTATION_0), in rotateToNaturalOrientation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardService.java | 159 int rotateDelta = RotationUtils.deltaRotation(change.getStartRotation(), in wrap()
|
/frameworks/base/core/java/android/view/ |
D | DisplayCutout.java | 1318 final int rotation = RotationUtils.deltaRotation(fromRotation, toRotation);
|