Lines Matching refs:deviceId
298 bool KeyCharacterMap::getEvents(int32_t deviceId, const char16_t* chars, size_t numChars, in getEvents() argument
308 deviceId, toString(chars, numChars).string(), ch); in getEvents()
314 addMetaKeys(outEvents, deviceId, metaState, true, now, ¤tMetaState); in getEvents()
315 addKey(outEvents, deviceId, keyCode, currentMetaState, true, now); in getEvents()
316 addKey(outEvents, deviceId, keyCode, currentMetaState, false, now); in getEvents()
317 addMetaKeys(outEvents, deviceId, metaState, false, now, ¤tMetaState); in getEvents()
321 deviceId, toString(chars, numChars).string(), int32_t(outEvents.size())); in getEvents()
445 int32_t deviceId, int32_t keyCode, int32_t metaState, bool down, nsecs_t time) { in addKey() argument
448 event.initialize(deviceId, AINPUT_SOURCE_KEYBOARD, in addKey()
454 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, in addMetaKeys() argument
458 addLockedMetaKey(outEvents, deviceId, metaState, time, in addMetaKeys()
460 addLockedMetaKey(outEvents, deviceId, metaState, time, in addMetaKeys()
462 addLockedMetaKey(outEvents, deviceId, metaState, time, in addMetaKeys()
465 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, true, time, in addMetaKeys()
469 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, true, time, in addMetaKeys()
473 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, true, time, in addMetaKeys()
477 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, true, time, in addMetaKeys()
482 addSingleEphemeralMetaKey(outEvents, deviceId, metaState, true, time, in addMetaKeys()
484 addSingleEphemeralMetaKey(outEvents, deviceId, metaState, true, time, in addMetaKeys()
487 addSingleEphemeralMetaKey(outEvents, deviceId, metaState, false, time, in addMetaKeys()
489 addSingleEphemeralMetaKey(outEvents, deviceId, metaState, false, time, in addMetaKeys()
492 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, false, time, in addMetaKeys()
496 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, false, time, in addMetaKeys()
500 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, false, time, in addMetaKeys()
504 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, false, time, in addMetaKeys()
509 addLockedMetaKey(outEvents, deviceId, metaState, time, in addMetaKeys()
511 addLockedMetaKey(outEvents, deviceId, metaState, time, in addMetaKeys()
513 addLockedMetaKey(outEvents, deviceId, metaState, time, in addMetaKeys()
519 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, in addSingleEphemeralMetaKey() argument
524 addKey(outEvents, deviceId, keyCode, *currentMetaState, down, time); in addSingleEphemeralMetaKey()
531 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, in addDoubleEphemeralMetaKey() argument
537 specific |= addSingleEphemeralMetaKey(outEvents, deviceId, metaState, down, time, in addDoubleEphemeralMetaKey()
539 specific |= addSingleEphemeralMetaKey(outEvents, deviceId, metaState, down, time, in addDoubleEphemeralMetaKey()
543 addSingleEphemeralMetaKey(outEvents, deviceId, metaState, down, time, in addDoubleEphemeralMetaKey()
549 int32_t deviceId, int32_t metaState, nsecs_t time, in addLockedMetaKey() argument
554 addKey(outEvents, deviceId, keyCode, *currentMetaState, true, time); in addLockedMetaKey()
556 addKey(outEvents, deviceId, keyCode, *currentMetaState, false, time); in addLockedMetaKey()