Package org.robolectric.shadows
Class ShadowVelocityTracker
java.lang.Object
org.robolectric.shadows.ShadowVelocityTracker
@Implements(android.view.VelocityTracker.class) public class ShadowVelocityTracker extends Object
-
Constructor Summary
Constructors Constructor Description ShadowVelocityTracker()
-
Method Summary
Modifier and Type Method 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)
-
Constructor Details
-
ShadowVelocityTracker
public ShadowVelocityTracker()
-
-
Method Details