[NUI] Deceleration of scrolling (#1759)
authorneostom432 <31119276+neostom432@users.noreply.github.com>
Fri, 26 Jun 2020 06:55:40 +0000 (15:55 +0900)
committerGitHub <noreply@github.com>
Fri, 26 Jun 2020 06:55:40 +0000 (15:55 +0900)
commit9de883910f65fdeaabf634494a8d27d71031d609
treefcd04abe4c7defe3682ed3f995ac8a401cf14dc1
parent3a58f98e49d46cc0bfd4d295d84b0332eee33ece
[NUI] Deceleration of scrolling (#1759)

Previously, scrolling uses same alphafunction so scrolling is always
getting slow as same rate even if the velocity of panning is different.

Now, we use deceleration fomular and generating alphafunction using
velocity and deceleration rate.

deceleration 0.99 is fast deceleration and 0.998 is normal.
src/Tizen.NUI.Components/Controls/ScrollableBase.cs
src/Tizen.NUI.Wearable/src/public/WearableList.cs
src/Tizen.NUI/src/public/AlphaFunction.cs