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 voidaddMovement(MotionEvent event)protected voidclear()protected voidcomputeCurrentVelocity(int units)protected voidcomputeCurrentVelocity(int units, float maxVelocity)protected floatgetXVelocity()protected floatgetXVelocity(int id)protected floatgetYVelocity()protected floatgetYVelocity(int id)
-
Constructor Details
-
ShadowVelocityTracker
public ShadowVelocityTracker()
-
-
Method Details