diff options
author | Winson Chung <winsonc@google.com> | 2021-04-07 11:45:06 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2021-04-07 18:48:25 +0000 |
commit | 43278ad135af2b38ccb956d86259c87bf631620f (patch) | |
tree | 27e60206a9929932eed2b00420d9fe10cbd9c9c0 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 00475492322a1b326f1c95d930811054fef862d6 (diff) |
Fix issue with lagging pip movement after entering/exiting dismiss
- Increase the spring stiffness to catch up to the finger sooner
- In certain cases, moving into and out of the dismiss area quickly
will start the physics animator multiple times which can trigger
the update callback multiple times per frame, so only update if
the bounds have changed
Bug: 183756396
Test: Drag into and out of the
Change-Id: I85a94948ef23b9dc1d569ab3706af899e0d67ef1
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions