Fix some minor issues with animating dismiss
- Also decrease the magnetic field radius to bias towards moving
the PIP vs dismissing it
- Rotation was causing the bounds animation to be canceled while
mTemporaryBounds was still set leading to the wrong starting
bounds in the next orientation. In this case, we can always clear
temporary bounds whenever synchronizing bounds.
Change-Id: I721785ccabcd2ee94b7dfa9deeb306246bc2e4a3
Bug: 159390687
Bug: 159342554
Test: Drag pip while over dismiss area
Test: Ensure fling to dismiss still works, target is smaller
Test: Rotate while bounds animation is setting and ensure the touch
is from the right starting bounds in the next orientation
2 files changed