diff options
author | Joshua Tsuji <tsuji@google.com> | 2020-06-09 17:32:11 -0400 |
---|---|---|
committer | Joshua Tsuji <tsuji@google.com> | 2020-06-09 18:24:57 -0400 |
commit | f170a6a83ee67958c2bafe77f6ebea1be2e4daf3 (patch) | |
tree | 877cbf2cb8128fab5e5df202e6a6c6cda2d059cd /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | b1215125800bfba2b6566028842e070cb4378922 (diff) |
Only check X velocity for max stick-to-target velocity.
This was designed so you can drag objects through the dismiss target from left to right (or vv) without them sticking. Checking the hypot of velocity only results in false negatives when dragging down to the target.
Test: manual
Bug: 157180669
Change-Id: I21e3c048c00202fc0660aaec0c22f7825bf26f46
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions