Home
last modified time | relevance | path

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

123456

/frameworks/base/core/java/android/view/
DInputEvent.java29 public abstract class InputEvent implements Parcelable { class
47 /*package*/ InputEvent() { in InputEvent() method in InputEvent
120 public abstract InputEvent copy(); in copy()
258 public static final @android.annotation.NonNull Parcelable.Creator<InputEvent> CREATOR
259 = new Parcelable.Creator<InputEvent>() {
260 public InputEvent createFromParcel(Parcel in) {
271 public InputEvent[] newArray(int size) {
272 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.java152 final public void filterInputEvent(InputEvent event, int policyFlags) { in filterInputEvent()
162 public void sendInputEvent(InputEvent event, int policyFlags) { in sendInputEvent()
193 public void onInputEvent(InputEvent event, int policyFlags) { in onInputEvent()
245 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.java144 public void onInputEvent(InputEvent event) { in onInputEvent()
213 public final void finishInputEvent(InputEvent event, boolean handled) { in finishInputEvent()
274 private String getShortDescription(InputEvent event) { in getShortDescription()
292 private void dispatchInputEvent(int seq, InputEvent event) { in dispatchInputEvent()
/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/native/services/inputflinger/tests/
DFakeWindows.cpp29 std::unique_ptr<InputEvent> FakeInputReceiver::consume(std::chrono::milliseconds timeout, in consume()
39 std::pair<std::optional<uint32_t>, std::unique_ptr<InputEvent>> FakeInputReceiver::receiveEvent( in receiveEvent()
42 std::unique_ptr<InputEvent> event; in receiveEvent()
47 InputEvent* rawEventPtr = nullptr; in receiveEvent()
50 event = std::unique_ptr<InputEvent>(rawEventPtr); in receiveEvent()
86 std::unique_ptr<InputEvent> event = consume(CONSUME_TIMEOUT_EVENT_EXPECTED); in consumeEvent()
130 std::unique_ptr<InputEvent> event = consume(CONSUME_TIMEOUT_EVENT_EXPECTED); in consumeMotion()
151 std::unique_ptr<InputEvent> event = consume(CONSUME_TIMEOUT_EVENT_EXPECTED); in consumeFocusEvent()
163 std::unique_ptr<InputEvent> event = consume(CONSUME_TIMEOUT_EVENT_EXPECTED); in consumeCaptureEvent()
176 std::unique_ptr<InputEvent> event = consume(CONSUME_TIMEOUT_EVENT_EXPECTED); in consumeDragEvent()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ambient/touch/
DTouchMonitorTest.java42 import android.view.InputEvent;
186 void publishInputEvent(InputEvent event) { in publishInputEvent()
361 final InputEvent initialEvent = Mockito.mock(InputEvent.class); in testInputEventPropagation()
369 final InputEvent event = Mockito.mock(InputEvent.class); in testInputEventPropagation()
381 final InputEvent initialEvent = Mockito.mock(InputEvent.class); in testInputEventPropagationAfterRemoval()
392 final InputEvent event = Mockito.mock(InputEvent.class); in testInputEventPropagationAfterRemoval()
405 final InputEvent initialEvent = Mockito.mock(InputEvent.class); in testInputGesturePropagation()
424 final InputEvent initialEvent = Mockito.mock(InputEvent.class); in testGestureConsumption()
449 final InputEvent initialEvent = Mockito.mock(InputEvent.class); in testBroadcast()
473 final InputEvent initialEvent = Mockito.mock(InputEvent.class); in testPush()
[all …]
/frameworks/native/cmds/evemu-record/
Devdev.rs120 pub struct InputEvent { struct
127 impl InputEvent { implementation
128 pub fn offset_time_by(&self, offset: TimeVal) -> InputEvent { in offset_time_by() argument
129 InputEvent { time: self.time - offset, ..*self } in offset_time_by()
133 impl Default for InputEvent { implementation
135 InputEvent { time: TimeVal::new(0, 0), type_: 0, code: 0, value: 0 } in default()
281 pub fn read_event(&self) -> nix::Result<InputEvent> { in read_event() argument
282 let mut event = InputEvent::default(); in read_event()
294 mem::size_of::<InputEvent>(), in read_event()
/frameworks/base/tests/Input/src/com/android/test/input/
DSpyInputEventSenderAndReceiver.kt22 import android.view.InputEvent
43 private val mInputEvents = LinkedBlockingQueue<InputEvent>()
45 override fun onInputEvent(event: InputEvent) { in onInputEvent()
54 fun getInputEvent(): InputEvent? { in getInputEvent()
DUnresponsiveGestureMonitorActivity.kt25 import android.view.InputEvent
34 override fun onInputEvent(event: InputEvent) { in onInputEvent()
/frameworks/base/tests/Input/src/com/android/server/input/
DInputShellCommandTest.java32 import android.view.InputEvent;
136 private InputEvent getSingleInjectedInputEvent() { in getSingleInjectedInputEvent()
167 private static class TestInputEventInjector implements BiConsumer<InputEvent, Integer> {
168 List<InputEvent> mInjectedEvents = new ArrayList<>();
171 public void accept(InputEvent event, Integer injectMode) { in accept()
/frameworks/base/core/jni/
Dandroid_view_InputQueue.cpp94 status_t InputQueue::getEvent(InputEvent** outEvent) { in getEvent()
116 bool InputQueue::preDispatchEvent(InputEvent* e) { in preDispatchEvent()
127 void InputQueue::finishEvent(InputEvent* event, bool handled) { in finishEvent()
129 mFinishedEvents.push(key_value_pair_t<InputEvent*, bool>(event, handled)); in finishEvent()
145 InputEvent* event; in handleMessage()
164 void InputQueue::recycleInputEvent(InputEvent* event) { in recycleInputEvent()
176 void InputQueue::enqueueEvent(InputEvent* event) { in enqueueEvent()
/frameworks/base/native/android/
Dinput.cpp35 using android::InputEvent;
45 const InputEventType eventType = static_cast<const InputEvent*>(event)->getType(); in AInputEvent_getType()
50 return static_cast<const InputEvent*>(event)->getDeviceId(); in AInputEvent_getDeviceId()
54 return static_cast<const InputEvent*>(event)->getSource(); in AInputEvent_getSource()
356 InputEvent* event; in AInputQueue_getEvent()
364 InputEvent* e = static_cast<InputEvent*>(event); in AInputQueue_preDispatchEvent()
370 InputEvent* e = static_cast<InputEvent*>(event); in AInputQueue_finishEvent()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DInputChannelCompat.java27 import android.view.InputEvent;
42 void onInputEvent(InputEvent ev); in onInputEvent()
77 public void onInputEvent(InputEvent event) { in InputEventReceiver()
DInputConsumerController.java31 import android.view.InputEvent;
49 boolean onInputEvent(InputEvent ev); in onInputEvent()
72 public void onInputEvent(InputEvent event) { in onInputEvent()
/frameworks/base/core/java/android/app/
DIUiAutomationConnection.aidl22 import android.view.InputEvent;
44 boolean injectInputEvent(in InputEvent event, boolean sync, boolean waitForAnimations); in injectInputEvent()
45 void injectInputEventToInputFilter(in InputEvent event); in injectInputEventToInputFilter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/
DGesturePointerEventDetector.kt20 import android.view.InputEvent
38 override fun onInputEvent(ev: InputEvent) { in onInputEvent()
DTapGestureDetector.kt21 import android.view.InputEvent
49 override fun onInputEvent(ev: InputEvent) { in onInputEvent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubblesNavBarInputEventReceiver.java23 import android.view.InputEvent;
40 public void onInputEvent(InputEvent event) { in onInputEvent()
/frameworks/base/services/core/java/com/android/server/input/debug/
DFocusEventDebugGlobalMonitor.java20 import android.view.InputEvent;
40 public void onInputEvent(InputEvent event) { in onInputEvent()
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodSessionWrapper.java29 import android.view.InputEvent;
236 private final SparseArray<InputEvent> mPendingEvents = new SparseArray<InputEvent>();
243 public void onInputEvent(InputEvent event) { in onInputEvent()
269 InputEvent event = mPendingEvents.valueAt(index); in finishedEvent()
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp87 eventId(InputEvent::nextId()), in PublishMotionArgs()
264 int32_t eventId = InputEvent::nextId(); in publishAndConsumeKeyEvent()
289 InputEvent* event; in publishAndConsumeKeyEvent()
368 InputEvent* event; in publishAndConsumeBatchedMotionMove()
387 InputEvent* event; in publishAndConsumeMotionEvent()
405 int32_t eventId = InputEvent::nextId(); in publishAndConsumeFocusEvent()
413 InputEvent* event; in publishAndConsumeFocusEvent()
446 int32_t eventId = InputEvent::nextId(); in publishAndConsumeCaptureEvent()
454 InputEvent* event; in publishAndConsumeCaptureEvent()
486 int32_t eventId = InputEvent::nextId(); in publishAndConsumeDragEvent()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipInputConsumer.java29 import android.view.InputEvent;
49 boolean onInputEvent(InputEvent ev); in onInputEvent()
72 public void onInputEvent(InputEvent event) { in onInputEvent()

123456