(ScrollView) Updates to scroll view internals to improve responsiveness and smoothnes...
authorJulien Heanley <j.heanley@partner.samsung.com>
Fri, 21 Feb 2014 11:09:08 +0000 (11:09 +0000)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Wed, 11 Jun 2014 08:01:24 +0000 (09:01 +0100)
commit63106d0a9407c87ff624f4b93e2627a0c7cc1e2a
treee123d679a423d9e826671f47665a03e184438e0c
parent1ab5a093a38b07a63a5b81ac0394d2ca10eb48d9
(ScrollView) Updates to scroll view internals to improve responsiveness and smoothness of visual actions

[Problem] Overshoot indicator could occasionally remain on screen, overshoot would prevent panning in opposite direction until pan returned to point where overshoot started
[Solution] Replaced numerous constraints with property notifications.
           Implemented the new vector component animation to remove need for separate internal x/y components.
           First stage of constraint reduction on ScrollView, more to follow
           Pre clamp scroll value is now snapped back to clamped position using animation and no longer needs a constraint to follow old internal x/y components
           Made functionality of overshoot more solid by making it directly dependant on pre clamped scroll and post clamp scroll values now that animation is done elsewhere.
           Overshoot no longer instantly flicks back to 0 if user releases and restarts a gesture before values have finished animating back
           If a pan has locked to an axis it now remains locked if user releases and starts another pan before scrolling has completed, preventing issue where a vertical page scroll could be started in the middle of a horizontal page scroll, which brakes the appearance of all page scroll effects.

Change-Id: I73e8ca71f5ffd8eb3c8a1fbf91823881ac4bb2ce
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
base/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-overshoot-indicator-impl.cpp
base/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-overshoot-indicator-impl.h
base/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-impl.cpp
base/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-impl.h
base/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-twist-effect-impl.cpp
base/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-twist-effect-impl.h
base/dali-toolkit/internal/controls/scrollable/scrollable-impl.cpp
base/dali-toolkit/internal/controls/scrollable/scrollable-impl.h
base/dali-toolkit/public-api/controls/scrollable/scroll-view/scroll-view.cpp
capi/dali-toolkit/public-api/controls/scrollable/scroll-view/scroll-view.h