When using Android's VelocityTracker
to track MotionEvents
, is it necessary to account for screen density to return the "density independent velocity"?
velocityTracker.computeCurrentVelocity(1); // pixels per milliseconds
float velocityY = velocityTracker.getYVelocity();
Do I have to multiple this velocityY
with a screen scale factor so that I can track the same physical gesture velocity across all devices?