Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/tests/coretests/src/android/util/
H A DRotationUtilsTest.java19 import static android.util.RotationUtils.rotateBounds;
55 rotateBounds(testResult, testParent, ROTATION_90); in testRotateBounds()
59 rotateBounds(testResult, testParent, ROTATION_180); in testRotateBounds()
63 rotateBounds(testResult, testParent, ROTATION_270); in testRotateBounds()
/aosp14/frameworks/base/core/java/android/util/
H A DRotationUtils.java87 public static void rotateBounds(Rect inOutBounds, Rect parentBounds, @Rotation int oldRotation, in rotateBounds() method in RotationUtils
89 rotateBounds(inOutBounds, parentBounds, deltaRotation(oldRotation, newRotation)); in rotateBounds()
99 public static void rotateBounds(Rect inOutBounds, int parentWidth, int parentHeight, in rotateBounds() method in RotationUtils
134 public static void rotateBounds(Rect inOutBounds, Rect parentBounds, @Rotation int rotation) { in rotateBounds() method in RotationUtils
135 rotateBounds(inOutBounds, parentBounds.right, parentBounds.bottom, rotation); in rotateBounds()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
H A DPipAnimationControllerTest.java19 import static android.util.RotationUtils.rotateBounds;
149 rotateBounds(rotatedEndBounds, endBounds, ROTATION_90); in pipTransitionAnimator_rotatedEndValue()
160 rotateBounds(rotatedEndBounds, startBounds, ROTATION_270); in pipTransitionAnimator_rotatedEndValue()
/aosp14/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/util/
H A DExtensionHelper.java80 RotationUtils.rotateBounds(inOutRect, baseDisplayWidth, baseDisplayHeight, rotation); in rotateRectToDisplayRotation()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DDisplayContentTests.java2451 final Rect rotateBounds = new Rect(initBounds); in testRotateBounds_keepSamePhysicalPosition() local
2454 dc.rotateBounds(ROTATION_0, ROTATION_0, rotateBounds); in testRotateBounds_keepSamePhysicalPosition()
2456 assertEquals(new Rect(0, 0, 700, 1500), rotateBounds); in testRotateBounds_keepSamePhysicalPosition()
2459 rotateBounds.set(initBounds); in testRotateBounds_keepSamePhysicalPosition()
2460 dc.rotateBounds(ROTATION_0, ROTATION_90, rotateBounds); in testRotateBounds_keepSamePhysicalPosition()
2462 assertEquals(new Rect(0, 300, 1500, 1000), rotateBounds); in testRotateBounds_keepSamePhysicalPosition()
2465 rotateBounds.set(initBounds); in testRotateBounds_keepSamePhysicalPosition()
2466 dc.rotateBounds(ROTATION_0, ROTATION_180, rotateBounds); in testRotateBounds_keepSamePhysicalPosition()
2471 rotateBounds.set(initBounds); in testRotateBounds_keepSamePhysicalPosition()
2472 dc.rotateBounds(ROTATION_0, ROTATION_270, rotateBounds); in testRotateBounds_keepSamePhysicalPosition()
[all …]
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
H A DCounterRotatorHelper.java93 RotationUtils.rotateBounds(rotatedBounds, mLastDisplayBounds, mLastRotationDelta); in getEndBoundsInStartRotation()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
H A DPipTransition.java23 import static android.util.RotationUtils.rotateBounds;
443 rotateBounds(finishBounds, displayBounds, mEndFixedRotation, displayRotation); in onFinishResize()
447 rotateBounds(finishBounds, displayBounds, mEndFixedRotation, displayRotation); in onFinishResize()
662 rotateBounds(endBounds, destinationBounds, rotationDelta); in startExitAnimation()
698 rotateBounds(startBounds, displayRotationChange.getStartAbsBounds(), rotateDelta); in startExpandAndRotationAnimation()
969 rotateBounds(outDestinationBounds, displayBounds, endRotation, startRotation); in computeEnterPipRotatedBounds()
H A DPipAnimationController.java19 import static android.util.RotationUtils.rotateBounds;
608 rotateBounds(rotatedEndRect, initialSourceValue, rotationDelta); in ofBounds()
685 rotateBounds(rotatedEndRect, initialSourceValue, rotationDelta); in ofBounds()
H A DPipTaskOrganizer.java24 import static android.util.RotationUtils.rotateBounds;
1283 rotateBounds(rotatedEndBounds, displayBounds, mNextRotation, mCurrentRotation); in updateAnimatorBounds()
1785 rotateBounds(outDestinationBounds, displayBounds, mNextRotation, mCurrentRotation); in computeRotatedBounds()
1796 rotateBounds(rotatedDestinationBounds, mPipBoundsState.getDisplayBounds(), in computeRotatedBounds()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DUdfpsControllerOverlay.kt412 RotationUtils.rotateBounds(
420 RotationUtils.rotateBounds(
H A DSideFpsController.kt350 RotationUtils.rotateBounds(
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/
H A DCutoutDecorProviderFactoryTest.kt88 RotationUtils.rotateBounds(
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
H A DDisplayLayout.java25 import static android.util.RotationUtils.rotateBounds;
418 rotateBounds(rect, displayBounds, rotation); in calculateDisplayCutoutForRotation()
/aosp14/frameworks/base/core/java/android/view/
H A DDisplayCutout.java1182 RotationUtils.rotateBounds(newBounds[i], displayBounds, rotation); in getRotated()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayContent.java3430 void rotateBounds(@Rotation int oldRotation, @Rotation int newRotation, Rect inOutBounds) { in rotateBounds() method in DisplayContent
3433 RotationUtils.rotateBounds(inOutBounds, mTmpRect, oldRotation, newRotation); in rotateBounds()
H A DTask.java2010 mDisplayContent.rotateBounds(prevRotation, newRotation, newBounds); in onConfigurationChanged()
2929 displayContent.rotateBounds(mRotation, newRotation, mTmpRect2); in adjustBoundsForDisplayChangeIfNeeded()
H A DActivityRecord.java10493 display.rotateBounds(