Home
last modified time | relevance | path

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

12345678910>>...44

/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
DContentCaptureEventTest.java60 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/
DGestureMatcher.java94 @State int state, MotionEvent event, MotionEvent rawEvent, int policyFlags) { in setState()
103 protected final void startGesture(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in startGesture()
108 protected final void cancelGesture(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in cancelGesture()
113 protected final void completeGesture(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in completeGesture()
134 public final int onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent()
167 protected void onDown(MotionEvent event, MotionEvent rawEvent, int policyFlags) {} in onDown()
179 protected void onPointerDown(MotionEvent event, MotionEvent rawEvent, int policyFlags) {} in onPointerDown()
190 protected void onMove(MotionEvent event, MotionEvent rawEvent, int policyFlags) {} in onMove()
202 protected void onPointerUp(MotionEvent event, MotionEvent rawEvent, int policyFlags) {} in onPointerUp()
214 protected void onUp(MotionEvent event, MotionEvent rawEvent, int policyFlags) {} in onUp()
[all …]
DTouchExplorer.java232 MotionEvent event = mState.getLastReceivedEvent(); in clear() local
238 private void clear(MotionEvent event, int policyFlags) { in clear()
262 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent()
324 public void onAccessibilityEvent(AccessibilityEvent event) { in onAccessibilityEvent()
366 public void onDoubleTapAndHold(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onDoubleTapAndHold()
386 public boolean onDoubleTap(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onDoubleTap()
428 MotionEvent event = mState.getLastReceivedEvent(); in onDoubleTap() local
439 MotionEvent event = mState.getLastReceivedEvent(); in onDoubleTapAndHold() local
474 public boolean onGestureCancelled(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onGestureCancelled()
518 MotionEvent event, MotionEvent rawEvent, int policyFlags) { in handleMotionEventStateClear()
[all …]
DMultiFingerMultiTap.java93 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()
191 protected void onPointerUp(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onPointerUp()
223 private PointF initBaseLocation(MotionEvent event) { in initBaseLocation()
245 private PointF findNearestPoint(MotionEvent event, float slop, boolean filterMatched) { in findNearestPoint()
/frameworks/base/core/tests/coretests/src/android/view/
DMotionEventTest.java95 final MotionEvent event = MotionEvent.obtain(0 /* downTime */, 0 /* eventTime */, in testCalculatesCursorPositionForTouchscreenEvents() local
105 final MotionEvent event = MotionEvent.obtain(0 /* downTime */, 0 /* eventTime */, in testCalculatesCursorPositionForSimpleMouseEvents() local
115 final MotionEvent event = MotionEvent.obtain(0 /* downTime */, 0 /* eventTime */, in testCalculatesCursorPositionForSimpleMouseEventsWithOffset() local
141 final MotionEvent event = MotionEvent.obtain(0 /* downTime */, in testCalculatesCursorPositionForMultiTouchMouseEvents() local
161 final MotionEvent event = MotionEvent.obtain(0 /* downTime */, 0 /* eventTime */, in testObtainGeneratesUniqueId() local
171 final MotionEvent event = MotionEvent.obtain(0 /* downTime */, 0 /* eventTime */, in testObtainGeneratesIdWithRightSource() local
182 final MotionEvent event = MotionEvent.obtain(0 /* downTime */, 0 /* eventTime */, in testEventRotation() local
221 final MotionEvent event = MotionEvent.obtain(0 /* downTime */, 0 /* eventTime */, in testUsesPointerSourceByDefault() local
228 final MotionEvent event = MotionEvent.obtain(0 /* downTime */, 0 /* eventTime */, in testLocationOffsetOnlyAppliedToNonPointerSources() local
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp80 MotionEvent* event) { in android_view_MotionEvent_setNativePtr()
85 jobject android_view_MotionEvent_obtainAsCopy(JNIEnv* env, const MotionEvent* event) { in android_view_MotionEvent_obtainAsCopy()
161 static bool validatePointerIndex(JNIEnv* env, jint pointerIndex, const MotionEvent& event) { in validatePointerIndex()
171 static bool validateHistoryPos(JNIEnv* env, jint historyPos, const MotionEvent& event) { in validateHistoryPos()
329 std::unique_ptr<MotionEvent> event; in android_view_MotionEvent_nativeInitialize() local
371 MotionEvent* event = reinterpret_cast<MotionEvent*>(nativePtr); in android_view_MotionEvent_nativeDispose() local
378 MotionEvent* event = reinterpret_cast<MotionEvent*>(nativePtr); in android_view_MotionEvent_nativeAddBatch() local
403 MotionEvent* event = reinterpret_cast<MotionEvent*>(nativePtr); in android_view_MotionEvent_nativeGetPointerCoords() local
447 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
[all …]
/frameworks/native/libs/input/tests/
DVerifiedInputEvent_test.cpp25 KeyEvent event; in getKeyEventWithFlags() local
34 MotionEvent event; in getMotionEventWithFlags() local
57 KeyEvent event = getKeyEventWithFlags(0); in TEST() local
77 KeyEvent event = getKeyEventWithFlags(AKEY_EVENT_FLAG_CANCELED | AKEY_EVENT_FLAG_FALLBACK); in TEST() local
83 KeyEvent event = getKeyEventWithFlags(AKEY_EVENT_FLAG_EDITOR_ACTION); in TEST() local
89 MotionEvent event = getMotionEventWithFlags(0); in TEST() local
109 MotionEvent event = getMotionEventWithFlags(AMOTION_EVENT_FLAG_WINDOW_IS_OBSCURED | in TEST() local
116 MotionEvent event = getMotionEventWithFlags(AMOTION_EVENT_FLAG_TAINTED); in TEST() local
DInputEvent_test.cpp183 KeyEvent event; in TEST_F() local
242 void MotionEventTest::initializeEventWithHistory(MotionEvent* event) { in initializeEventWithHistory()
325 void MotionEventTest::assertEqualsEventWithHistory(const MotionEvent* event) { in assertEqualsEventWithHistory()
463 MotionEvent event; in TEST_F() local
488 MotionEvent event; in TEST_F() local
498 MotionEvent event; in TEST_F() local
516 MotionEvent event; in TEST_F() local
526 MotionEvent event; in TEST_F() local
601 MotionEvent event; in TEST_F() local
661 MotionEvent event; in createMotionEvent() local
[all …]
/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
DMyAutofillCallback.java51 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/java/com/android/internal/midi/
DEventScheduler.java51 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/libs/modules-utils/java/com/android/internal/logging/
DUiEventLogger.java58 void log(@NonNull UiEventEnum event); in log()
66 void log(@NonNull UiEventEnum event, @Nullable InstanceId instance); in log()
75 void log(@NonNull UiEventEnum event, int uid, @Nullable String packageName); in log()
85 void logWithInstanceId(@NonNull UiEventEnum event, int uid, @Nullable String packageName, in logWithInstanceId()
96 void logWithPosition(@NonNull UiEventEnum event, int uid, @Nullable String packageName, in logWithPosition()
109 void logWithInstanceIdAndPosition(@NonNull UiEventEnum event, int uid, in logWithInstanceIdAndPosition()
/frameworks/base/core/java/com/android/internal/logging/
DUiEventLoggerImpl.java28 public void log(UiEventEnum event) { in log()
33 public void log(UiEventEnum event, int uid, String packageName) { in log()
45 public void log(UiEventEnum event, InstanceId instanceId) { in log()
50 public void logWithInstanceId(UiEventEnum event, int uid, String packageName, in logWithInstanceId()
65 public void logWithPosition(UiEventEnum event, int uid, String packageName, int position) { in logWithPosition()
78 public void logWithInstanceIdAndPosition(UiEventEnum event, int uid, String packageName, in logWithInstanceIdAndPosition()
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityEventTest.java56 AccessibilityEvent event = AccessibilityEvent.obtain(); in testImportantForAccessibiity_getSetWorkAcrossParceling() local
67 AccessibilityEvent event = AccessibilityEvent.obtain(); in testSouceNodeId_getSetWorkAcrossParceling() local
75 AccessibilityEvent event = AccessibilityEvent.obtain(); in testSourceDisplayId_getSetWorkAcrossParceling() local
85 AccessibilityEvent event = AccessibilityEvent.obtain(); in testWindowChanges_getSetWorkAcrossParceling() local
102 private AccessibilityEvent copyEventViaParcel(AccessibilityEvent event) { in copyEventViaParcel()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DKeyboardInterceptorTest.java77 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0); in whenNonspecialKeyArrives_withNothingInQueue_eventGoesToAms() local
84 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_DOWN); in whenVolumeKeyArrives_andPolicySaysUseIt_eventGoesToAms() local
93 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_UP); in whenVolumeKeyArrives_andPolicySaysDropIt_eventDropped() local
103 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_UP); in whenVolumeKeyArrives_andPolicySaysDelayThenUse_eventQueuedThenSentToAms() local
120 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_DOWN); in whenVolumeKeyArrives_andPolicySaysDelayThenDrop_eventQueuedThenDropped() local
196 private static KeyEventMatcher matchesKeyEvent(KeyEvent event) { in matchesKeyEvent()
/frameworks/base/core/java/android/text/method/
DMovementMethod.java37 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/
DTextClassifierEventTest.java54 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/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarViewTest.kt53 val event = MotionEvent.obtain(0L, 0L, MotionEvent.ACTION_DOWN, 0f, 0f, 0) in onTouchEvent_listenerNotified() constant
64 val event = MotionEvent.obtain(0L, 0L, MotionEvent.ACTION_DOWN, 0f, 0f, 0) in onInterceptTouchEvent_listenerNotified() constant
74 val event = MotionEvent.obtain(0L, 0L, MotionEvent.ACTION_DOWN, 0f, 0f, 0) in onTouchEvent_listenerReturnsTrue_viewReturnsTrue() constant
85 val event = MotionEvent.obtain(0L, 0L, MotionEvent.ACTION_DOWN, 0f, 0f, 0) in onTouchEvent_listenerReturnsFalse_viewReturnsFalse() constant
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationChannelLoggerFake.java27 public NotificationChannelEvent event; field in NotificationChannelLoggerFake.CallRecord
28 CallRecord(NotificationChannelEvent event) { in CallRecord()
51 public void logNotificationChannel(NotificationChannelEvent event, NotificationChannel channel, in logNotificationChannel()
57 public void logNotificationChannelGroup(NotificationChannelEvent event, in logNotificationChannelGroup()
63 public void logAppEvent(NotificationChannelEvent event, int uid, String pkg) { in logAppEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DSimpleSwipe.java46 protected void onDown(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onDown()
52 protected void onPointerDown(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onPointerDown()
57 protected void onMove(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMove()
64 protected void onUp(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onUp()
72 private boolean gestureMatched(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in gestureMatched()
DTwoFingersDownOrSwipe.java52 protected void onDown(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onDown()
58 protected void onPointerDown(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onPointerDown()
71 protected void onMove(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMove()
86 protected void onPointerUp(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onPointerUp()
91 protected void onUp(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onUp()
/frameworks/base/core/java/com/android/internal/app/
DAlertActivity.java76 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/base/apct-tests/perftests/core/src/android/view/
DInputStageBenchmark.java84 public boolean dispatchKeyEventPreIme(KeyEvent event) { in dispatchKeyEventPreIme()
92 public boolean dispatchTouchEvent(MotionEvent event) { in dispatchTouchEvent()
98 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent()
111 public boolean dispatchKeyEventPreIme(KeyEvent event) { in dispatchKeyEventPreIme()
119 public boolean dispatchTouchEvent(MotionEvent event) { in dispatchTouchEvent()
125 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent()
181 private void injectInputEvent(InputEvent event) { in injectInputEvent()
/frameworks/base/media/java/android/media/metrics/
DPlaybackSession.java58 public void reportPlaybackErrorEvent(@NonNull PlaybackErrorEvent event) { in reportPlaybackErrorEvent()
65 public void reportNetworkEvent(@NonNull NetworkEvent event) { in reportNetworkEvent()
72 public void reportPlaybackStateEvent(@NonNull PlaybackStateEvent event) { in reportPlaybackStateEvent()
79 public void reportTrackChangeEvent(@NonNull TrackChangeEvent event) { in reportTrackChangeEvent()
/frameworks/layoutlib/bridge/src/android/view/
DWindowCallback.java31 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/core/java/android/hardware/input/
DVirtualMouse.java69 public void sendButtonEvent(@NonNull VirtualMouseButtonEvent event) { in sendButtonEvent()
86 public void sendScrollEvent(@NonNull VirtualMouseScrollEvent event) { in sendScrollEvent()
102 public void sendRelativeEvent(@NonNull VirtualMouseRelativeEvent event) { in sendRelativeEvent()

12345678910>>...44