[chromecast] Tune-ups to triple tap detection.
Does not discard the first tap event, but tries to issue a cancel for it instead. Had to do this because the replaying of the stashed events weren't making it through to later event rewriters in the chain (including side swipe detection, and the forthcoming fullscreen magnifier). Has the side-effect that many applications will still receive a touch press event. However touch latency also improves. Also adds tap slop detection to avoid accidental triple taps. Bug: internal b/110532452 Test: manual and unit test Change-Id: Icc9d3b558940348e98c88eb1c29697cd7d59065a Reviewed-on: https://chromium-review.googlesource.com/1170588Reviewed-by:Alex Sakhartchouk <alexst@chromium.org> Commit-Queue: Ryan Daum <rdaum@chromium.org> Cr-Commit-Position: refs/heads/master@{#582182}
Showing
Please register or sign in to comment