/aosp14/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | RotationUtilsTest.java | 19 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 D | RotationUtils.java | 87 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 D | PipAnimationControllerTest.java | 19 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 D | ExtensionHelper.java | 80 RotationUtils.rotateBounds(inOutRect, baseDisplayWidth, baseDisplayHeight, rotation); in rotateRectToDisplayRotation()
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | DisplayContentTests.java | 2451 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 D | CounterRotatorHelper.java | 93 RotationUtils.rotateBounds(rotatedBounds, mLastDisplayBounds, mLastRotationDelta); in getEndBoundsInStartRotation()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
H A D | PipTransition.java | 23 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 D | PipAnimationController.java | 19 import static android.util.RotationUtils.rotateBounds; 608 rotateBounds(rotatedEndRect, initialSourceValue, rotationDelta); in ofBounds() 685 rotateBounds(rotatedEndRect, initialSourceValue, rotationDelta); in ofBounds()
|
H A D | PipTaskOrganizer.java | 24 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 D | UdfpsControllerOverlay.kt | 412 RotationUtils.rotateBounds( 420 RotationUtils.rotateBounds(
|
H A D | SideFpsController.kt | 350 RotationUtils.rotateBounds(
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/ |
H A D | CutoutDecorProviderFactoryTest.kt | 88 RotationUtils.rotateBounds(
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
H A D | DisplayLayout.java | 25 import static android.util.RotationUtils.rotateBounds; 418 rotateBounds(rect, displayBounds, rotation); in calculateDisplayCutoutForRotation()
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | DisplayCutout.java | 1182 RotationUtils.rotateBounds(newBounds[i], displayBounds, rotation); in getRotated()
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DisplayContent.java | 3430 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 D | Task.java | 2010 mDisplayContent.rotateBounds(prevRotation, newRotation, newBounds); in onConfigurationChanged() 2929 displayContent.rotateBounds(mRotation, newRotation, mTmpRect2); in adjustBoundsForDisplayChangeIfNeeded()
|
H A D | ActivityRecord.java | 10493 display.rotateBounds(
|