Searched refs:receivedEvent (Results 1 – 4 of 4) sorted by relevance
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityEventTest.java | 509 AccessibilityEvent receivedEvent = AccessibilityEvent.CREATOR.createFromParcel(parcel); in testMarshaling() local 512 assertEqualsAccessibilityEvent(sentEvent, receivedEvent); in testMarshaling() 704 AccessibilityEvent expectedEvent, AccessibilityEvent receivedEvent) { in assertEqualsAccessibilityEvent() argument 708 receivedEvent.getAddedCount()); in assertEqualsAccessibilityEvent() 712 receivedEvent.getBeforeText()); in assertEqualsAccessibilityEvent() 716 receivedEvent.isChecked()); in assertEqualsAccessibilityEvent() 720 receivedEvent.getClassName()); in assertEqualsAccessibilityEvent() 724 receivedEvent.getContentDescription()); in assertEqualsAccessibilityEvent() 728 receivedEvent.getCurrentItemIndex()); in assertEqualsAccessibilityEvent() 732 receivedEvent.isEnabled()); in assertEqualsAccessibilityEvent() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewUnbufferedTest.java | 155 final ReceivedEvent receivedEvent, final int[] offsets) { 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() 169 ReceivedEvent receivedEvent = receivedEvents.poll(); in compareEvents() local 170 compareEvent(sentEvent, receivedEvent, offsets); in compareEvents() 243 private boolean receivedEvent(MotionEvent event) { in receivedEvent() method in ViewUnbufferedTest 274 mView.setOnTouchListener((v, event) -> receivedEvent(event)); in testNormalTouch() [all …]
|
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | SetTouchableRegionTest.java | 80 boolean waitForEvent(boolean receivedEvent) throws InterruptedException { in waitForEvent() argument 82 if (mGotEvent != receivedEvent) { in waitForEvent() 85 return mGotEvent == receivedEvent; in waitForEvent()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarPropertyManagerTest.java | 8402 assertThat(speedListener.receivedEvent(vehicleSpeed)).isEqualTo(NO_EVENTS); 8406 assertThat(speedListener.receivedEvent(vehicleSpeedDisplay)) 8435 assertThat(speedListener.receivedEvent(vehicleSpeed)) 8437 assertThat(speedListener.receivedEvent(vehicleSpeedDisplay)) 8468 assertThat(speedListenerUI.receivedEvent(vehicleSpeed)).isEqualTo(NO_EVENTS); 8472 assertThat(speedListenerFast.receivedEvent(vehicleSpeed)).isEqualTo(NO_EVENTS); 8504 assertThat(speedListenerUI.receivedEvent(vehicleSpeed)) 8506 assertThat(speedListenerFast.receivedEvent(vehicleSpeed)) 8507 .isAtLeast(speedListenerUI.receivedEvent(vehicleSpeed)); 8651 vurEventCounter.receivedEvent(vehicleSpeed) [all …]
|