Home
last modified time | relevance | path

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

12345678910>>...35

/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/wifi/tests/src/android/net/wifi/p2p/
DWifiP2pProvDiscEventTest.java44 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/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/jni/
Dandroid_view_MotionEvent.cpp77 MotionEvent* event) { in android_view_MotionEvent_setNativePtr()
82 jobject android_view_MotionEvent_obtainAsCopy(JNIEnv* env, const MotionEvent* event) { in android_view_MotionEvent_obtainAsCopy()
348 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/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/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/
DRecentsActivity.java591 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
652 public final void onBusEvent(ToggleRecentsEvent event) { in onBusEvent()
661 public final void onBusEvent(RecentsActivityStartingEvent event) { in onBusEvent()
665 public final void onBusEvent(HideRecentsEvent event) { in onBusEvent()
681 public final void onBusEvent(EnterRecentsWindowLastAnimationFrameEvent event) { in onBusEvent()
686 public final void onBusEvent(ExitRecentsWindowFirstAnimationFrameEvent event) { in onBusEvent()
691 public final void onBusEvent(DockedFirstAnimationFrameEvent event) { in onBusEvent()
696 public final void onBusEvent(CancelEnterRecentsWindowAnimationEvent event) { in onBusEvent()
706 public final void onBusEvent(ShowApplicationInfoEvent event) { in onBusEvent()
719 public final void onBusEvent(ShowIncompatibleAppOverlayEvent event) { in onBusEvent()
[all …]
DLegacyRecentsImpl.java480 public final void onBusEvent(final RecentsVisibilityChangedEvent event) { in onBusEvent()
507 public final void onBusEvent(DockedFirstAnimationFrameEvent event) { in onBusEvent()
532 public final void onBusEvent(final ScreenPinningRequestEvent event) { in onBusEvent()
550 public final void onBusEvent(final RecentsDrawnEvent event) { in onBusEvent()
571 public final void onBusEvent(final DockedTopTaskEvent event) { in onBusEvent()
592 public final void onBusEvent(final RecentsActivityStartingEvent event) { in onBusEvent()
613 public final void onBusEvent(LaunchTaskFailedEvent event) { in onBusEvent()
618 public final void onBusEvent(ConfigurationChangedEvent event) { in onBusEvent()
624 public final void onBusEvent(ShowUserToastEvent event) { in onBusEvent()
645 public final void onBusEvent(SetWaitingForTransitionStartEvent event) { in onBusEvent()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DKeyboardInterceptorTest.java74 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0); in whenNonspecialKeyArrives_withNothingInQueue_eventGoesToAms() local
81 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_DOWN); in whenVolumeKeyArrives_andPolicySaysUseIt_eventGoesToAms() local
90 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_UP); in whenVolumeKeyArrives_andPolicySaysDropIt_eventDropped() local
100 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_UP); in whenVolumeKeyArrives_andPolicySaysDelayThenUse_eventQueuedThenSentToAms() local
117 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_DOWN); in whenVolumeKeyArrives_andPolicySaysDelayThenDrop_eventQueuedThenDropped() local
193 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/legacy/recents/src/com/android/systemui/recents/views/
DSystemBarScrimViews.java117 public final void onBusEvent(EnterRecentsWindowAnimationCompletedEvent event) { in onBusEvent()
132 public final void onBusEvent(DismissRecentsToHomeAnimationStarted event) { in onBusEvent()
140 public final void onBusEvent(DismissAllTaskViewsEvent event) { in onBusEvent()
148 public final void onBusEvent(ConfigurationChangedEvent event) { in onBusEvent()
155 public final void onBusEvent(MultiWindowStateChangedEvent event) { in onBusEvent()
160 public final void onBusEvent(final DragEndEvent event) { in onBusEvent()
167 public final void onBusEvent(final DragEndCancelledEvent event) { in onBusEvent()
/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/core/tests/coretests/src/android/view/accessibility/
DAccessibilityEventTest.java55 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/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/tools/stats_log_api_gen/
Dtest.proto62 oneof event { oneof
76 oneof event { oneof
86 oneof event { oneof
98 oneof event { oneof
109 oneof event { BadAttributionNodePositionAtom bad = 1; } oneof
113 oneof event { GoodBinaryFieldAtom field1 = 1; } oneof
126 oneof event { BadBinaryFieldAtom field1 = 1; } oneof
135 oneof event { oneof
143 oneof event { oneof
209 oneof event { oneof
[all …]
/frameworks/base/cmds/statsd/tests/external/
Dpuller_util_test.cpp52 for (const auto& event : events) { in extractIntoVector() local
63 shared_ptr<LogEvent> event = make_shared<LogEvent>(uidAtomTagId, timestamp); in TEST() local
95 shared_ptr<LogEvent> event = make_shared<LogEvent>(uidAtomTagId, timestamp); in TEST() local
137 shared_ptr<LogEvent> event = make_shared<LogEvent>(uidAtomTagId, timestamp); in TEST() local
173 shared_ptr<LogEvent> event = make_shared<LogEvent>(uidAtomTagId, timestamp); in TEST() local
209 shared_ptr<LogEvent> event = make_shared<LogEvent>(uidAtomTagId, timestamp); in TEST() local
246 shared_ptr<LogEvent> event = in TEST() local
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityGestureDetector.java105 void onDoubleTapAndHold(MotionEvent event, int policyFlags); in onDoubleTapAndHold()
116 boolean onDoubleTap(MotionEvent event, int policyFlags); in onDoubleTap()
143 public boolean onGestureCancelled(MotionEvent event, int policyFlags); in onGestureCancelled()
270 public boolean onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent()
427 public boolean onSingleTapUp(MotionEvent event) { in onSingleTapUp()
433 public boolean onSingleTapConfirmed(MotionEvent event) { in onSingleTapConfirmed()
439 public boolean onDoubleTap(MotionEvent event) { in onDoubleTap()
446 private void maybeSendLongPress(MotionEvent event, int policyFlags) { in maybeSendLongPress()
456 private boolean finishDoubleTap(MotionEvent event, int policyFlags) { in finishDoubleTap()
477 private boolean recognizeGesture(MotionEvent event, int policyFlags) { in recognizeGesture()
[all …]
DAccessibilityInputFilter.java177 public void onInputEvent(InputEvent event, int policyFlags) { in onInputEvent()
231 private EventStreamState getEventStreamState(InputEvent event) { in getEventStreamState()
265 private void processMotionEvent(EventStreamState state, MotionEvent event, int policyFlags) { in processMotionEvent()
278 private void processKeyEvent(EventStreamState state, KeyEvent event, int policyFlags) { in processKeyEvent()
289 private void handleMotionEvent(MotionEvent event, int policyFlags) { in handleMotionEvent()
312 public void onKeyEvent(KeyEvent event, int policyFlags) { in onKeyEvent()
317 public void onAccessibilityEvent(AccessibilityEvent event) { in onAccessibilityEvent()
356 void notifyAccessibilityEvent(AccessibilityEvent event) { in notifyAccessibilityEvent()
572 public boolean shouldProcessMotionEvent(MotionEvent event) { in shouldProcessMotionEvent()
580 public boolean shouldProcessKeyEvent(KeyEvent event) { in shouldProcessKeyEvent()
[all …]
DTouchExplorer.java229 MotionEvent event = mReceivedPointerTracker.getLastReceivedEvent(); in clear() local
235 private void clear(MotionEvent event, int policyFlags) { in clear()
276 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent()
320 public void onAccessibilityEvent(AccessibilityEvent event) { in onAccessibilityEvent()
359 public void onDoubleTapAndHold(MotionEvent event, int policyFlags) { in onDoubleTapAndHold()
391 public boolean onDoubleTap(MotionEvent event, int policyFlags) { in onDoubleTap()
473 public boolean onGestureCancelled(MotionEvent event, int policyFlags) { in onGestureCancelled()
502 private void handleMotionEventStateTouchExploring(MotionEvent event, MotionEvent rawEvent, in handleMotionEventStateTouchExploring()
664 private void handleMotionEventStateDragging(MotionEvent event, int policyFlags) { in handleMotionEventStateDragging()
776 private void handleMotionEventStateDelegating(MotionEvent event, int policyFlags) { in handleMotionEventStateDelegating()
[all …]
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp176 KeyEvent event; in TEST_F() local
227 void MotionEventTest::initializeEventWithHistory(MotionEvent* event) { in initializeEventWithHistory()
305 void MotionEventTest::assertEqualsEventWithHistory(const MotionEvent* event) { in assertEqualsEventWithHistory()
435 MotionEvent event; in TEST_F() local
460 MotionEvent event; in TEST_F() local
470 MotionEvent event; in TEST_F() local
488 MotionEvent event; in TEST_F() local
498 MotionEvent event; in TEST_F() local
572 MotionEvent event; in TEST_F() local
617 MotionEvent event; in TEST_F() local
/frameworks/base/core/java/android/view/textclassifier/
DTextClassificationSession.java73 public void onSelectionEvent(SelectionEvent event) { in onSelectionEvent()
85 public void onTextClassifierEvent(TextClassifierEvent event) { in onTextClassifierEvent()
143 boolean sanitizeEvent(SelectionEvent event) { in sanitizeEvent()
205 private void updateInvocationMethod(SelectionEvent event) { in updateInvocationMethod()
214 private void modifyAutoSelectionEventType(SelectionEvent event) { in modifyAutoSelectionEventType()
/frameworks/base/core/java/android/view/
DInputFilter.java151 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
DWindowCallbackWrapper.java42 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent()
47 public boolean dispatchKeyShortcutEvent(KeyEvent event) { in dispatchKeyShortcutEvent()
52 public boolean dispatchTouchEvent(MotionEvent event) { in dispatchTouchEvent()
57 public boolean dispatchTrackballEvent(MotionEvent event) { in dispatchTrackballEvent()
62 public boolean dispatchGenericMotionEvent(MotionEvent event) { in dispatchGenericMotionEvent()
67 public boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent event) { in dispatchPopulateAccessibilityEvent()
DInputEventConsistencyVerifier.java175 public void onInputEvent(InputEvent event, int nestingLevel) { in onInputEvent()
200 public void onKeyEvent(KeyEvent event, int nestingLevel) { in onKeyEvent()
262 public void onTrackballEvent(MotionEvent event, int nestingLevel) { in onTrackballEvent()
326 public void onTouchEvent(MotionEvent event, int nestingLevel) { in onTouchEvent()
467 public void onGenericMotionEvent(MotionEvent event, int nestingLevel) { in onGenericMotionEvent()
587 public void onUnhandledEvent(InputEvent event, int nestingLevel) { in onUnhandledEvent()
625 private void ensurePointerCountIsOneForThisAction(MotionEvent event) { in ensurePointerCountIsOneForThisAction()
633 private void ensureActionButtonIsNonZeroForThisAction(MotionEvent event) { in ensureActionButtonIsNonZeroForThisAction()
642 private void ensureHistorySizeIsZeroForThisAction(MotionEvent event) { in ensureHistorySizeIsZeroForThisAction()
650 private boolean startEvent(InputEvent event, int nestingLevel, String eventType) { in startEvent()
[all …]
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipSessionGroup.java277 private synchronized SipSessionImpl getSipSession(EventObject event) { in getSipSession()
329 public void processRequest(final RequestEvent event) { in processRequest()
341 public void processResponse(ResponseEvent event) { in processResponse()
346 public void processIOException(IOExceptionEvent event) { in processIOException()
351 public void processTimeout(TimeoutEvent event) { in processTimeout()
356 public void processTransactionTerminated(TransactionTerminatedEvent event) { in processTransactionTerminated()
361 public void processDialogTerminated(DialogTerminatedEvent event) { in processDialogTerminated()
365 private synchronized void process(EventObject event) { in process()
422 private SipSessionImpl createNewSession(RequestEvent event, in createNewSession()
445 private int processInviteWithReplaces(RequestEvent event, in processInviteWithReplaces()
[all …]

12345678910>>...35