diff options
| author | 2018-01-02 18:48:13 -0800 | |
|---|---|---|
| committer | 2019-01-24 02:29:04 +0000 | |
| commit | 33949862d4cf9f61acf1bb964e5e5e11510b27d6 (patch) | |
| tree | 9e3c3b80d75992d5eda7e2e175ccd84593fdc5d9 /libs/input/PointerController.cpp | |
| parent | bacad701091563e3cde35d556752dbfc54875f13 (diff) | |
Accelerate long press in View.java
If a force press is detected, the MotionEvent will have a classification
of CLASSIFICATION_DEEP_PRESS. When this type is detected, dispatch the long
press event immediately.
Bug: 62940136
Test: "force" press on home screen and see the logcat message about
accelerating the long press action, see the menu appear sooner than the
typical timeout for long press.
Change-Id: Ifcd953356f42248c1d3c6674877b84b3aaf01299
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions