ImmediateInterpreter: Thumb detection changes
Ryan Tabone had a number of problems trying to scroll, where thumb
detection would mark one of his fingers a thumb. This CL takes the
following steps to address this:
- Thumb must be located beneath (i.e. closer to the user) the finger
with min pressure.
- We allow significant movement to be a reason to undo a decision that
a contact is a thumb.
- We allow a decision that a contact is a thumb to be undone for not
just thumb_eval_timeout_ from when the contact was marked thumb, but
also from when fingers started moving, whichever is later.
BUG=chromium-os:29951
TEST=unittests; replayed failing logs from Ryan Tabone; all were fixed.
Change-Id: I825bd6f10d5f49a73473ddbccc67886cfa9ed46f
Reviewed-on: https://gerrit.chromium.org/gerrit/21272
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Ready: Andrew de los Reyes <adlr@chromium.org>
Reviewed-by: Benson Leung <bleung@chromium.org>
2 files changed