Searched refs:writeInputEvent (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/libs/input/ |
D | VirtualInputDevice.cpp | 49 bool VirtualInputDevice::writeInputEvent(uint16_t type, uint16_t code, int32_t value, in writeInputEvent() function in android::VirtualInputDevice 78 if (!writeInputEvent(EV_KEY, evKeyCode, action, eventTime)) { in writeEvKeyEvent() 82 if (!writeInputEvent(EV_SYN, SYN_REPORT, 0, eventTime)) { in writeEvKeyEvent() 268 return writeInputEvent(EV_REL, REL_X, relativeX, eventTime) && in writeRelativeEvent() 269 writeInputEvent(EV_REL, REL_Y, relativeY, eventTime) && in writeRelativeEvent() 270 writeInputEvent(EV_SYN, SYN_REPORT, 0, eventTime); in writeRelativeEvent() 275 return writeInputEvent(EV_REL, REL_HWHEEL, xAxisMovement, eventTime) && in writeScrollEvent() 276 writeInputEvent(EV_REL, REL_WHEEL, yAxisMovement, eventTime) && in writeScrollEvent() 277 writeInputEvent(EV_SYN, SYN_REPORT, 0, eventTime); in writeScrollEvent() 329 if (!writeInputEvent(EV_ABS, ABS_MT_SLOT, pointerId, eventTime)) { in writeTouchEvent() [all …]
|
/frameworks/native/include/input/ |
D | VirtualInputDevice.h | 37 bool writeInputEvent(uint16_t type, uint16_t code, int32_t value,
|