efl/gesture: more accurately handle flick/momentum recognition with multi-touch
authorMike Blumenkrantz <zmike@samsung.com>
Wed, 22 Jan 2020 18:51:44 +0000 (13:51 -0500)
committerJongmin Lee <jm105.lee@samsung.com>
Tue, 11 Feb 2020 21:58:35 +0000 (06:58 +0900)
commit17a02d6cc7e5d04e0c57bcbce308fcac66cc0ec4
treee958aa9765c693ee4a505d3ef92763fb5a80fd00
parenta5e64c10141d94000860afb0fbc4b734d947d3ac
efl/gesture: more accurately handle flick/momentum recognition with multi-touch

if we have one of these gestures where we are flicking/momentuming with multiple
touch points, we want to permit this so long as the touch points are moving vaguely
in the same direction, e.g., press -> swipe with 2 fingers

with this, we now cancel these gestures with multi-touch active if we detect motion
with subsequent touch events that doesn't match the vector of the "active" press
for which we are monitoring events

Reviewed-by: woochan lee <wc0917.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D11165
src/lib/evas/gesture/efl_canvas_gesture_recognizer_flick.c
src/lib/evas/gesture/efl_canvas_gesture_recognizer_momentum.c