Searched refs:numEvents (Results 1 – 3 of 3) sorted by relevance
40 int numEvents = 0; in assertOutputs() local46 numEvents++; in assertOutputs()51 assertTrue(numEvents > 0); in assertOutputs()
249 int numEvents = mMotionEvents.size(); in testSwipe_shouldContainPointsInALine() local252 MotionEvent upEvent = mMotionEvents.get(numEvents - 1); in testSwipe_shouldContainPointsInALine()259 for (int i = 1; i < numEvents - 1; i++) { in testSwipe_shouldContainPointsInALine()316 int numEvents = mMotionEvents.size(); in testAngledPinch_looksReasonable() local321 assertThat(mMotionEvents.get(numEvents - 2), IS_ACTION_POINTER_UP); in testAngledPinch_looksReasonable()322 assertThat(mMotionEvents.get(numEvents - 1), IS_ACTION_UP); in testAngledPinch_looksReasonable()324 assertEquals(numEvents - 4, getEventsMatching(IS_ACTION_MOVE).size()); in testAngledPinch_looksReasonable()328 for (int i = 1; i < numEvents - 1; i++) { in testAngledPinch_looksReasonable()
513 int numEvents = 0; in testQueryEventsForSelf() local517 numEvents++; in testQueryEventsForSelf()529 assertTrue("Only " + numEvents + " events returned", numEvents >= 2); in testQueryEventsForSelf()