Change the multi-tap recognition logic of TapGesture. 01/292901/19
authorjoogab.yun <joogab.yun@samsung.com>
Wed, 17 May 2023 00:55:16 +0000 (09:55 +0900)
committerjoogab.yun <joogab.yun@samsung.com>
Fri, 21 Jul 2023 06:37:27 +0000 (15:37 +0900)
commit1450f9eb274206288817cc8328a3ea8ef55d3e4a
tree901f57e0edff545f9e26bddd4177d2d13593654d
parent02537c16edfb75782135f09b335bf6de6b5b06e8
Change the multi-tap recognition logic of TapGesture.
Previously, we checked how many TouchDowns occurred within mMaximumAllowedTime.

Now, after a tap occurs, if the next touchdown occurs within mMaximumAllowedTime., it is recognized as a multi-tap.

ex) If it's a double tap, it's like this:
|(touch down <--recognizerTime--> touch up) <--  wihtin maximumAllowedTime --> (touch down <--recognizerTime--> touch up)|

Change-Id: I8b33bfbe09729d558bb8495738259ae5a757ddc9
automated-tests/src/dali/utc-Dali-TapGestureDetector.cpp
automated-tests/src/dali/utc-Dali-TapGestureRecognizer.cpp
dali/integration-api/input-options.h
dali/internal/event/events/gesture-event-processor.cpp
dali/internal/event/events/gesture-event-processor.h
dali/internal/event/events/tap-gesture/tap-gesture-detector-impl.cpp
dali/internal/event/events/tap-gesture/tap-gesture-detector-impl.h
dali/internal/event/events/tap-gesture/tap-gesture-processor.cpp
dali/internal/event/events/tap-gesture/tap-gesture-processor.h
dali/internal/event/events/tap-gesture/tap-gesture-recognizer.cpp
dali/internal/event/events/tap-gesture/tap-gesture-recognizer.h