Home
last modified time | relevance | path

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

12345678910>>...28

/frameworks/support/v4/java/android/support/v4/view/
DMotionEventCompat.java31 public int findPointerIndex(MotionEvent event, int pointerId); in findPointerIndex()
32 public int getPointerId(MotionEvent event, int pointerIndex); in getPointerId()
33 public float getX(MotionEvent event, int pointerIndex); in getX()
34 public float getY(MotionEvent event, int pointerIndex); in getY()
35 public int getPointerCount(MotionEvent event); in getPointerCount()
36 public int getSource(MotionEvent event); in getSource()
37 float getAxisValue(MotionEvent event, int axis); in getAxisValue()
38 float getAxisValue(MotionEvent event, int axis, int pointerIndex); in getAxisValue()
39 int getButtonState(MotionEvent event); in getButtonState()
47 public int findPointerIndex(MotionEvent event, int pointerId) { in findPointerIndex()
[all …]
DKeyEventCompat.java34 void startTracking(KeyEvent event); in startTracking()
35 boolean isTracking(KeyEvent event); in isTracking()
37 boolean dispatch(KeyEvent event, KeyEvent.Callback receiver, Object state, Object target); in dispatch()
38 boolean isCtrlPressed(KeyEvent event); in isCtrlPressed()
98 public void startTracking(KeyEvent event) { in startTracking()
102 public boolean isTracking(KeyEvent event) { in isTracking()
112 public boolean dispatch(KeyEvent event, KeyEvent.Callback receiver, Object state, in dispatch()
118 public boolean isCtrlPressed(KeyEvent event) { in isCtrlPressed()
125 public void startTracking(KeyEvent event) { in startTracking()
130 public boolean isTracking(KeyEvent event) { in isTracking()
[all …]
DAccessibilityDelegateCompat.java49 AccessibilityEvent event); in dispatchPopulateAccessibilityEvent()
51 AccessibilityEvent event); in onInitializeAccessibilityEvent()
55 AccessibilityEvent event); in onPopulateAccessibilityEvent()
57 AccessibilityEvent event); in onRequestSendAccessibilityEvent()
60 AccessibilityEvent event); in sendAccessibilityEventUnchecked()
79 AccessibilityEvent event) { in dispatchPopulateAccessibilityEvent()
85 AccessibilityEvent event) { in onInitializeAccessibilityEvent()
97 AccessibilityEvent event) { in onPopulateAccessibilityEvent()
103 AccessibilityEvent event) { in onRequestSendAccessibilityEvent()
114 AccessibilityEvent event) { in sendAccessibilityEventUnchecked()
[all …]
/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityEventCompat.java29 int getRecordCount(AccessibilityEvent event); in getRecordCount()
30 void appendRecord(AccessibilityEvent event, Object record); in appendRecord()
31 Object getRecord(AccessibilityEvent event, int index); in getRecord()
32 void setContentChangeTypes(AccessibilityEvent event, int types); in setContentChangeTypes()
33 int getContentChangeTypes(AccessibilityEvent event); in getContentChangeTypes()
39 public void appendRecord(AccessibilityEvent event, Object record) { in appendRecord()
44 public Object getRecord(AccessibilityEvent event, int index) { in getRecord()
49 public void setContentChangeTypes(AccessibilityEvent event, int types) { in setContentChangeTypes()
54 public int getRecordCount(AccessibilityEvent event) { in getRecordCount()
59 public int getContentChangeTypes(AccessibilityEvent event) { in getContentChangeTypes()
[all …]
/frameworks/support/v4/ics/android/support/v4/view/
DAccessibilityDelegateCompatIcs.java31 public boolean dispatchPopulateAccessibilityEvent(View host, AccessibilityEvent event); in dispatchPopulateAccessibilityEvent()
32 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event); in onInitializeAccessibilityEvent()
34 public void onPopulateAccessibilityEvent(View host, AccessibilityEvent event); in onPopulateAccessibilityEvent()
36 AccessibilityEvent event); in onRequestSendAccessibilityEvent()
38 public void sendAccessibilityEventUnchecked(View host, AccessibilityEvent event); in sendAccessibilityEventUnchecked()
53 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event) { in newAccessibilityDelegateBridge()
63 public void onPopulateAccessibilityEvent(View host, AccessibilityEvent event) { in newAccessibilityDelegateBridge()
69 AccessibilityEvent event) { in newAccessibilityDelegateBridge()
79 public void sendAccessibilityEventUnchecked(View host, AccessibilityEvent event) { in newAccessibilityDelegateBridge()
/frameworks/support/v4/eclair/android/support/v4/view/
DMotionEventCompatEclair.java25 public static int findPointerIndex(MotionEvent event, int pointerId) { in findPointerIndex()
28 public static int getPointerId(MotionEvent event, int pointerIndex) { in getPointerId()
31 public static float getX(MotionEvent event, int pointerIndex) { in getX()
34 public static float getY(MotionEvent event, int pointerIndex) { in getY()
37 public static int getPointerCount(MotionEvent event) { in getPointerCount()
DKeyEventCompatEclair.java28 public static boolean dispatch(KeyEvent event, KeyEvent.Callback receiver, Object state, in dispatch()
33 public static void startTracking(KeyEvent event) { in startTracking()
37 public static boolean isTracking(KeyEvent event) { in isTracking()
/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/src/com/android/systemui/recents/
DRecentsActivity.java546 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
609 public final void onBusEvent(ToggleRecentsEvent event) { in onBusEvent()
618 public final void onBusEvent(IterateRecentsEvent event) { in onBusEvent()
641 public final void onBusEvent(UserInteractionEvent event) { in onBusEvent()
646 public final void onBusEvent(HideRecentsEvent event) { in onBusEvent()
662 public final void onBusEvent(EnterRecentsWindowLastAnimationFrameEvent event) { in onBusEvent()
668 public final void onBusEvent(ExitRecentsWindowFirstAnimationFrameEvent event) { in onBusEvent()
676 public final void onBusEvent(DockedFirstAnimationFrameEvent event) { in onBusEvent()
681 public final void onBusEvent(CancelEnterRecentsWindowAnimationEvent event) { in onBusEvent()
692 public final void onBusEvent(ShowApplicationInfoEvent event) { in onBusEvent()
[all …]
/frameworks/support/v4/jellybean/android/support/v4/view/
DAccessibilityDelegateCompatJellyBean.java33 public boolean dispatchPopulateAccessibilityEvent(View host, AccessibilityEvent event); in dispatchPopulateAccessibilityEvent()
34 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event); in onInitializeAccessibilityEvent()
36 public void onPopulateAccessibilityEvent(View host, AccessibilityEvent event); in onPopulateAccessibilityEvent()
38 AccessibilityEvent event); in onRequestSendAccessibilityEvent()
40 public void sendAccessibilityEventUnchecked(View host, AccessibilityEvent event); in sendAccessibilityEventUnchecked()
55 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event) { in newAccessibilityDelegateBridge()
65 public void onPopulateAccessibilityEvent(View host, AccessibilityEvent event) { in newAccessibilityDelegateBridge()
71 AccessibilityEvent event) { in newAccessibilityDelegateBridge()
81 public void sendAccessibilityEventUnchecked(View host, AccessibilityEvent event) { in newAccessibilityDelegateBridge()
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
DAccessibilityEventCompatIcs.java27 public static int getRecordCount(AccessibilityEvent event) { in getRecordCount()
31 public static void appendRecord(AccessibilityEvent event, Object record) { in appendRecord()
35 public static Object getRecord(AccessibilityEvent event, int index) { in getRecord()
39 public static void setScrollable(AccessibilityEvent event, boolean scrollable) { in setScrollable()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityGestureDetector.java63 void onDoubleTapAndHold(MotionEvent event, int policyFlags); in onDoubleTapAndHold()
74 boolean onDoubleTap(MotionEvent event, int policyFlags); in onDoubleTap()
101 public boolean onGestureCancelled(MotionEvent event, int policyFlags); in onGestureCancelled()
207 public boolean onMotionEvent(MotionEvent event, int policyFlags) { in onMotionEvent()
357 public boolean onSingleTapUp(MotionEvent event) { in onSingleTapUp()
363 public boolean onSingleTapConfirmed(MotionEvent event) { in onSingleTapConfirmed()
369 public boolean onDoubleTap(MotionEvent event) { in onDoubleTap()
376 private void maybeSendLongPress(MotionEvent event, int policyFlags) { in maybeSendLongPress()
386 private boolean finishDoubleTap(MotionEvent event, int policyFlags) { in finishDoubleTap()
398 private boolean recognizeGesture(MotionEvent event, int policyFlags) { in recognizeGesture()
[all …]
DAccessibilityInputFilter.java171 public void onInputEvent(InputEvent event, int policyFlags) { in onInputEvent()
219 private EventStreamState getEventStreamState(InputEvent event) { in getEventStreamState()
244 private void processMotionEvent(EventStreamState state, MotionEvent event, int policyFlags) { in processMotionEvent()
257 private void processKeyEvent(EventStreamState state, KeyEvent event, int policyFlags) { in processKeyEvent()
269 private void batchMotionEvent(MotionEvent event, int policyFlags) { in batchMotionEvent()
312 private void handleMotionEvent(MotionEvent event, int policyFlags) { in handleMotionEvent()
333 public void onKeyEvent(KeyEvent event, int policyFlags) { in onKeyEvent()
338 public void onAccessibilityEvent(AccessibilityEvent event) { in onAccessibilityEvent()
368 void notifyAccessibilityEvent(AccessibilityEvent event) { in notifyAccessibilityEvent()
476 public MotionEvent event; field in AccessibilityInputFilter.MotionEventHolder
[all …]
DTouchExplorer.java213 MotionEvent event = mReceivedPointerTracker.getLastReceivedEvent(); in clear() local
219 private void clear(MotionEvent event, int policyFlags) { in clear()
265 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent()
313 public void onKeyEvent(KeyEvent event, int policyFlags) { in onKeyEvent()
320 public void onAccessibilityEvent(AccessibilityEvent event) { in onAccessibilityEvent()
361 public void onDoubleTapAndHold(MotionEvent event, int policyFlags) { in onDoubleTapAndHold()
393 public boolean onDoubleTap(MotionEvent event, int policyFlags) { in onDoubleTap()
467 public boolean onGestureCancelled(MotionEvent event, int policyFlags) { in onGestureCancelled()
496 private void handleMotionEventStateTouchExploring(MotionEvent event, MotionEvent rawEvent, in handleMotionEventStateTouchExploring()
650 private void handleMotionEventStateDragging(MotionEvent event, int policyFlags) { in handleMotionEventStateDragging()
[all …]
DEventStreamTransformation.java68 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags); in onMotionEvent()
76 public void onKeyEvent(KeyEvent event, int policyFlags); in onKeyEvent()
83 public void onAccessibilityEvent(AccessibilityEvent event); in onAccessibilityEvent()
/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/packages/SystemUI/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/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 = reinterpret_cast<MotionEvent*>(nativePtr); in android_view_MotionEvent_nativeInitialize() local
399 MotionEvent* event = reinterpret_cast<MotionEvent*>(nativePtr); in android_view_MotionEvent_nativeDispose() local
406 MotionEvent* event = reinterpret_cast<MotionEvent*>(nativePtr); in android_view_MotionEvent_nativeAddBatch() local
431 MotionEvent* event = reinterpret_cast<MotionEvent*>(nativePtr); in android_view_MotionEvent_nativeGetDeviceId() local
437 MotionEvent* event = reinterpret_cast<MotionEvent*>(nativePtr); in android_view_MotionEvent_nativeGetSource() local
443 MotionEvent* event = reinterpret_cast<MotionEvent*>(nativePtr); in android_view_MotionEvent_nativeSetSource() local
449 MotionEvent* event = reinterpret_cast<MotionEvent*>(nativePtr); in android_view_MotionEvent_nativeGetAction() local
455 MotionEvent* event = reinterpret_cast<MotionEvent*>(nativePtr); in android_view_MotionEvent_nativeSetAction() local
[all …]
/frameworks/base/tools/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/native/libs/input/tests/
DInputEvent_test.cpp176 KeyEvent event; in TEST_F() local
221 void MotionEventTest::initializeEventWithHistory(MotionEvent* event) { in initializeEventWithHistory()
299 void MotionEventTest::assertEqualsEventWithHistory(const MotionEvent* event) { in assertEqualsEventWithHistory()
427 MotionEvent event; in TEST_F() local
447 MotionEvent event; in TEST_F() local
457 MotionEvent event; in TEST_F() local
475 MotionEvent event; in TEST_F() local
485 MotionEvent event; in TEST_F() local
559 MotionEvent event; in TEST_F() local
/frameworks/base/core/java/android/view/
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()
DInputFilter.java155 final public void filterInputEvent(InputEvent event, int policyFlags) { in filterInputEvent()
165 public void sendInputEvent(InputEvent event, int policyFlags) { in sendInputEvent()
195 public void onInputEvent(InputEvent event, int policyFlags) { in onInputEvent()
247 final InputEvent event = (InputEvent)msg.obj; in handleMessage() local
/frameworks/support/v7/appcompat/src/android/support/v7/view/
DWindowCallbackWrapper.java52 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent()
57 public boolean dispatchKeyShortcutEvent(KeyEvent event) { in dispatchKeyShortcutEvent()
62 public boolean dispatchTouchEvent(MotionEvent event) { in dispatchTouchEvent()
67 public boolean dispatchTrackballEvent(MotionEvent event) { in dispatchTrackballEvent()
72 public boolean dispatchGenericMotionEvent(MotionEvent event) { in dispatchGenericMotionEvent()
77 public boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent event) { in dispatchPopulateAccessibilityEvent()
/frameworks/base/core/java/android/inputmethodservice/
DAbstractInputMethodService.java135 public void dispatchKeyEvent(int seq, KeyEvent event, EventCallback callback) { in dispatchKeyEvent()
148 public void dispatchTrackballEvent(int seq, MotionEvent event, EventCallback callback) { in dispatchTrackballEvent()
160 public void dispatchGenericMotionEvent(int seq, MotionEvent event, EventCallback callback) { in dispatchGenericMotionEvent()
213 public boolean onTrackballEvent(MotionEvent event) { in onTrackballEvent()
224 public boolean onGenericMotionEvent(MotionEvent event) { in onGenericMotionEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarGestureHelper.java104 public boolean onInterceptTouchEvent(MotionEvent event) { in onInterceptTouchEvent()
135 private boolean interceptDockWindowEvent(MotionEvent event) { in interceptDockWindowEvent()
150 private boolean handleDockWindowEvent(MotionEvent event) { in handleDockWindowEvent()
166 private void handleDragActionDownEvent(MotionEvent event) { in handleDragActionDownEvent()
186 private boolean handleDragActionMoveEvent(MotionEvent event) { in handleDragActionMoveEvent()
241 private void handleDragActionUpEvent(MotionEvent event) { in handleDragActionUpEvent()
271 public boolean onTouchEvent(MotionEvent event) { in onTouchEvent()

12345678910>>...28