Increase time interval in points provided to VelocityTracker
There are cases where motion events arrive at VelocityTracker very close together in time (~1 ms), even though they are generated by hardware with much more time between then (~10 ms). In these cases, VelocityTracker can be tweaked to treat these points with more time between them, to prevent wildly incorrect velocities from being calculated. Tweak the CTS test case to validate VelocityTracker with more realistic time deltas between points. Change-Id: I35137ad4ca6223aee0cbba5650672a04f7cea831
Loading
Please sign in to comment