[NUI] Add maximum motion age of pan motion gesture
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 15 Jun 2022 13:25:04 +0000 (22:25 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 21 Jun 2022 10:27:08 +0000 (19:27 +0900)
commitd5d4d59c5d56d9d1db3be8243472323f3724ef10
tree2368a32baeb34a5aa3a6cc554789badbc33cd42d
parentbb2bb6429f03a56bf69034ccdb472a4dfd9aecac
[NUI] Add maximum motion age of pan motion gesture

When event spend so long time, a lot of events are queued.

Ecore cannot skip these event, so we make some heuristic
threshold of discard motion events on pan gesture.

Default age is UINT_MAX ms, (~= 49 days)

Currently, we make maximum age as hard-coded value
in NUI.Component.Slider.Internal

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
src/Tizen.NUI.Components/Controls/Slider.Internal.cs
src/Tizen.NUI.Components/Controls/Slider.cs
src/Tizen.NUI/src/internal/Interop/Interop.PanGestureDetector.cs
src/Tizen.NUI/src/public/Events/PanGestureDetector.cs