Searched refs:numEvents (Results 1 – 11 of 11) sorted by relevance
40 int numEvents = 0; in assertOutputs() local46 numEvents++; in assertOutputs()51 assertTrue(numEvents > 0); in assertOutputs()
61 private fun assertReceivedEventsCanBeVerified(numEvents: Int) { in assertReceivedEventsCanBeVerified()62 for (i in 1..numEvents) { in assertReceivedEventsCanBeVerified()81 assertReceivedEventsCanBeVerified(numEvents = 2) in testVerifyHardwareKeyEvent()
67 private fun assertReceivedEventsCorrectlyMapped(numEvents: Int, expectedKeyCode: Int) { in <lambda>()68 for (i in 1..numEvents) { in <lambda>()
89 private fun assertReceivedEventsCorrectlyMapped(numEvents: Int, expectedKeyCode: Int) { in <lambda>()90 for (i in 1..numEvents) { in <lambda>()
90 numEvents: Int, in <lambda>()94 for (i in 1..numEvents) { in <lambda>()
82 private fun assertReceivedEventsCorrectlyMapped(numEvents: Int, expectedKeyCode: Int) { in assertReceivedEventsCorrectlyMapped()83 for (i in 1..numEvents) { in assertReceivedEventsCorrectlyMapped()
202 val numEvents = 5 in testUsesRawCoordinates() constant204 for (i in 0 until numEvents) { in testUsesRawCoordinates()
32 int32_t numEvents = AInputQueue_hasEvents(nativeQueue); in waitForEvent() local33 if (numEvents > 0) { in waitForEvent()
255 int numEvents = mMotionEvents.size(); in testSwipe_shouldContainPointsInALine() local258 MotionEvent upEvent = mMotionEvents.get(numEvents - 1); in testSwipe_shouldContainPointsInALine()265 for (int i = 1; i < numEvents - 1; i++) { in testSwipe_shouldContainPointsInALine()322 int numEvents = mMotionEvents.size(); in testAngledPinch_looksReasonable() local327 assertThat(mMotionEvents.get(numEvents - 2), IS_ACTION_POINTER_UP); in testAngledPinch_looksReasonable()328 assertThat(mMotionEvents.get(numEvents - 1), IS_ACTION_UP); in testAngledPinch_looksReasonable()330 assertEquals(numEvents - 4, getEventsMatching(IS_ACTION_MOVE).size()); in testAngledPinch_looksReasonable()334 for (int i = 1; i < numEvents - 1; i++) { in testAngledPinch_looksReasonable()
777 int numEvents = 0; in testQueryEventsForSelf() local781 numEvents++; in testQueryEventsForSelf()793 assertTrue("Only " + numEvents + " events returned", numEvents >= 2); in testQueryEventsForSelf()