VelocityTracker是用来跟踪触摸速度的类。
当你需要跟踪的时候使用obtain()方法来来获得VelocityTracker类的一个实例对象
使用addMovement(MotionEvent)函数将当前的移动事件传递给VelocityTracker对象
使用computeCurrentVelocity (int units)函数来计算当前的速度,通过units设置单位:1000 表示每秒多少像素(pix/second),1代表每微秒多少像素(pix/millisecond)
使用getXVelocity ()、getYVelocity ()函数来获得当前的速度