Improved pan gesture prediction 70/34470/4 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common accepted/tizen/common/20150205.080851 accepted/tizen/common/20150205.165930 accepted/tizen/common/20150209.121019 accepted/tizen/mobile/20150211.014650 accepted/tizen/tv/20150210.012938 accepted/tizen/wearable/20150210.014755 submit/tizen/20150205.011244 submit/tizen/20150205.132622 submit/tizen/20150205.132635 submit/tizen/20150206.044231
authorRichard Huang <r.huang@samsung.com>
Tue, 27 Jan 2015 16:31:39 +0000 (16:31 +0000)
committerRichard Huang <r.huang@samsung.com>
Wed, 4 Feb 2015 16:02:46 +0000 (16:02 +0000)
commit8494c05509a5391d3337d64db925282e53b60423
tree420d0fa3db7264b3b197b4b68118a2efabc54929
parentec9ab61b7efcbd916b2de1aff3c45f88fad5b9ba
Improved pan gesture prediction

[problem]  A bigger prediction interpolation makes the prediction result less usable.
[cause]    The changing velocity of pan gesture could cause overshoot for the prediction
           (and sometimes in the wrong direction), which makes the scrolling jerky.
[solution] Dynamically adpat the prediction interpolation to the change of pan velocity.
           When overshoot is detected, alter any prediction in the wrong direction and
           decrease the prediction interpolation so that it doesn't overshoot as easily
           in the next frame.

Change-Id: I71afc4d601c865785a1629a2c186d45547e6117c
automated-tests/src/dali/utc-Dali-PanGestureDetector.cpp
dali/integration-api/input-options.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/pan-gesture-processor.cpp
dali/internal/event/events/pan-gesture-processor.h
dali/internal/update/gestures/pan-gesture-profiling.cpp
dali/internal/update/gestures/pan-gesture-profiling.h
dali/internal/update/gestures/scene-graph-pan-gesture.cpp
dali/internal/update/gestures/scene-graph-pan-gesture.h