Commit 350b426b authored by Jeff Brown's avatar Jeff Brown Committed by Jeff Brown
Browse files

Update VelocityTracker tests. (DO NOT MERGE)

Modified the test so that all of the samples are at least 10ms
apart.  This is because the new VelocityTracker does not attempt
to compute the velocity when the time difference is too small to
give accurate results.

The computed values are also slightly different because the new
VelocityTracker does not discard the most recent sample.  Instead,
it is more careful about how it handles pointers going down or
up to ensure that the pointer's last known velocity is accurately
reported.

Change-Id: I78193165fbe4d610f0d6d46c5dca66c17c54984f
parent edb4a8f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment