RESOLVED FIXED 138950
[EFL] Use a variable to set flicking time instead of hardcoding
https://bugs.webkit.org/show_bug.cgi?id=138950
Summary [EFL] Use a variable to set flicking time instead of hardcoding
Sanghyup Lee
Reported 2014-11-20 21:59:18 PST
Currently time of flick gesture animation is hardcoded as one second. This patch added a variable for it to increase readability.
Attachments
Patch (2.77 KB, patch)
2014-11-20 22:01 PST, Sanghyup Lee
no flags
Patch (2.54 KB, patch)
2014-11-21 01:25 PST, Sanghyup Lee
no flags
Patch (2.55 KB, patch)
2014-11-21 01:31 PST, Sanghyup Lee
no flags
Patch for landing (2.59 KB, patch)
2015-02-08 22:20 PST, Sanghyup Lee
no flags
Sanghyup Lee
Comment 1 2014-11-20 22:01:24 PST
Ryuan Choi
Comment 2 2014-11-20 23:58:09 PST
Comment on attachment 242023 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=242023&action=review > Source/WebKit2/ChangeLog:9 > + Currently time of flick gesture animation is hardcoded as one second. > + This patch added a variable for it to increase readability. Then, why you should add it to normal member variable instead of static variable?
Sanghyup Lee
Comment 3 2014-11-21 00:38:32 PST
(In reply to comment #2) > Comment on attachment 242023 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=242023&action=review > > > Source/WebKit2/ChangeLog:9 > > + Currently time of flick gesture animation is hardcoded as one second. > > + This patch added a variable for it to increase readability. > > Then, why you should add it to normal member variable instead of static > variable? It's my mistake. I'll fix it.
Sanghyup Lee
Comment 4 2014-11-21 01:25:36 PST
Sanghyup Lee
Comment 5 2014-11-21 01:31:28 PST
Ryuan Choi
Comment 6 2015-02-08 20:55:20 PST
Comment on attachment 242029 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=242029&action=review > Source/WebKit2/UIProcess/API/efl/GestureRecognizer.cpp:236 > + float multiplier = easeInOutQuad(gestureHandler->m_flickIndex, 0, gestureHandler->s_flickTime, gestureHandler->m_flickDuration); gestureHandler looks not needed anymore.
Sanghyup Lee
Comment 7 2015-02-08 22:20:53 PST
Created attachment 246257 [details] Patch for landing
WebKit Commit Bot
Comment 8 2015-02-10 00:24:56 PST
Comment on attachment 246257 [details] Patch for landing Clearing flags on attachment: 246257 Committed r179867: <http://trac.webkit.org/changeset/179867>
WebKit Commit Bot
Comment 9 2015-02-10 00:25:00 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.