Package org.robolectric.shadows
Class ShadowVelocityTracker
java.lang.Object
org.robolectric.shadows.ShadowVelocityTracker
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addMovement
(MotionEvent event) protected void
clear()
protected void
computeCurrentVelocity
(int units) protected void
computeCurrentVelocity
(int units, float maxVelocity) protected float
protected float
getXVelocity
(int id) protected float
protected float
getYVelocity
(int id)
-
Constructor Details
-
ShadowVelocityTracker
public ShadowVelocityTracker()
-
-
Method Details
-
clear
-
addMovement
-
computeCurrentVelocity
-
computeCurrentVelocity
-
getXVelocity
-
getYVelocity
-
getXVelocity
-
getYVelocity
-