Searched refs:motionEvent2 (Results 1 – 1 of 1) sorted by relevance
/external/robolectric/integration_tests/ctesque/src/sharedTest/java/android/view/ |
D | MotionEventTest.java | 40 private MotionEvent motionEvent2; field in MotionEventTest 61 motionEvent2 = in setup() 82 if (null != motionEvent2) { in teardown() 83 motionEvent2.recycle(); in teardown() 113 motionEventDynamic = MotionEvent.obtain(motionEvent2); in testObtainFromMotionEvent() 116 .isEqualToWithinTolerance(motionEvent2, TOLERANCE); in testObtainFromMotionEvent() 299 motionEvent2.addBatch(eventTime + 10, X_3F + 5.0f, Y_4F + 5.0f, 0.5f, 0.5f, 0); in testObtainNoHistory() 300 motionEvent2.addBatch(eventTime + 20, X_3F + 10.0f, Y_4F + 15.0f, 2.0f, 3.0f, 0); in testObtainNoHistory() 302 assertThat(motionEvent2).x().isWithin(TOLERANCE).of(X_3F + 10.0f); in testObtainNoHistory() 303 assertThat(motionEvent2).y().isWithin(TOLERANCE).of(Y_4F + 15.0f); in testObtainNoHistory() [all …]
|