Title: [128483] trunk/Source/WebCore
Revision
128483
Author
[email protected]
Date
2012-09-13 11:16:32 -0700 (Thu, 13 Sep 2012)

Log Message

[chromium] alter fling animation parameters.
https://bugs.webkit.org/show_bug.cgi?id=96666

Reviewed by Adrienne Walker.

Adjusted configuration parameters for fling animation to have a longer
tail and more similarity between touchpad and touchscreen.

Covered by existing tests.

* platform/TouchFlingPlatformGestureCurve.cpp:
(WebCore::TouchFlingPlatformGestureCurve::createForTouchPad):
(WebCore::TouchFlingPlatformGestureCurve::createForTouchScreen):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (128482 => 128483)


--- trunk/Source/WebCore/ChangeLog	2012-09-13 18:05:03 UTC (rev 128482)
+++ trunk/Source/WebCore/ChangeLog	2012-09-13 18:16:32 UTC (rev 128483)
@@ -1,3 +1,19 @@
+2012-09-13  Robert Kroeger  <[email protected]>
+
+        [chromium] alter fling animation parameters.
+        https://bugs.webkit.org/show_bug.cgi?id=96666
+
+        Reviewed by Adrienne Walker.
+
+        Adjusted configuration parameters for fling animation to have a longer
+        tail and more similarity between touchpad and touchscreen.
+        
+        Covered by existing tests.
+
+        * platform/TouchFlingPlatformGestureCurve.cpp:
+        (WebCore::TouchFlingPlatformGestureCurve::createForTouchPad):
+        (WebCore::TouchFlingPlatformGestureCurve::createForTouchScreen):
+
 2012-09-13  Joshua Bell  <[email protected]>
 
         IndexedDB: Properties of IDBKeyRange should default to undefined

Modified: trunk/Source/WebCore/platform/TouchFlingPlatformGestureCurve.cpp (128482 => 128483)


--- trunk/Source/WebCore/platform/TouchFlingPlatformGestureCurve.cpp	2012-09-13 18:05:03 UTC (rev 128482)
+++ trunk/Source/WebCore/platform/TouchFlingPlatformGestureCurve.cpp	2012-09-13 18:16:32 UTC (rev 128483)
@@ -56,13 +56,13 @@
 PassOwnPtr<PlatformGestureCurve> TouchFlingPlatformGestureCurve::createForTouchPad(const FloatPoint& velocity, IntPoint cumulativeScroll)
 {
     // The default parameters listed below are a matched set, and should not be changed independently of one another.
-    return create(velocity, -5.70762e+03, 1.72e+02, 3.7e+00, 1.3, cumulativeScroll);
+    return create(velocity, -1.5e+02, 10, 1.5e+00, 2.075, cumulativeScroll);
 }
 
 PassOwnPtr<PlatformGestureCurve> TouchFlingPlatformGestureCurve::createForTouchScreen(const FloatPoint& velocity, IntPoint cumulativeScroll)
 {
     // The touchscreen-specific parameters listed below are a matched set, and should not be changed independently of one another.
-    return create(velocity, -3.5e+03, 90, 3.0e+00, 1.5864, cumulativeScroll);
+    return create(velocity, -1.5e+02, 10, 1.5e+00, 2.075, cumulativeScroll);
 }
 
 PassOwnPtr<PlatformGestureCurve> TouchFlingPlatformGestureCurve::create(const FloatPoint& velocity, float p0, float p1, float p2, float curveDuration, IntPoint cumulativeScroll)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to