RESOLVED FIXED 81398
[chromium] Tune fling physics curve.
https://bugs.webkit.org/show_bug.cgi?id=81398
Summary [chromium] Tune fling physics curve.
W. James MacLean
Reported 2012-03-16 13:40:12 PDT
[chromium] Tune fling physics curve. [Not for review yet]
Attachments
Patch (3.21 KB, patch)
2012-03-16 13:40 PDT, W. James MacLean
no flags
Patch (2.32 KB, patch)
2012-03-16 14:33 PDT, W. James MacLean
no flags
Velocity profile (7.67 KB, application/pdf)
2012-03-16 14:35 PDT, W. James MacLean
no flags
Patch (2.35 KB, patch)
2012-03-16 16:38 PDT, W. James MacLean
no flags
Patch (5.57 KB, patch)
2012-03-19 10:32 PDT, W. James MacLean
no flags
Patch (5.61 KB, patch)
2012-03-19 11:05 PDT, W. James MacLean
no flags
W. James MacLean
Comment 1 2012-03-16 13:40:59 PDT
WebKit Review Bot
Comment 2 2012-03-16 13:43:14 PDT
Attachment 132364 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/ChangeLog:8: You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible. [changelog/nonewtests] [5] Total errors found: 1 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
W. James MacLean
Comment 3 2012-03-16 13:44:22 PDT
Curve mod proposal #1: just increase initial run-out time. Feel free to play with the parameter ... this patch will break unit tests but please ignore for now. I'll post an alternative shortly, based on a pseudo-parabolic curve.
W. James MacLean
Comment 4 2012-03-16 14:33:30 PDT
W. James MacLean
Comment 5 2012-03-16 14:34:07 PDT
Comment on attachment 132381 [details] Patch This curve profile has ramp-up shown in attached PDF file.
W. James MacLean
Comment 6 2012-03-16 14:35:15 PDT
Created attachment 132382 [details] Velocity profile Velocity profile for curve in second patch.
WebKit Review Bot
Comment 7 2012-03-16 14:35:36 PDT
Attachment 132381 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/platform/TouchFlingPlatformGestureCurve.cpp:66: Missing spaces around / [whitespace/operators] [3] Source/WebCore/platform/TouchFlingPlatformGestureCurve.cpp:72: Missing spaces around / [whitespace/operators] [3] Source/WebCore/platform/TouchFlingPlatformGestureCurve.cpp:74: Missing spaces around / [whitespace/operators] [3] Source/WebCore/ChangeLog:8: You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible. [changelog/nonewtests] [5] Total errors found: 4 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
W. James MacLean
Comment 8 2012-03-16 16:38:51 PDT
WebKit Review Bot
Comment 9 2012-03-16 16:40:37 PDT
Attachment 132413 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/platform/TouchFlingPlatformGestureCurve.cpp:66: Missing spaces around / [whitespace/operators] [3] Source/WebCore/platform/TouchFlingPlatformGestureCurve.cpp:72: Missing spaces around / [whitespace/operators] [3] Source/WebCore/ChangeLog:8: You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible. [changelog/nonewtests] [5] Total errors found: 3 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Robert Kroeger
Comment 10 2012-03-16 16:48:11 PDT
it feels pretty right to me.
Build Bot
Comment 11 2012-03-16 17:13:56 PDT
W. James MacLean
Comment 12 2012-03-19 10:32:45 PDT
W. James MacLean
Comment 13 2012-03-19 11:05:57 PDT
W. James MacLean
Comment 14 2012-03-19 11:06:31 PDT
Fixed issue with time scale factor.
Robert Kroeger
Comment 15 2012-03-19 11:31:07 PDT
I've tried it out and shown to anicolao. It seems like enough of an improvement that it's worth landing.
James Robinson
Comment 16 2012-03-19 11:33:04 PDT
Comment on attachment 132610 [details] Patch If we're using this for wheel flings can we call it the right thing, or alternately make this curve be the WheelFlingPlatformGestureCurve?
Robert Kroeger
Comment 17 2012-03-19 12:38:22 PDT
(In reply to comment #16) > (From update of attachment 132610 [details]) > If we're using this for wheel flings can we call it the right thing, or alternately make this curve be the WheelFlingPlatformGestureCurve? Shouldn't this be a TrackPadFlingPlatformGestureCurve? An actual physical wheel should have something much more like the WheelFlingPlatformGestureCurve implementation.
James Robinson
Comment 18 2012-03-19 12:39:45 PDT
Sure, that might be an even better name. The more explicit the better, IMO.
James Robinson
Comment 19 2012-03-19 18:59:15 PDT
Comment on attachment 132610 [details] Patch Looks fine. Please rename soon if you get a chance so this is less confusing to read.
WebKit Review Bot
Comment 20 2012-03-20 07:52:17 PDT
Comment on attachment 132610 [details] Patch Clearing flags on attachment: 132610 Committed r111395: <http://trac.webkit.org/changeset/111395>
WebKit Review Bot
Comment 21 2012-03-20 07:52:25 PDT
All reviewed patches have been landed. Closing bug.
W. James MacLean
Comment 22 2012-03-20 09:32:58 PDT
(In reply to comment #19) > (From update of attachment 132610 [details]) > Looks fine. Please rename soon if you get a chance so this is less confusing to read. Will upload re-naming patch by end of day.
Note You need to log in before you can comment on or make changes to this bug.