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
Loading
Please sign in to comment