Searched refs:addMovement (Results 1 – 2 of 2) sorted by relevance
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | VelocityTrackerTest.java | 24 velocityTracker.addMovement(doMotion(0, 0, 0)); in handlesXMovement() 25 velocityTracker.addMovement(doMotion(20, 20, 0)); in handlesXMovement() 37 velocityTracker.addMovement(doMotion(0, 0, 0)); in handlesYMovement() 38 velocityTracker.addMovement(doMotion(20, 0, 20)); in handlesYMovement() 50 velocityTracker.addMovement(doMotion(0, 0, 0)); in handlesXAndYMovement() 51 velocityTracker.addMovement(doMotion(20, 20, 40)); in handlesXAndYMovement() 60 velocityTracker.addMovement(doMotion(0, 0, 0)); in handlesWindowing_positive() 61 velocityTracker.addMovement(doMotion(20, 10000, 10000)); in handlesWindowing_positive() 70 velocityTracker.addMovement(doMotion(0, 0, 0)); in handlesWindowing_negative() 71 velocityTracker.addMovement(doMotion(20, -10000, -10000)); in handlesWindowing_negative() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowVelocityTracker.java | 47 protected void addMovement(MotionEvent event) { in addMovement() method in ShadowVelocityTracker
|