Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipAnimationControllerTest.java148 final Rect rotatedEndBounds = new Rect(endBounds); in pipTransitionAnimator_rotatedEndValue() local
149 rotateBounds(rotatedEndBounds, endBounds, ROTATION_90); in pipTransitionAnimator_rotatedEndValue()
151 assertEquals("Expect 90 degree rotated bounds", rotatedEndBounds, animator.mCurrentValue); in pipTransitionAnimator_rotatedEndValue()
159 rotatedEndBounds.set(endBounds); in pipTransitionAnimator_rotatedEndValue()
160 rotateBounds(rotatedEndBounds, startBounds, ROTATION_270); in pipTransitionAnimator_rotatedEndValue()
162 assertEquals("Expect 270 degree rotated bounds", rotatedEndBounds, animator.mCurrentValue); in pipTransitionAnimator_rotatedEndValue()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipTaskOrganizer.java1380 final Rect rotatedEndBounds = new Rect(bounds); in updateAnimatorBounds() local
1381 rotateBounds(rotatedEndBounds, displayBounds, mNextRotation, mCurrentRotation); in updateAnimatorBounds()
1382 animator.updateEndValue(rotatedEndBounds); in updateAnimatorBounds()