public class VelocityHelper
extends java.lang.Object
Constructor and Description |
---|
VelocityHelper() |
Modifier and Type | Method and Description |
---|---|
void |
calculateVelocity(android.view.MotionEvent ev)
Call from a ScrollView in onTouchEvent.
|
float |
getXVelocity() |
float |
getYVelocity() |
public void calculateVelocity(android.view.MotionEvent ev)
public float getXVelocity()
public float getYVelocity()