/aosp14/frameworks/base/services/core/java/com/android/server/wm/utils/ |
H A D | InsetUtils.java | 40 public static void rotateInsets(Rect inOutInsets, int rotationDelta) { in rotateInsets() argument 42 switch (rotationDelta) { in rotateInsets() 55 throw new IllegalArgumentException("Unknown rotation: " + rotationDelta); in rotateInsets()
|
H A D | CoordinateTransforms.java | 139 public static void computeRotationMatrix(int rotationDelta, int w, int h, Matrix outMatrix) { in computeRotationMatrix() argument 140 switch (rotationDelta) { in computeRotationMatrix()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/ |
H A D | CounterRotatorHelper.java | 48 final int rotationDelta = RotationUtils.deltaRotation( in handleClosingChanges() local 53 mLastRotationDelta = rotationDelta; in handleClosingChanges() 69 crot.setup(startTransaction, info.getChange(parent).getLeash(), rotationDelta, in handleClosingChanges()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
H A D | PipAnimationController.java | 175 @Surface.Rotation int rotationDelta) { in getAnimator() argument 180 rotationDelta)); in getAnimator() 196 endBounds, sourceHintRect, direction, startingAngle, rotationDelta)); in getAnimator() 588 @Surface.Rotation int rotationDelta) { in ofBounds() argument 603 if (rotationDelta == ROTATION_90 || rotationDelta == ROTATION_270) { in ofBounds() 608 rotateBounds(rotatedEndRect, initialSourceValue, rotationDelta); in ofBounds() 685 rotateBounds(rotatedEndRect, initialSourceValue, rotationDelta); in ofBounds() 693 if (rotationDelta == ROTATION_90) { in ofBounds() 705 if (rotationDelta == ROTATION_90) { in ofBounds() 720 rotationDelta == ROTATION_270 /* clockwise */); in ofBounds()
|
H A D | PipTransition.java | 336 if (rotationDelta != Surface.ROTATION_0) { in handleRotateDisplay() 653 final int rotationDelta; in startExitAnimation() local 657 rotationDelta = deltaRotation(startRotation, endRotation); in startExitAnimation() 662 rotateBounds(endBounds, destinationBounds, rotationDelta); in startExitAnimation() 664 if (rotationDelta == ROTATION_90) { in startExitAnimation() 677 rotationDelta = Surface.ROTATION_0; in startExitAnimation() 680 rotationDelta, startTransaction); in startExitAnimation() 742 0 /* startingAngle */, rotationDelta); in startExpandAnimation() 877 int rotationDelta = deltaRotation(startRotation, endRotation); in startEnterAnimation() local 911 0 /* startingAngle */, rotationDelta); in startEnterAnimation() [all …]
|
H A D | PipTaskOrganizer.java | 1714 final int rotationDelta = mWaitForFixedRotation in animateResizePip() local 1717 if (rotationDelta != Surface.ROTATION_0) { in animateResizePip() 1718 sourceHintRect = computeRotatedBounds(rotationDelta, direction, destinationBounds, in animateResizePip() 1727 sourceHintRect, direction, startingAngle, rotationDelta); in animateResizePip() 1764 if (rotationDelta != Surface.ROTATION_0) { in animateResizePip() 1777 private @Nullable Rect computeRotatedBounds(int rotationDelta, int direction, in computeRotatedBounds() argument 1789 if (rotationDelta == Surface.ROTATION_270) { in computeRotatedBounds() 1797 rotationDelta); in computeRotatedBounds()
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
H A D | InsetUtilsTest.java | 67 private static Rect rotateCopy(Rect insets, int rotationDelta) { in rotateCopy() argument 69 InsetUtils.rotateInsets(copy, rotationDelta); in rotateCopy()
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | PinnedTaskController.java | 288 final int rotationDelta = RotationUtils.deltaRotation(oldRotation, newRotation); in startSeamlessRotationIfNeeded() local 290 if (sourceHintRect != null && rotationDelta == Surface.ROTATION_270) { in startSeamlessRotationIfNeeded()
|
H A D | DisplayContent.java | 5053 final int rotationDelta = deltaRotation(currentRotation, rotation); in getBounds() local 5054 if (rotationDelta == ROTATION_90 || rotationDelta == ROTATION_270) { in getBounds()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
H A D | DisplayLayout.java | 233 final int rotationDelta = (targetRotation - mRotation + 4) % 4; in rotateTo() local 234 final boolean changeOrient = (rotationDelta % 2) != 0; in rotateTo() 246 mCutout = calculateDisplayCutoutForRotation(mCutout, rotationDelta, origWidth, in rotateTo()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/ |
H A D | SplitLayout.java | 331 final int rotationDelta = (newRotation - mRotation + 4) % 4; in rotateTo() local 332 final boolean changeOrient = (rotationDelta % 2) != 0; in rotateTo()
|