Lines Matching refs:injectEvent
62 void UinputDevice::injectEvent(uint16_t type, uint16_t code, int32_t value) { in injectEvent() function in android::UinputDevice
106 injectEvent(EV_KEY, key, 1); in pressKey()
107 injectEvent(EV_SYN, SYN_REPORT, 0); in pressKey()
114 injectEvent(EV_KEY, key, 0); in releaseKey()
115 injectEvent(EV_SYN, SYN_REPORT, 0); in releaseKey()
156 injectEvent(EV_ABS, ABS_PRESSURE, pressure); in setPressure()
157 injectEvent(EV_SYN, SYN_REPORT, 0); in setPressure()
215 injectEvent(EV_ABS, ABS_MT_SLOT, slot); in sendSlot()
219 injectEvent(EV_ABS, ABS_MT_TRACKING_ID, trackingId); in sendTrackingId()
223 injectEvent(EV_KEY, BTN_TOUCH, 1); in sendDown()
224 injectEvent(EV_ABS, ABS_MT_PRESSURE, RAW_PRESSURE_MAX); in sendDown()
225 injectEvent(EV_ABS, ABS_MT_POSITION_X, point.x); in sendDown()
226 injectEvent(EV_ABS, ABS_MT_POSITION_Y, point.y); in sendDown()
230 injectEvent(EV_ABS, ABS_MT_POSITION_X, point.x); in sendMove()
231 injectEvent(EV_ABS, ABS_MT_POSITION_Y, point.y); in sendMove()
235 injectEvent(EV_ABS, ABS_MT_PRESSURE, pressure); in sendPressure()
244 injectEvent(EV_KEY, BTN_TOUCH, 0); in sendUp()
248 injectEvent(EV_ABS, ABS_MT_TOOL_TYPE, toolType); in sendToolType()
252 injectEvent(EV_SYN, SYN_REPORT, 0); in sendSync()