| /frameworks/base/core/tests/coretests/src/android/view/contentcapture/ |
| D | ContentCaptureEventTest.java | 60 final ContentCaptureEvent event = new ContentCaptureEvent(42, TYPE_VIEW_DISAPPEARED); in testSetAutofillId_null() local 69 final ContentCaptureEvent event = new ContentCaptureEvent(42, TYPE_VIEW_DISAPPEARED); in testSetAutofillIds_null() local 78 final ContentCaptureEvent event = new ContentCaptureEvent(42, TYPE_VIEW_DISAPPEARED); in testAddAutofillId_null() local 87 final ContentCaptureEvent event = new ContentCaptureEvent(42, TYPE_VIEW_DISAPPEARED); in testSetAutofillId() local 97 final ContentCaptureEvent event = new ContentCaptureEvent(42, TYPE_VIEW_DISAPPEARED); in testSetAutofillIds() local 109 final ContentCaptureEvent event = new ContentCaptureEvent(42, TYPE_VIEW_DISAPPEARED); in testAddAutofillId() local 124 final ContentCaptureEvent event = new ContentCaptureEvent(42, TYPE_VIEW_DISAPPEARED); in testAddAutofillId_afterSetId() local 139 final ContentCaptureEvent event = new ContentCaptureEvent(42, TYPE_VIEW_DISAPPEARED); in testAddAutofillId_afterSetIds() local 156 final ContentCaptureEvent event = newEventForSessionStarted(); in testSessionStarted_directly() local 162 final ContentCaptureEvent event = newEventForSessionStarted(); in testSessionStarted_throughParcel() local [all …]
|
| /frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
| D | GestureMatcher.java | 92 @State int state, MotionEvent event, MotionEvent rawEvent, int policyFlags) { in setState() 99 protected final void startGesture(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in startGesture() 104 protected final void cancelGesture(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in cancelGesture() 109 protected final void completeGesture(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in completeGesture() 126 public final int onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() 159 protected void onDown(MotionEvent event, MotionEvent rawEvent, int policyFlags) {} in onDown() 171 protected void onPointerDown(MotionEvent event, MotionEvent rawEvent, int policyFlags) {} in onPointerDown() 182 protected void onMove(MotionEvent event, MotionEvent rawEvent, int policyFlags) {} in onMove() 194 protected void onPointerUp(MotionEvent event, MotionEvent rawEvent, int policyFlags) {} in onPointerUp() 206 protected void onUp(MotionEvent event, MotionEvent rawEvent, int policyFlags) {} in onUp() [all …]
|
| D | TouchExplorer.java | 202 MotionEvent event = mState.getLastReceivedEvent(); in clear() local 208 private void clear(MotionEvent event, int policyFlags) { in clear() 232 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() 281 public void onAccessibilityEvent(AccessibilityEvent event) { in onAccessibilityEvent() 320 public void onDoubleTapAndHold(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onDoubleTapAndHold() 328 public boolean onDoubleTap(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onDoubleTap() 375 public boolean onGestureCancelled(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onGestureCancelled() 406 MotionEvent event, MotionEvent rawEvent, int policyFlags) { in handleMotionEventStateClear() 422 private void handleActionDown(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in handleActionDown() 480 MotionEvent event, MotionEvent rawEvent, int policyFlags) { in handleMotionEventStateTouchInteracting() [all …]
|
| D | MultiFingerMultiTap.java | 93 protected void onDown(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onDown() 120 protected void onUp(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onUp() 149 protected void onMove(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMove() 157 protected void onPointerDown(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onPointerDown() 190 protected void onPointerUp(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onPointerUp() 222 private PointF initBaseLocation(MotionEvent event) { in initBaseLocation() 244 private PointF findNearestPoint(MotionEvent event, float slop, boolean filterMatched) { in findNearestPoint()
|
| D | MultiTap.java | 62 protected void onDown(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onDown() 83 protected void onUp(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onUp() 104 protected void onMove(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMove() 111 protected void onPointerDown(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onPointerDown() 116 protected void onPointerUp(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onPointerUp()
|
| /frameworks/base/wifi/tests/src/android/net/wifi/p2p/ |
| D | WifiP2pProvDiscEventTest.java | 44 WifiP2pProvDiscEvent event = in testPbcReqEvent() local 56 WifiP2pProvDiscEvent event = in testPbcRespEvent() local 67 WifiP2pProvDiscEvent event = in testEnterPinEvent() local 78 WifiP2pProvDiscEvent event = in testShowPinEvent() local 92 WifiP2pProvDiscEvent event = new WifiP2pProvDiscEvent("OneToken"); in testMalformedInput() local 105 WifiP2pProvDiscEvent event = new WifiP2pProvDiscEvent("XXX " + DEVICE_ADDRESS); in testMalformedEvent() local
|
| /frameworks/native/libs/input/tests/ |
| D | VerifiedInputEvent_test.cpp | 23 KeyEvent event; in getKeyEventWithFlags() local 32 MotionEvent event; in getMotionEventWithFlags() local 53 KeyEvent event = getKeyEventWithFlags(0); in TEST() local 73 KeyEvent event = getKeyEventWithFlags(AKEY_EVENT_FLAG_CANCELED | AKEY_EVENT_FLAG_FALLBACK); in TEST() local 79 KeyEvent event = getKeyEventWithFlags(AKEY_EVENT_FLAG_EDITOR_ACTION); in TEST() local 85 MotionEvent event = getMotionEventWithFlags(0); in TEST() local 105 MotionEvent event = getMotionEventWithFlags(AMOTION_EVENT_FLAG_WINDOW_IS_OBSCURED | in TEST() local 112 MotionEvent event = getMotionEventWithFlags(AMOTION_EVENT_FLAG_TAINTED); in TEST() local
|
| D | InputEvent_test.cpp | 180 KeyEvent event; in TEST_F() local 234 void MotionEventTest::initializeEventWithHistory(MotionEvent* event) { in initializeEventWithHistory() 315 void MotionEventTest::assertEqualsEventWithHistory(const MotionEvent* event) { in assertEqualsEventWithHistory() 449 MotionEvent event; in TEST_F() local 474 MotionEvent event; in TEST_F() local 484 MotionEvent event; in TEST_F() local 502 MotionEvent event; in TEST_F() local 512 MotionEvent event; in TEST_F() local 586 MotionEvent event; in TEST_F() local 641 MotionEvent event; in TEST_F() local [all …]
|
| /frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/ |
| D | MyAutofillCallback.java | 51 public void onAutofillEvent(View view, int event) { in onAutofillEvent() 68 public void expectEvent(@NonNull View view, int event) { in expectEvent() 96 private static String eventToString(int event) { in eventToString() 109 private static String toString(View view, int event) { in toString() 115 public final int event; field in MyAutofillCallback.MyEvent 117 MyEvent(View view, int event) { in MyEvent()
|
| /frameworks/base/core/jni/ |
| D | android_view_MotionEvent.cpp | 76 MotionEvent* event) { in android_view_MotionEvent_setNativePtr() 81 jobject android_view_MotionEvent_obtainAsCopy(JNIEnv* env, const MotionEvent* event) { in android_view_MotionEvent_obtainAsCopy() 345 MotionEvent* event; in android_view_MotionEvent_nativeInitialize() local 391 MotionEvent* event = reinterpret_cast<MotionEvent*>(nativePtr); in android_view_MotionEvent_nativeDispose() local 398 MotionEvent* event = reinterpret_cast<MotionEvent*>(nativePtr); in android_view_MotionEvent_nativeAddBatch() local 423 MotionEvent* event = reinterpret_cast<MotionEvent*>(nativePtr); in android_view_MotionEvent_nativeGetPointerCoords() local 446 MotionEvent* event = reinterpret_cast<MotionEvent*>(nativePtr); in android_view_MotionEvent_nativeGetPointerProperties() local 459 MotionEvent* event = reinterpret_cast<MotionEvent*>(nativePtr); in android_view_MotionEvent_nativeReadFromParcel() local 479 MotionEvent* event = reinterpret_cast<MotionEvent*>(nativePtr); in android_view_MotionEvent_nativeWriteToParcel() local 503 MotionEvent* event = reinterpret_cast<MotionEvent*>(nativePtr); in android_view_MotionEvent_nativeGetPointerId() local [all …]
|
| /frameworks/base/core/tests/coretests/src/android/view/ |
| D | MotionEventTest.java | 91 final MotionEvent event = MotionEvent.obtain(0 /* downTime */, 0 /* eventTime */, in testCalculatesCursorPositionForTouchscreenEvents() local 101 final MotionEvent event = MotionEvent.obtain(0 /* downTime */, 0 /* eventTime */, in testCalculatesCursorPositionForSimpleMouseEvents() local 111 final MotionEvent event = MotionEvent.obtain(0 /* downTime */, 0 /* eventTime */, in testCalculatesCursorPositionForSimpleMouseEventsWithOffset() local 137 final MotionEvent event = MotionEvent.obtain(0 /* downTime */, in testCalculatesCursorPositionForMultiTouchMouseEvents() local 157 final MotionEvent event = MotionEvent.obtain(0 /* downTime */, 0 /* eventTime */, in testObtainGeneratesUniqueId() local 167 final MotionEvent event = MotionEvent.obtain(0 /* downTime */, 0 /* eventTime */, in testObtainGeneratesIdWithRightSource() local
|
| /frameworks/base/core/java/com/android/internal/midi/ |
| D | EventScheduler.java | 51 FastEventQueue(SchedulableEvent event) { in FastEventQueue() 70 SchedulableEvent event = mFirst; in remove() local 79 public void add(SchedulableEvent event) { in add() 123 SchedulableEvent event = null; in removeEventfromPool() local 135 public void addEventToPool(SchedulableEvent event) { in addEventToPool() 151 public void add(SchedulableEvent event) { in add() 171 SchedulableEvent event; in removeNextEventLocked() local 188 SchedulableEvent event = null; in getNextEvent() local 211 SchedulableEvent event = null; in waitNextEvent() local
|
| /frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
| D | KeyboardInterceptorTest.java | 75 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0); in whenNonspecialKeyArrives_withNothingInQueue_eventGoesToAms() local 82 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_DOWN); in whenVolumeKeyArrives_andPolicySaysUseIt_eventGoesToAms() local 91 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_UP); in whenVolumeKeyArrives_andPolicySaysDropIt_eventDropped() local 101 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_UP); in whenVolumeKeyArrives_andPolicySaysDelayThenUse_eventQueuedThenSentToAms() local 118 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_DOWN); in whenVolumeKeyArrives_andPolicySaysDelayThenDrop_eventQueuedThenDropped() local 194 private static KeyEventMatcher matchesKeyEvent(KeyEvent event) { in matchesKeyEvent()
|
| /frameworks/base/core/java/com/android/internal/logging/ |
| D | UiEventLogger.java | 42 void log(@NonNull UiEventEnum event); in log() 51 void log(@NonNull UiEventEnum event, int uid, @Nullable String packageName); in log() 61 void logWithInstanceId(@NonNull UiEventEnum event, int uid, @Nullable String packageName, in logWithInstanceId() 72 void logWithPosition(@NonNull UiEventEnum event, int uid, @Nullable String packageName, in logWithPosition() 85 void logWithInstanceIdAndPosition(@NonNull UiEventEnum event, int uid, in logWithInstanceIdAndPosition()
|
| D | UiEventLoggerImpl.java | 28 public void log(UiEventEnum event) { in log() 33 public void log(UiEventEnum event, int uid, String packageName) { in log() 41 public void logWithInstanceId(UiEventEnum event, int uid, String packageName, in logWithInstanceId() 53 public void logWithPosition(UiEventEnum event, int uid, String packageName, int position) { in logWithPosition() 65 public void logWithInstanceIdAndPosition(UiEventEnum event, int uid, String packageName, in logWithInstanceIdAndPosition()
|
| /frameworks/base/core/java/android/text/method/ |
| D | MovementMethod.java | 37 public boolean onKeyDown(TextView widget, Spannable text, int keyCode, KeyEvent event); in onKeyDown() 38 public boolean onKeyUp(TextView widget, Spannable text, int keyCode, KeyEvent event); in onKeyUp() 45 public boolean onKeyOther(TextView view, Spannable text, KeyEvent event); in onKeyOther() 48 public boolean onTrackballEvent(TextView widget, Spannable text, MotionEvent event); in onTrackballEvent() 49 public boolean onTouchEvent(TextView widget, Spannable text, MotionEvent event); in onTouchEvent() 50 public boolean onGenericMotionEvent(TextView widget, Spannable text, MotionEvent event); in onGenericMotionEvent()
|
| /frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
| D | TextClassifierEventTest.java | 54 final TextClassifierEvent event = new TextClassifierEvent.TextSelectionEvent.Builder( in toSelectionEvent_selectionStarted() local 78 final TextClassifierEvent event = new TextClassifierEvent.TextSelectionEvent.Builder( in toSelectionEvent_smartSelectionMulti() local 107 final TextClassifierEvent event = new TextClassifierEvent.TextSelectionEvent.Builder( in toSelectionEvent_smartSelectionSingle() local 139 final TextClassifierEvent event = new TextClassifierEvent.TextSelectionEvent.Builder( in toSelectionEvent_resetSelection() local 167 final TextClassifierEvent event = new TextClassifierEvent.TextSelectionEvent.Builder( in toSelectionEvent_modifySelection() local 191 final TextClassifierEvent event = new TextClassifierEvent.TextSelectionEvent.Builder( in toSelectionEvent_copyAction() local 210 final TextClassifierEvent event = new TextClassifierEvent.TextSelectionEvent.Builder( in toSelectionEvent_selectionDismissed() local 230 final TextClassifierEvent event = new TextClassifierEvent.TextLinkifyEvent.Builder( in toSelectionEvent_link_smartAction() local
|
| /frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
| D | NotificationChannelLoggerFake.java | 27 public NotificationChannelEvent event; field in NotificationChannelLoggerFake.CallRecord 28 CallRecord(NotificationChannelEvent event) { in CallRecord() 44 public void logNotificationChannel(NotificationChannelEvent event, NotificationChannel channel, in logNotificationChannel() 50 public void logNotificationChannelGroup(NotificationChannelEvent event, in logNotificationChannelGroup() 56 public void logAppEvent(NotificationChannelEvent event, int uid, String pkg) { in logAppEvent()
|
| D | NotificationRecordLoggerFake.java | 30 public UiEventLogger.UiEventEnum event; field in NotificationRecordLoggerFake.CallRecord 48 CallRecord(NotificationRecord r, UiEventLogger.UiEventEnum event) { in CallRecord() 67 UiEventLogger.UiEventEnum event(int index) { in event() method in NotificationRecordLoggerFake 78 public void log(UiEventLogger.UiEventEnum event, NotificationRecord r) { in log() 83 public void log(UiEventLogger.UiEventEnum event) { in log()
|
| /frameworks/base/core/tests/coretests/src/android/view/accessibility/ |
| D | AccessibilityEventTest.java | 55 AccessibilityEvent event = AccessibilityEvent.obtain(); in testImportantForAccessibiity_getSetWorkAcrossParceling() local 66 AccessibilityEvent event = AccessibilityEvent.obtain(); in testSouceNodeId_getSetWorkAcrossParceling() local 76 AccessibilityEvent event = AccessibilityEvent.obtain(); in testWindowChanges_getSetWorkAcrossParceling() local 93 private AccessibilityEvent copyEventViaParcel(AccessibilityEvent event) { in copyEventViaParcel()
|
| /frameworks/base/core/java/com/android/internal/app/ |
| D | AlertActivity.java | 76 public boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent event) { in dispatchPopulateAccessibilityEvent() 81 AccessibilityEvent event) { in dispatchPopulateAccessibilityEvent() 106 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() 112 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
|
| /frameworks/layoutlib/bridge/src/android/view/ |
| D | WindowCallback.java | 31 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() 36 public boolean dispatchKeyShortcutEvent(KeyEvent event) { in dispatchKeyShortcutEvent() 41 public boolean dispatchTouchEvent(MotionEvent event) { in dispatchTouchEvent() 46 public boolean dispatchTrackballEvent(MotionEvent event) { in dispatchTrackballEvent() 51 public boolean dispatchGenericMotionEvent(MotionEvent event) { in dispatchGenericMotionEvent() 56 public boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent event) { in dispatchPopulateAccessibilityEvent()
|
| /frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
| D | SecurityEventTest.java | 29 SecurityEvent event = createEvent(() -> { in testSecurityEventId() local 38 SecurityEvent event = createEvent(() -> { in testSecurityEventParceling() local 55 SecurityEvent event; in testSecurityEventRedaction() local
|
| /frameworks/base/core/java/android/view/ |
| D | InputFilter.java | 151 final public void filterInputEvent(InputEvent event, int policyFlags) { in filterInputEvent() 161 public void sendInputEvent(InputEvent event, int policyFlags) { in sendInputEvent() 192 public void onInputEvent(InputEvent event, int policyFlags) { in onInputEvent() 244 final InputEvent event = (InputEvent)msg.obj; in handleMessage() local
|
| /frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
| D | AccessibilityInputFilter.java | 207 public void onInputEvent(InputEvent event, int policyFlags) { in onInputEvent() 261 private EventStreamState getEventStreamState(InputEvent event) { in getEventStreamState() 295 private void processMotionEvent(EventStreamState state, MotionEvent event, int policyFlags) { in processMotionEvent() 308 private void processKeyEvent(EventStreamState state, KeyEvent event, int policyFlags) { in processKeyEvent() 319 private void handleMotionEvent(MotionEvent event, int policyFlags) { in handleMotionEvent() 342 public void onKeyEvent(KeyEvent event, int policyFlags) { in onKeyEvent() 347 public void onAccessibilityEvent(AccessibilityEvent event) { in onAccessibilityEvent() 386 void notifyAccessibilityEvent(AccessibilityEvent event) { in notifyAccessibilityEvent() 613 public boolean shouldProcessMotionEvent(MotionEvent event) { in shouldProcessMotionEvent() 621 public boolean shouldProcessKeyEvent(KeyEvent event) { in shouldProcessKeyEvent() [all …]
|