Reland: Track current resized bounds for resized PIP.
Previously, there were only mNormalMovementBounds and mExpandedMovementBounds since these were the only two sizes PIP window can be in (on a per-onMovementBoundsChanged call, that is). With the ability to resize PIP on the horizon, we will need to update the movement bound as it resizes, and also calculcate this movement with the new bound on the fly. Bug: 147361175 Test: Manually. Resize PIP, and then drag around and off-screen, let go - see PIP window snaps back. Resize PIP, tap window (see it expands), and wait for timeout. Restores to previously resized PIP bound. Change-Id: Iaec103d3964e6141fe4b769879c91159e57f7546
Loading
Please register or sign in to comment