Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/view/
DInputEvent.java27 public abstract class InputEvent implements Parcelable { class
45 /*package*/ InputEvent() { in InputEvent() method in InputEvent
103 public abstract InputEvent copy(); in copy()
218 public static final Parcelable.Creator<InputEvent> CREATOR
219 = new Parcelable.Creator<InputEvent>() {
220 public InputEvent createFromParcel(Parcel in) {
231 public InputEvent[] newArray(int size) {
232 return new InputEvent[size];
DInputFilter.java24 import android.view.InputEvent;
155 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()
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.java116 public void onInputEvent(InputEvent event) { in onInputEvent()
139 public final void finishInputEvent(InputEvent event, boolean handled) { in finishInputEvent()
183 private void dispatchInputEvent(int seq, InputEvent event) { in dispatchInputEvent()
DInputEventConsistencyVerifier.java66 private InputEvent[] mRecentEvents;
71 private InputEvent mCurrentEvent;
168 public void onInputEvent(InputEvent event, int nestingLevel) { in onInputEvent()
520 public void onUnhandledEvent(InputEvent event, int nestingLevel) { in onUnhandledEvent()
574 private boolean startEvent(InputEvent event, int nestingLevel, String eventType) { in startEvent()
610 final InputEvent event = mRecentEvents[index]; in finishEvent()
630 mRecentEvents = new InputEvent[RECENT_EVENTS_TO_LOG]; in finishEvent()
647 InputEvent event, boolean unhandled) { in appendEvent()
DInputEvent.aidl20 parcelable InputEvent;
/frameworks/base/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/core/jni/
Dandroid_view_InputQueue.cpp91 status_t InputQueue::getEvent(InputEvent** outEvent) { in getEvent()
113 bool InputQueue::preDispatchEvent(InputEvent* e) { in preDispatchEvent()
124 void InputQueue::finishEvent(InputEvent* event, bool handled) { in finishEvent()
126 mFinishedEvents.push(key_value_pair_t<InputEvent*, bool>(event, handled)); in finishEvent()
142 InputEvent* event; in handleMessage()
161 void InputQueue::recycleInputEvent(InputEvent* event) { in recycleInputEvent()
173 void InputQueue::enqueueEvent(InputEvent* event) { in enqueueEvent()
/frameworks/base/core/java/android/hardware/input/
DInputManagerInternal.java20 import android.view.InputEvent;
28 public abstract boolean injectInputEvent(InputEvent event, int displayId, int mode); in injectInputEvent()
DIInputManager.aidl25 import android.view.InputEvent;
41 boolean injectInputEvent(in InputEvent ev, int mode); in injectInputEvent()
/frameworks/base/core/java/android/app/
DIUiAutomationConnection.aidl21 import android.view.InputEvent;
38 boolean injectInputEvent(in InputEvent event, boolean sync); in injectInputEvent()
DIActivityContainer.aidl23 import android.view.InputEvent;
35 boolean injectEvent(in InputEvent event); in injectEvent()
DActivityView.java31 import android.view.InputEvent;
131 private boolean injectInputEvent(InputEvent event) { in injectInputEvent()
420 boolean injectEvent(InputEvent event) { in injectEvent()
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodSessionWrapper.java32 import android.view.InputEvent;
214 private final SparseArray<InputEvent> mPendingEvents = new SparseArray<InputEvent>();
221 public void onInputEvent(InputEvent event) { in onInputEvent()
247 InputEvent event = mPendingEvents.valueAt(index); in finishedEvent()
/frameworks/base/core/java/android/webkit/
DWebViewClient.java22 import android.view.InputEvent;
322 public void onUnhandledInputEvent(WebView view, InputEvent event) { in onUnhandledInputEvent()
330 private void onUnhandledInputEventInternal(WebView view, InputEvent event) { in onUnhandledInputEventInternal()
/frameworks/base/media/java/android/media/tv/
DTvView.java31 import android.view.InputEvent;
144 InputEvent event = (InputEvent) token;
450 public boolean dispatchUnhandledInputEvent(InputEvent event) { in dispatchUnhandledInputEvent()
467 public boolean onUnhandledInputEvent(InputEvent event) { in onUnhandledInputEvent()
489 InputEvent copiedEvent = event.copy(); in dispatchKeyEvent()
504 InputEvent copiedEvent = event.copy(); in dispatchTouchEvent()
519 InputEvent copiedEvent = event.copy(); in dispatchTrackballEvent()
534 InputEvent copiedEvent = event.copy(); in dispatchGenericMotionEvent()
815 boolean onUnhandledInputEvent(InputEvent event); in onUnhandledInputEvent()
DITvInputSessionWrapper.java28 import android.view.InputEvent;
242 public void onInputEvent(InputEvent event) { in onInputEvent()
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/base/
DInputManagerEventInjectionStrategy.java27 import android.view.InputEvent;
70 .getDeclaredMethod("injectInputEvent", InputEvent.class, Integer.TYPE); in initialize()
87 InputEvent.class.getDeclaredMethod("getSequenceNumber"); in initialize()
/frameworks/base/services/core/java/com/android/server/wm/
DPointerEventDispatcher.java21 import android.view.InputEvent;
39 public void onInputEvent(InputEvent event) { in onInputEvent()
/frameworks/native/include/input/
DInput.h262 class InputEvent : public AInputEvent {
264 virtual ~InputEvent() { } in ~InputEvent()
276 void initialize(const InputEvent& from);
285 class KeyEvent : public InputEvent {
339 class MotionEvent : public InputEvent {
631 void recycle(InputEvent* event);
DInputTransport.h304 nsecs_t frameTime, uint32_t* outSeq, InputEvent** outEvent);
425 nsecs_t frameTime, uint32_t* outSeq, InputEvent** outEvent);
427 Batch& batch, size_t count, uint32_t* outSeq, InputEvent** outEvent);
/frameworks/native/libs/input/
DInput.cpp34 void InputEvent::initialize(int32_t deviceId, int32_t source) { in initialize()
39 void InputEvent::initialize(const InputEvent& from) { in initialize()
65 InputEvent::initialize(deviceId, source); in initialize()
77 InputEvent::initialize(from); in initialize()
232 InputEvent::initialize(deviceId, source); in initialize()
251 InputEvent::initialize(other->mDeviceId, other->mSource); in copyFrom()
567 void PooledInputEventFactory::recycle(InputEvent* event) { in recycle()
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
DUiAutomatorBridge.java10 import android.view.InputEvent;
69 public boolean injectInputEvent(InputEvent event, boolean sync) { in injectInputEvent()

123