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