Searched refs:sentEvent (Results 1 – 2 of 2) sorted by relevance
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityEventTest.java | 502 AccessibilityEvent sentEvent = AccessibilityEvent.obtain(); in testMarshaling() local 503 fullyPopulateAccessibilityEvent(sentEvent); in testMarshaling() 507 sentEvent.writeToParcel(parcel, 0); in testMarshaling() 512 assertEqualsAccessibilityEvent(sentEvent, receivedEvent); in testMarshaling() 663 private void fullyPopulateAccessibilityEvent(AccessibilityEvent sentEvent) { in fullyPopulateAccessibilityEvent() argument 664 sentEvent.setAddedCount(1); in fullyPopulateAccessibilityEvent() 665 sentEvent.setBeforeText("BeforeText"); in fullyPopulateAccessibilityEvent() 666 sentEvent.setChecked(true); in fullyPopulateAccessibilityEvent() 667 sentEvent.setClassName("foo.bar.baz.Class"); in fullyPopulateAccessibilityEvent() 668 sentEvent.setContentDescription("ContentDescription"); in fullyPopulateAccessibilityEvent() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewUnbufferedTest.java | 154 private static void compareEvent(final MotionEvent sentEvent, in compareEvent() argument 156 assertEquals(sentEvent.getAction(), receivedEvent.mAction); in compareEvent() 157 assertEquals((int) sentEvent.getX(), receivedEvent.mX + offsets[0]); in compareEvent() 158 assertEquals((int) sentEvent.getY(), receivedEvent.mY + offsets[1]); in compareEvent() 159 assertEquals(sentEvent.getEventTime(), receivedEvent.mEventTime); in compareEvent() 160 assertEquals(sentEvent.getSource(), receivedEvent.mSource); in compareEvent() 168 MotionEvent sentEvent = sentEvents.poll(); in compareEvents() local 170 compareEvent(sentEvent, receivedEvent, offsets); in compareEvents()
|