Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/utils/
DInsetUtils.java40 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()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipAnimationController.java160 @Surface.Rotation int rotationDelta) { in getAnimator() argument
165 rotationDelta)); in getAnimator()
181 endBounds, sourceHintRect, direction, startingAngle, rotationDelta)); in getAnimator()
520 @Surface.Rotation int rotationDelta) { in ofBounds() argument
535 if (rotationDelta == ROTATION_90 || rotationDelta == ROTATION_270) { in ofBounds()
540 rotateBounds(rotatedEndRect, initialSourceValue, rotationDelta); in ofBounds()
613 rotateBounds(rotatedEndRect, initialSourceValue, rotationDelta); in ofBounds()
620 if (rotationDelta == ROTATION_90) { in ofBounds()
632 rotationDelta == ROTATION_270 /* clockwise */) in ofBounds()
DPipTaskOrganizer.java1291 final int rotationDelta = mWaitForFixedRotation in animateResizePip() local
1294 if (rotationDelta != Surface.ROTATION_0) { in animateResizePip()
1295 sourceHintRect = computeRotatedBounds(rotationDelta, direction, destinationBounds, in animateResizePip()
1302 sourceHintRect, direction, startingAngle, rotationDelta); in animateResizePip()
1315 if (rotationDelta != Surface.ROTATION_0) { in animateResizePip()
1324 private @Nullable Rect computeRotatedBounds(int rotationDelta, int direction, in computeRotatedBounds() argument
1335 if (rotationDelta == Surface.ROTATION_270) { in computeRotatedBounds()
1343 rotationDelta); in computeRotatedBounds()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DInsetUtilsTest.java67 private static Rect rotateCopy(Rect insets, int rotationDelta) { in rotateCopy() argument
69 InsetUtils.rotateInsets(copy, rotationDelta); in rotateCopy()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayLayout.java187 final int rotationDelta = (targetRotation - mRotation + 4) % 4; in rotateTo() local
188 final boolean changeOrient = (rotationDelta % 2) != 0; in rotateTo()
200 mCutout = calculateDisplayCutoutForRotation(mCutout, rotationDelta, origWidth, in rotateTo()
/frameworks/base/services/core/java/com/android/server/wm/
DPinnedTaskController.java287 final int rotationDelta = RotationUtils.deltaRotation(oldRotation, newRotation); in startSeamlessRotationIfNeeded() local
289 if (sourceHintRect != null && rotationDelta == Surface.ROTATION_270) { in startSeamlessRotationIfNeeded()
DDisplayContent.java4396 final int rotationDelta = deltaRotation(currentRotation, rotation); in getBounds() local
4397 if (rotationDelta == ROTATION_90 || rotationDelta == ROTATION_270) { in getBounds()