replicant-frameworks_native/libs
Jeff Brown 137c3c5495 Tweak VelocityTracker.
Bug: 5265529

Calculate the velocity using the most recent touch sample as the
point of reference instead of the oldest.  This change more heavily
weights recent touch samples and reduces the sample time window
used for calculation.  This significantly improves the accuracy
of fling gesture detection.

Change-Id: Ib1940933e786e5f6a731552a99bcd9400741d55f
2011-09-09 16:04:09 -07:00
..
binder
gui
surfaceflinger_client
ui Tweak VelocityTracker. 2011-09-09 16:04:09 -07:00
utils