Home
last modified time | relevance | path

Searched refs:deltaRotation (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavbarOrientationTrackingLogger.kt61 when (deltaRotation(oldRotation, newRotation)) { in getDeltaRotation()
75 private fun deltaRotation(oldRotation: Int, newRotation: Int): Int { in deltaRotation() method in com.android.systemui.navigationbar.NavbarOrientationTrackingLogger
DNavigationBar.java961 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/
DPreviewPositionHelper.java196 private boolean isOrientationChange(int deltaRotation) { in isOrientationChange() argument
197 return deltaRotation == ROTATION_90 || deltaRotation == ROTATION_270; in isOrientationChange()
/frameworks/base/core/java/android/util/
DRotationUtils.java90 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/
DScreenRotationAnimation.java19 import static android.util.RotationUtils.deltaRotation;
211 final int delta = deltaRotation(mEndRotation, mStartRotation); in setScreenshotTransform()
272 int delta = deltaRotation(mEndRotation, mStartRotation); in buildAnimation()
DCounterRotatorHelper.java48 final int rotationDelta = RotationUtils.deltaRotation( in handleClosingChanges()
/frameworks/base/services/core/java/com/android/server/wm/
DPinnedTaskController.java288 final int rotationDelta = RotationUtils.deltaRotation(oldRotation, newRotation); in startSeamlessRotationIfNeeded()
292 final int rotationBackDelta = RotationUtils.deltaRotation(newRotation, oldRotation); in startSeamlessRotationIfNeeded()
DScreenRotationAnimation.java20 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()
DWindowContainer.java3667 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 …]
DWindowToken.java666 @Surface.Rotation int deltaRotation, SurfaceControl positionLeash) { in updateSurfaceRotation() argument
677 super.updateSurfaceRotation(t, deltaRotation, positionLeash); in updateSurfaceRotation()
DDisplayContent.java39 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/
DPipTransition.java22 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()
DPipTaskOrganizer.java23 import static android.util.RotationUtils.deltaRotation;
1812 ? deltaRotation(mCurrentRotation, mNextRotation) in animateResizePip()
/frameworks/base/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/
DUdfpsUtils.java233 RotationUtils.deltaRotation(rot, Surface.ROTATION_0), in getPortraitTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/udfps/
DSinglePointerTouchProcessor.kt179 RotationUtils.deltaRotation(rot, Surface.ROTATION_0), in rotateToNaturalOrientation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardService.java159 int rotateDelta = RotationUtils.deltaRotation(change.getStartRotation(), in wrap()
/frameworks/base/core/java/android/view/
DDisplayCutout.java1318 final int rotation = RotationUtils.deltaRotation(fromRotation, toRotation);