Home
last modified time | relevance | path

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

1234

/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()
225 public static final Parcelable.Creator<InputEvent> CREATOR
226 = new Parcelable.Creator<InputEvent>() {
227 public InputEvent createFromParcel(Parcel in) {
238 public InputEvent[] newArray(int size) {
239 return new InputEvent[size];
DInputFilter.java149 final public void filterInputEvent(InputEvent event, int policyFlags) { in filterInputEvent()
159 public void sendInputEvent(InputEvent event, int policyFlags) { in sendInputEvent()
189 public void onInputEvent(InputEvent event, int policyFlags) { in onInputEvent()
241 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.java117 public void onInputEvent(InputEvent event, int displayId) { in onInputEvent()
140 public final void finishInputEvent(InputEvent event, boolean handled) { in finishInputEvent()
184 private void dispatchInputEvent(int seq, InputEvent event, int displayId) { in dispatchInputEvent()
DInputEventConsistencyVerifier.java66 private InputEvent[] mRecentEvents;
71 private InputEvent mCurrentEvent;
172 public void onInputEvent(InputEvent event, int nestingLevel) { in onInputEvent()
582 public void onUnhandledEvent(InputEvent event, int nestingLevel) { in onUnhandledEvent()
645 private boolean startEvent(InputEvent event, int nestingLevel, String eventType) { in startEvent()
681 final InputEvent event = mRecentEvents[index]; in finishEvent()
701 mRecentEvents = new InputEvent[RECENT_EVENTS_TO_LOG]; in finishEvent()
718 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/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/app/
DIInputForwarder.aidl19 import android.view.InputEvent;
28 boolean forwardEvent(in InputEvent event); in forwardEvent()
DIUiAutomationConnection.aidl22 import android.view.InputEvent;
39 boolean injectInputEvent(in InputEvent event, boolean sync); in injectInputEvent()
/frameworks/base/core/java/android/hardware/input/
DInputManagerInternal.java20 import android.view.InputEvent;
30 public abstract boolean injectInputEvent(InputEvent event, int displayId, int mode); in injectInputEvent()
DIInputManager.aidl27 import android.view.InputEvent;
49 boolean injectInputEvent(in InputEvent ev, int mode); in injectInputEvent()
/frameworks/base/services/core/java/com/android/server/input/
DInputForwarder.java21 import android.view.InputEvent;
42 public boolean forwardEvent(InputEvent event) { in forwardEvent()
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodSessionWrapper.java28 import android.view.InputEvent;
214 private final SparseArray<InputEvent> mPendingEvents = new SparseArray<InputEvent>();
221 public void onInputEvent(InputEvent event, int displayId) { in onInputEvent()
247 InputEvent event = mPendingEvents.valueAt(index); in finishedEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DPointerEventDispatcher.java21 import android.view.InputEvent;
39 public void onInputEvent(InputEvent event, int displayId) { in onInputEvent()
DDragInputEventReceiver.java32 import android.view.InputEvent;
57 public void onInputEvent(InputEvent event, int displayId) { in onInputEvent()
/frameworks/native/include/input/
DInput.h293 class InputEvent : public AInputEvent {
295 virtual ~InputEvent() { } in ~InputEvent()
307 void initialize(const InputEvent& from);
316 class KeyEvent : public InputEvent {
370 class MotionEvent : public InputEvent {
670 void recycle(InputEvent* event);
DInputTransport.h308 nsecs_t frameTime, uint32_t* outSeq, InputEvent** outEvent, int32_t* displayId);
463 nsecs_t frameTime, uint32_t* outSeq, InputEvent** outEvent, int32_t* displayId);
465 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()
233 InputEvent::initialize(deviceId, source); in initialize()
253 InputEvent::initialize(other->mDeviceId, other->mSource); in copyFrom()
574 void PooledInputEventFactory::recycle(InputEvent* event) { in recycle()
/frameworks/base/core/java/android/webkit/
DWebViewClient.java24 import android.view.InputEvent;
494 public void onUnhandledInputEvent(WebView view, InputEvent event) { in onUnhandledInputEvent()
502 private void onUnhandledInputEventInternal(WebView view, InputEvent event) { in onUnhandledInputEventInternal()
/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/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DInputConsumerController.java30 import android.view.InputEvent;
70 public void onInputEvent(InputEvent event, int displayId) { in onInputEvent()

1234