Lines Matching refs:injectEvent
59 void UinputDevice::injectEvent(uint16_t type, uint16_t code, int32_t value) { in injectEvent() function in android::UinputDevice
103 injectEvent(EV_KEY, key, 1); in pressKey()
104 injectEvent(EV_SYN, SYN_REPORT, 0); in pressKey()
111 injectEvent(EV_KEY, key, 0); in releaseKey()
112 injectEvent(EV_SYN, SYN_REPORT, 0); in releaseKey()
162 injectEvent(EV_ABS, ABS_MT_SLOT, slot); in sendSlot()
166 injectEvent(EV_ABS, ABS_MT_TRACKING_ID, trackingId); in sendTrackingId()
170 injectEvent(EV_KEY, BTN_TOUCH, 1); in sendDown()
171 injectEvent(EV_ABS, ABS_MT_POSITION_X, point.x); in sendDown()
172 injectEvent(EV_ABS, ABS_MT_POSITION_Y, point.y); in sendDown()
173 injectEvent(EV_SYN, SYN_REPORT, 0); in sendDown()
177 injectEvent(EV_ABS, ABS_MT_POSITION_X, point.x); in sendMove()
178 injectEvent(EV_ABS, ABS_MT_POSITION_Y, point.y); in sendMove()
179 injectEvent(EV_SYN, SYN_REPORT, 0); in sendMove()
184 injectEvent(EV_KEY, BTN_TOUCH, 0); in sendUp()
185 injectEvent(EV_SYN, SYN_REPORT, 0); in sendUp()
189 injectEvent(EV_ABS, ABS_MT_TOOL_TYPE, toolType); in sendToolType()
190 injectEvent(EV_SYN, SYN_REPORT, 0); in sendToolType()