Home
last modified time | relevance | path

Searched defs:event (Results 1 – 25 of 162) sorted by relevance

1234567

/cts/tests/tests/view/src/android/view/textclassifier/cts/
DTextClassifierEventTest.java43 final TextClassifierEvent.TextSelectionEvent event = createMinimalTextSelectionEvent(); in testTextSelectionEvent_minimal() local
54 final TextClassifierEvent.TextSelectionEvent event = createFullTextSelectionEvent(); in testTextSelectionEvent_full() local
65 final TextClassifierEvent.TextLinkifyEvent event = createMinimalTextLinkifyEvent(); in testTextLinkifyEvent_minimal() local
76 final TextClassifierEvent.TextLinkifyEvent event = createFullTextLinkifyEvent(); in testTextLinkifyEvent_full() local
87 final TextClassifierEvent.ConversationActionsEvent event = in testConversationActionsEvent_minimal() local
99 final TextClassifierEvent.ConversationActionsEvent event = in testConversationActionsEvent_full() local
111 final TextClassifierEvent.LanguageDetectionEvent event = in testLanguageDetectionEvent_minimal() local
123 final TextClassifierEvent.LanguageDetectionEvent event = in testLanguageDetectionEvent_full() local
139 private void assertMinimalTextSelectionEvent(TextClassifierEvent.TextSelectionEvent event) { in assertMinimalTextSelectionEvent()
180 private void assertFullTextSelectionEvent(TextClassifierEvent.TextSelectionEvent event) { in assertFullTextSelectionEvent()
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/
DMyAutofillCallback.java63 public void onAutofillEvent(View view, int event) { in onAutofillEvent()
68 public void onAutofillEvent(View view, int childId, int event) { in onAutofillEvent()
72 private void offer(MyEvent event) { in offer()
81 final MyEvent event = mEvents.poll(CONNECTION_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in getEvent() local
92 final MyEvent event = mEvents.poll(CALLBACK_NOT_CALLED_TIMEOUT_MS, TimeUnit.MILLISECONDS); in assertNotCalled() local
111 final MyEvent event = getEvent(); in assertUiShownEvent() local
124 final MyEvent event = assertUiShownEvent(expectedView); in assertUiShownEvent() local
135 final MyEvent event = assertUiShownEvent(expectedView); in assertUiShownEventForVirtualChild() local
143 final MyEvent event = getEvent(); in assertUiHiddenEvent() local
156 final MyEvent event = assertUiHiddenEvent(expectedView); in assertUiHiddenEvent() local
[all …]
/cts/tests/tests/view/src/android/view/cts/
DKeyEventInjectionActivity.java29 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
36 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
41 public boolean onKeyLongPress(int keyCode, KeyEvent event) { in onKeyLongPress()
46 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { in onKeyMultiple()
DKeyEventInjectionTest.java111 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
117 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
123 public boolean onKeyLongPress(int keyCode, KeyEvent event) { in onKeyLongPress()
129 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { in onKeyMultiple()
171 KeyEvent event = popEvent(mLongPressEvents); in waitForLongPress() local
182 KeyEvent event = popEvent(mEvents); in checkKeyEvent() local
DTouchDelegateTest.java138 final MotionEvent event = MotionEvent.obtain(downTime, downTime, in testOnTouchExplorationHoverEvent_withNullBounds_noException() local
165 MotionEvent event = mActivity.removeOldestButtonEvent(); in ensureOldestActionEquals() local
202 final MotionEvent event = MotionEvent.obtain(downTime, eventTime, action, in dispatchMotionEventToActivity() local
227 final MotionEvent event = MotionEvent.obtain(downTime, eventTime, action, pointerCount, in dispatchMultiTouchMotionEventToActivity() local
237 void dispatchMotionEvent(MotionEvent event); in dispatchMotionEvent()
DGestureDetectorCtsActivity.java93 public boolean onTouch(View v, MotionEvent event) { in onTouch()
98 public boolean onGenericMotion(View v, MotionEvent event) { in onGenericMotion()
DTouchDelegateTestActivity.java90 button.setOnTouchListener((v, event) -> { in onCreate() argument
94 button.setOnHoverListener((v, event) -> { in onCreate() argument
DLongPressBackActivity.java49 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
57 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
DKeyEventInterceptTestActivity.java29 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent()
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
DAbstractSensorVerification.java48 protected abstract void addSensorEventInternal(TestSensorEvent event); in addSensorEventInternal()
66 public final TestSensorEvent event; field in AbstractSensorVerification.IndexedEvent
68 public IndexedEvent(int index, TestSensorEvent event) { in IndexedEvent()
80 public IndexedEventPair(int index, TestSensorEvent event, TestSensorEvent previousEvent) { in IndexedEventPair()
DContinuousEventSanitizedVerification.java84 final TestSensorEvent event = mNonSanitizedEvents.get(i); in verify() local
110 protected void addSensorEventInternal(TestSensorEvent event) { in addSensorEventInternal()
/cts/tests/tests/widget/src/android/widget/cts/
DMockViewForListPopupWindow.java41 public boolean onKeyPreIme(int keyCode, KeyEvent event) { in onKeyPreIme()
49 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
57 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputTestCase.java107 MotionEvent event = waitForMotion(); in assertReceivedMotionEvent() local
137 InputEvent event = mEvents.poll(); in assertNoMoreEvents() local
158 final InputEvent event = testData.events.get(i); in testInputEvents() local
181 InputEvent event = waitForEvent(); in waitForKey() local
189 InputEvent event = waitForEvent(); in waitForMotion() local
210 private static List<MotionEvent> splitBatchedMotionEvent(MotionEvent event) { in splitBatchedMotionEvent()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
DProjectedPresentation.java41 public void injectTouchEvent(MotionEvent event) { in injectTouchEvent()
46 public void injectKeyEvent(KeyEvent event) { in injectKeyEvent()
DIProjectionService.aidl27 void onTouchEvent(in MotionEvent event); in onTouchEvent()
28 void onKeyEvent(in KeyEvent event); in onKeyEvent()
/cts/hostsidetests/hdmicec/app/src/android/hdmicec/app/
DHdmiCecKeyEventCapture.java60 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
66 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
79 public boolean onKeyLongPress(int keyCode, KeyEvent event) { in onKeyLongPress()
/cts/tests/tests/systemui/src/android/systemui/cts/
DTouchHelper.java55 MotionEvent event = getMotionEvent(mDownTime, mDownTime, MotionEvent.ACTION_DOWN, x, y); in touchDown() local
61 MotionEvent event = getMotionEvent(mDownTime, eventTime, MotionEvent.ACTION_UP, x, y); in touchUp() local
85 private boolean injectEventSync(InputEvent event) { in injectEventSync()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DAccessibilityEventFilterUtils.java71 protected boolean matchesSafely(AccessibilityEvent event) { in matchesSafely()
90 protected boolean matchesSafely(AccessibilityEvent event) { in matchesSafely()
109 protected boolean matchesSafely(AccessibilityEvent event) { in matchesSafely()
133 protected boolean matchesSafely(AccessibilityEvent event) { in matchesSafely()
154 protected boolean matchesSafely(AccessibilityEvent event) { in matchesSafely()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityEventTest.java127 AccessibilityEvent event = AccessibilityEvent.obtain(); in testDescribeContents() local
161 AccessibilityEvent event = AccessibilityEvent.obtain(); in testChangeTextAfterSetting_shouldNotAffectEvent() local
285 private static void assertAccessibilityEventCleared(AccessibilityEvent event) { in assertAccessibilityEventCleared()
/cts/tests/tests/location/src/android/location/cts/
DGnssMeasurementsEventTest.java33 GnssMeasurementsEvent event = new GnssMeasurementsEvent( in testDescribeContents() local
45 GnssMeasurementsEvent event = new GnssMeasurementsEvent( in testWriteToParcel() local
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAssertions.java160 final ContentCaptureEvent event = assertViewAppeared(events, index); in assertDecorViewAppeared() local
172 final ContentCaptureEvent event = assertViewAppeared(events, index); in assertViewWithUnknownParentAppeared() local
193 final ContentCaptureEvent event = getEvent(events, index, TYPE_VIEW_APPEARED); in assertViewAppeared() local
247 final ContentCaptureEvent event = getEvent(events, index, expectedType); in assertSessionLevelEvent() local
351 final ContentCaptureEvent event = assertCommonViewDisappearedProperties(events, index); in assertViewDisappeared() local
363 final ContentCaptureEvent event = assertCommonViewDisappearedProperties(events, index); in assertViewsDisappeared() local
375 final ContentCaptureEvent event = getEvent(events, index, TYPE_VIEW_DISAPPEARED); in assertCommonViewDisappearedProperties() local
389 final ContentCaptureEvent event = getEvent(events, index, TYPE_VIEW_APPEARED); in assertVirtualViewAppeared() local
444 final ContentCaptureEvent event = getEvent(events, index, TYPE_VIEW_TEXT_CHANGED); in assertViewTextChanged() local
456 final ContentCaptureEvent event = getEvent(events, index, TYPE_CONTEXT_UPDATED); in assertContextUpdated() local
[all …]
/cts/tests/tests/media/src/android/media/cts/
DMediaCasTest.java505 TestEventListener(MediaCas mediaCas, int event, int arg, byte[] data) { in TestEventListener()
513 TestEventListener(MediaCas mediaCas, MediaCas.Session session, int event, in TestEventListener()
533 public void onEvent(MediaCas mediaCas, int event, int arg, byte[] data) { in onEvent()
547 int event, int arg, byte[] data) { in onSessionEvent()
561 private void testEventEcho(MediaCas mediaCas, int event, in testEventEcho()
570 private void testSessionEventEcho(MediaCas mediaCas, MediaCas.Session session, int event, in testSessionEventEcho()
/cts/tests/tests/text/src/android/text/method/cts/
DTextMethodUtils.java30 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, keyCode); in getUnacceptedKeyCode() local
/cts/tests/sensor/src/android/hardware/cts/helpers/
DTestSensorEvent.java42 public TestSensorEvent(SensorEvent event) { in TestSensorEvent()
53 public TestSensorEvent(SensorEvent event, long receivedTimestamp) { in TestSensorEvent()
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/
DDeviceEvent.java105 public static ContentValues buildContentValues(DeviceEvent event) { in buildContentValues()
200 public ContentValues buildContentValues(DeviceEvent event) { in buildContentValues()
215 final DeviceEvent event = new DeviceEvent( in buildStream() local

1234567