commit | 7dfc0b265ae677887418c35efe64f19ce716604b | [log] [tgz] |
---|---|---|
author | kwaky <kwaky@google.com> | Mon Jun 15 13:01:23 2020 -0700 |
committer | kwaky <kwaky@google.com> | Mon Jun 15 15:52:51 2020 -0700 |
tree | 2bd0b5db4dacff021493518dc11ae47423adb651 | |
parent | 26a0a34c75bcb1ca9dd3dcaae680b2d1634f9071 [diff] |
Assign mSwipeTimeMillis a value that is proportional to mSwipeDistance. Since mSwipeDistance is proportional to the width of the screen, the swipe time millis should also be proportional to mSwipeDistance to ensure it is reliably registered as a slow swipe. Bug: 156868081 Test: atest TouchExplorerTest reliably passing. Change-Id: I692c40f0436e9e866b62c1c848a3032f164fb4ce