summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Program.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2020-06-18 20:06:52 -0700
committerWinson Chung <winsonc@google.com>2020-06-18 20:41:44 -0700
commitc5aa333acc4f5d0539a36f3bdad1ce9a9ce71649 (patch)
treef2aacfa3eecde25ddc9511765db9a0797fa39747 /rs/java/android/renderscript/Program.java
parent19272a236b0b6de53a330af745f5b5500ecc95d0 (diff)
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
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions