Home | History | Annotate | Download | only in jni

Lines Matching refs:sendEvent

106     void sendEvent(int32_t type, int32_t code, int32_t value);
177 void NativeConnection::sendEvent(int32_t type, int32_t code, int32_t value) {
206 connection->sendEvent(EV_MSC, MSC_ANDROID_TIME_SEC, timestamp / 1000L);
207 connection->sendEvent(EV_MSC, MSC_ANDROID_TIME_USEC, (timestamp % 1000L) * 1000L);
214 connection->sendEvent(EV_KEY, code, down ? 1 : 0);
229 connection->sendEvent(EV_ABS, ABS_MT_SLOT, slot);
230 connection->sendEvent(EV_ABS, ABS_MT_TRACKING_ID, pointerId);
231 connection->sendEvent(EV_ABS, ABS_MT_POSITION_X, x);
232 connection->sendEvent(EV_ABS, ABS_MT_POSITION_Y, y);
242 connection->sendEvent(EV_ABS, ABS_MT_SLOT, slot);
243 connection->sendEvent(EV_ABS, ABS_MT_TRACKING_ID, -1);
250 connection->sendEvent(EV_SYN, SYN_REPORT, 0);
258 connection->sendEvent(EV_KEY, KEYS[i].linuxKeyCode, 0);
266 connection->sendEvent(EV_ABS, ABS_MT_SLOT, slot);
267 connection->sendEvent(EV_ABS, ABS_MT_TRACKING_ID, -1);
272 connection->sendEvent(EV_SYN, SYN_REPORT, 0);