summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2011-09-09 15:39:35 -0700
committerJeff Brown <jeffbrown@google.com>2011-09-09 16:04:09 -0700
commit137c3c549504a1bf52b85aa983c97f10533c7083 (patch)
tree85bc5c19b9fa5e0bbb39f287c53b94b6bdc2b73c /opengl/tests/gl_basic/gl_basic.cpp
parent5904d3ed1761ec73255563021cff6ccc0db568bd (diff)
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
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions