Home
last modified time | relevance | path

Searched refs:rotatedEndBounds (Results 1 – 2 of 2) sorted by relevance

/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
H A DPipAnimationControllerTest.java146 final Rect rotatedEndBounds = new Rect(endBounds); in pipTransitionAnimator_rotatedEndValue() local
147 rotateBounds(rotatedEndBounds, endBounds, ROTATION_90); in pipTransitionAnimator_rotatedEndValue()
149 assertEquals("Expect 90 degree rotated bounds", rotatedEndBounds, animator.mCurrentValue); in pipTransitionAnimator_rotatedEndValue()
157 rotatedEndBounds.set(endBounds); in pipTransitionAnimator_rotatedEndValue()
158 rotateBounds(rotatedEndBounds, startBounds, ROTATION_270); in pipTransitionAnimator_rotatedEndValue()
160 assertEquals("Expect 270 degree rotated bounds", rotatedEndBounds, animator.mCurrentValue); in pipTransitionAnimator_rotatedEndValue()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
H A DPipTaskOrganizer.java948 final Rect rotatedEndBounds = new Rect(newDestinationBounds); in onMovementBoundsChanged() local
949 rotateBounds(rotatedEndBounds, displayBounds, mNextRotation, mCurrentRotation); in onMovementBoundsChanged()
950 animator.updateEndValue(rotatedEndBounds); in onMovementBoundsChanged()