Home
last modified time | relevance | path

Searched refs:event2 (Results 1 – 6 of 6) sorted by relevance

/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DFillEventHistoryTest.java218 FillEventHistory.Event event2 = events.get(2); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored() local
219 assertThat(event2.getType()).isEqualTo(TYPE_CONTEXT_COMMITTED); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
220 assertThat(event2.getDatasetId()).isNull(); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
221 assertThat(event2.getClientState()).isNull(); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
222 assertThat(event2.getSelectedDatasetIds()).isEmpty(); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
223 assertThat(event2.getIgnoredDatasetIds()).containsExactly("id2"); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
226 final Map<AutofillId, String> changedFields = event2.getChangedFields(); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
228 assertThat(event2.getManuallyEnteredField()).isEmpty(); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
282 final FillEventHistory.Event event2 = events.get(2); in testContextCommitted_idlessDatasetIgnored_datasetWithIdSelected() local
283 assertThat(event2.getType()).isEqualTo(TYPE_CONTEXT_COMMITTED); in testContextCommitted_idlessDatasetIgnored_datasetWithIdSelected()
[all …]
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityGestureEventTest.java96 AccessibilityGestureEvent event2 = new AccessibilityGestureEvent( in testDescribeContents() local
99 event2.describeContents()); in testDescribeContents()
/cts/tests/tests/text/src/android/text/method/cts/
DNumberKeyListenerTest.java107 KeyEvent event2 = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_A); in testLookup() local
109 assertEquals('\0', mMockNumberKeyListener.lookup(event2, str)); in testLookup()
DTouchTest.java143 final MotionEvent event2 = MotionEvent.obtain(downTime, eventTime, in testOnTouchEvent() local
162 () -> mReturnFromTouchEvent = Touch.onTouchEvent(mTextView, spannable, event2)); in testOnTouchEvent()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java1838 MotionEvent event2 = in testSetOnGenericMotionListener() local
1841 assertTrue(view.dispatchGenericMotionEvent(event2)); in testSetOnGenericMotionListener()
1842 event2.recycle(); in testSetOnGenericMotionListener()
3187 private static void compareAndRecycleMotionEvents(MotionEvent event1, MotionEvent event2) { in compareAndRecycleMotionEvents() argument
3188 if (event1 == null && event2 == null) { in compareAndRecycleMotionEvents()
3193 event2.recycle(); in compareAndRecycleMotionEvents()
3196 if (event2 == null) { in compareAndRecycleMotionEvents()
3201 assertEquals(event1.getAction(), event2.getAction()); in compareAndRecycleMotionEvents()
3202 assertEquals(event1.getPointerCount(), event2.getPointerCount()); in compareAndRecycleMotionEvents()
3203 assertEquals(event1.getSource(), event2.getSource()); in compareAndRecycleMotionEvents()
[all …]
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DLoginActivityTest.java325 final ContentCaptureEvent event2 = assertContextUpdated(events, in testSimpleLifecycle_changeContextAfterCreate() local
327 assertThat(event2.getContentCaptureContext()).isNull(); in testSimpleLifecycle_changeContextAfterCreate()