Home
last modified time | relevance | path

Searched refs:InputEvent (Results 1 – 25 of 72) sorted by relevance

123

/frameworks/base/core/java/android/view/
DInputEvent.java28 public abstract class InputEvent implements Parcelable { class
46 /*package*/ InputEvent() { in InputEvent() method in InputEvent
117 public abstract InputEvent copy(); in copy()
240 public static final @android.annotation.NonNull Parcelable.Creator<InputEvent> CREATOR
241 = new Parcelable.Creator<InputEvent>() {
242 public InputEvent createFromParcel(Parcel in) {
253 public InputEvent[] newArray(int size) {
254 return new InputEvent[size];
DInputEventCompatProcessor.java37 private List<InputEvent> mProcessedEvents;
53 public List<InputEvent> processInputEventForCompatibility(InputEvent e) { in processInputEventForCompatibility()
77 public InputEvent processInputEventBeforeFinish(InputEvent e) { in processInputEventBeforeFinish()
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()
DIInputFilterHost.aidl19 import android.view.InputEvent;
27 void sendInputEvent(in InputEvent event, int policyFlags); in sendInputEvent()
DIInputFilter.aidl20 import android.view.InputEvent;
31 void filterInputEvent(in InputEvent event, int policyFlags); in filterInputEvent()
DInputEventReceiver.java118 public void onInputEvent(InputEvent event) { in onInputEvent()
141 public final void finishInputEvent(InputEvent event, boolean handled) { in finishInputEvent()
186 private void dispatchInputEvent(int seq, InputEvent event) { in dispatchInputEvent()
DInputEventConsistencyVerifier.java67 private InputEvent[] mRecentEvents;
72 private InputEvent mCurrentEvent;
175 public void onInputEvent(InputEvent event, int nestingLevel) { in onInputEvent()
587 public void onUnhandledEvent(InputEvent event, int nestingLevel) { in onUnhandledEvent()
650 private boolean startEvent(InputEvent event, int nestingLevel, String eventType) { in startEvent()
686 final InputEvent event = mRecentEvents[index]; in finishEvent()
706 mRecentEvents = new InputEvent[RECENT_EVENTS_TO_LOG]; in finishEvent()
723 InputEvent event, boolean unhandled) { in appendEvent()
DInputEvent.aidl20 parcelable InputEvent;
/frameworks/base/core/jni/include/android_runtime/
Dandroid_view_InputQueue.h45 status_t getEvent(InputEvent** outEvent);
47 bool preDispatchEvent(InputEvent* event);
49 void finishEvent(InputEvent* event, bool handled);
55 void recycleInputEvent(InputEvent* event);
57 void enqueueEvent(InputEvent* event);
79 Vector<InputEvent*> mPendingEvents;
80 Vector<key_value_pair_t<InputEvent*, bool> > mFinishedEvents;
/frameworks/base/native/android/
Dinput.cpp33 using android::InputEvent;
42 return static_cast<const InputEvent*>(event)->getType(); in AInputEvent_getType()
46 return static_cast<const InputEvent*>(event)->getDeviceId(); in AInputEvent_getDeviceId()
50 return static_cast<const InputEvent*>(event)->getSource(); in AInputEvent_getSource()
292 InputEvent* event; in AInputQueue_getEvent()
300 InputEvent* e = static_cast<InputEvent*>(event); in AInputQueue_preDispatchEvent()
306 InputEvent* e = static_cast<InputEvent*>(event); in AInputQueue_finishEvent()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DInputChannelCompat.java24 import android.view.InputEvent;
40 void onInputEvent(InputEvent ev); in onInputEvent()
80 public void onInputEvent(InputEvent event) { in InputEventReceiver()
112 public void dispatch(InputEvent ev) { in dispatch()
DInputConsumerController.java32 import android.view.InputEvent;
49 boolean onInputEvent(InputEvent ev); in onInputEvent()
71 public void onInputEvent(InputEvent event) { in onInputEvent()
/frameworks/base/core/jni/
Dandroid_view_InputQueue.cpp93 status_t InputQueue::getEvent(InputEvent** outEvent) { in getEvent()
115 bool InputQueue::preDispatchEvent(InputEvent* e) { in preDispatchEvent()
126 void InputQueue::finishEvent(InputEvent* event, bool handled) { in finishEvent()
128 mFinishedEvents.push(key_value_pair_t<InputEvent*, bool>(event, handled)); in finishEvent()
144 InputEvent* event; in handleMessage()
163 void InputQueue::recycleInputEvent(InputEvent* event) { in recycleInputEvent()
175 void InputQueue::enqueueEvent(InputEvent* event) { in enqueueEvent()
/frameworks/base/core/java/android/hardware/input/
DInputManagerInternal.java20 import android.view.InputEvent;
37 public abstract boolean injectInputEvent(InputEvent event, int mode); in injectInputEvent()
DIInputManager.aidl27 import android.view.InputEvent;
51 boolean injectInputEvent(in InputEvent ev, int mode); in injectInputEvent()
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodSessionWrapper.java29 import android.view.InputEvent;
217 private final SparseArray<InputEvent> mPendingEvents = new SparseArray<InputEvent>();
224 public void onInputEvent(InputEvent event) { in onInputEvent()
250 InputEvent event = mPendingEvents.valueAt(index); in finishedEvent()
/frameworks/base/core/java/android/app/
DIUiAutomationConnection.aidl22 import android.view.InputEvent;
39 boolean injectInputEvent(in InputEvent event, boolean sync); in injectInputEvent()
/frameworks/native/include/input/
DInput.h331 class InputEvent : public AInputEvent {
333 virtual ~InputEvent() { } in ~InputEvent()
350 void initialize(const InputEvent& from);
360 class KeyEvent : public InputEvent {
415 class MotionEvent : public InputEvent {
720 void recycle(InputEvent* event);
/frameworks/native/libs/input/
DInput.cpp45 void InputEvent::initialize(int32_t deviceId, int32_t source, int32_t displayId) { in initialize()
51 void InputEvent::initialize(const InputEvent& from) { in initialize()
79 InputEvent::initialize(deviceId, source, displayId); in initialize()
91 InputEvent::initialize(from); in initialize()
258 InputEvent::initialize(deviceId, source, displayId); in initialize()
279 InputEvent::initialize(other->mDeviceId, other->mSource, other->mDisplayId); in copyFrom()
605 void PooledInputEventFactory::recycle(InputEvent* event) { in recycle()
/frameworks/base/core/java/android/webkit/
DWebViewClient.java24 import android.view.InputEvent;
518 public void onUnhandledInputEvent(WebView view, InputEvent event) { in onUnhandledInputEvent()
526 private void onUnhandledInputEventInternal(WebView view, InputEvent event) { in onUnhandledInputEventInternal()
/frameworks/base/services/core/java/com/android/server/wm/
DPointerEventDispatcher.java21 import android.view.InputEvent;
41 public void onInputEvent(InputEvent event) { in onInputEvent()
DDragInputEventReceiver.java32 import android.view.InputEvent;
57 public void onInputEvent(InputEvent event) { in onInputEvent()
/frameworks/base/media/java/android/media/tv/
DTvView.java42 import android.view.InputEvent;
150 InputEvent event = (InputEvent) token;
588 public boolean dispatchUnhandledInputEvent(InputEvent event) { in dispatchUnhandledInputEvent()
605 public boolean onUnhandledInputEvent(InputEvent event) { in onUnhandledInputEvent()
627 InputEvent copiedEvent = event.copy(); in dispatchKeyEvent()
642 InputEvent copiedEvent = event.copy(); in dispatchTouchEvent()
657 InputEvent copiedEvent = event.copy(); in dispatchTrackballEvent()
672 InputEvent copiedEvent = event.copy(); in dispatchGenericMotionEvent()
1049 boolean onUnhandledInputEvent(InputEvent event); in onUnhandledInputEvent()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiAutomatorBridge.java10 import android.view.InputEvent;
69 public boolean injectInputEvent(InputEvent event, boolean sync) { in injectInputEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityInputFilterTest.java43 import android.view.InputEvent;
92 List<InputEvent> mEvents = new ArrayList<>();
263 private void send(InputEvent event) { in send()

123