@Implements(value=android.view.VelocityTracker.class) public class ShadowVelocityTracker extends Object
Constructor and Description |
---|
ShadowVelocityTracker() |
Modifier and Type | Method and Description |
---|---|
protected void |
addMovement(MotionEvent event) |
protected void |
clear() |
protected void |
computeCurrentVelocity(int units) |
protected void |
computeCurrentVelocity(int units,
float maxVelocity) |
protected float |
getXVelocity() |
protected float |
getXVelocity(int id) |
protected float |
getYVelocity() |
protected float |
getYVelocity(int id) |
@Implementation protected void clear()
@Implementation protected void addMovement(MotionEvent event)
@Implementation protected void computeCurrentVelocity(int units)
@Implementation protected void computeCurrentVelocity(int units, float maxVelocity)
@Implementation protected float getXVelocity()
@Implementation protected float getYVelocity()
@Implementation protected float getXVelocity(int id)
@Implementation protected float getYVelocity(int id)