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()
487 int32_t deviceId, int32_t keyCode, int32_t metaState, bool down, nsecs_t time) { in addKey() argument
490 event.initialize(InputEvent::nextId(), deviceId, AINPUT_SOURCE_KEYBOARD, ADISPLAY_ID_NONE, in addKey()
496 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, in addMetaKeys() argument
500 addLockedMetaKey(outEvents, deviceId, metaState, time, in addMetaKeys()
502 addLockedMetaKey(outEvents, deviceId, metaState, time, in addMetaKeys()
504 addLockedMetaKey(outEvents, deviceId, metaState, time, in addMetaKeys()
507 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, true, time, in addMetaKeys()
511 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, true, time, in addMetaKeys()
515 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, true, time, in addMetaKeys()
519 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, true, time, in addMetaKeys()
524 addSingleEphemeralMetaKey(outEvents, deviceId, metaState, true, time, in addMetaKeys()
526 addSingleEphemeralMetaKey(outEvents, deviceId, metaState, true, time, in addMetaKeys()
529 addSingleEphemeralMetaKey(outEvents, deviceId, metaState, false, time, in addMetaKeys()
531 addSingleEphemeralMetaKey(outEvents, deviceId, metaState, false, time, in addMetaKeys()
534 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, false, time, in addMetaKeys()
538 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, false, time, in addMetaKeys()
542 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, false, time, in addMetaKeys()
546 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, false, time, in addMetaKeys()
551 addLockedMetaKey(outEvents, deviceId, metaState, time, in addMetaKeys()
553 addLockedMetaKey(outEvents, deviceId, metaState, time, in addMetaKeys()
555 addLockedMetaKey(outEvents, deviceId, metaState, time, in addMetaKeys()
561 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, in addSingleEphemeralMetaKey() argument
566 addKey(outEvents, deviceId, keyCode, *currentMetaState, down, time); in addSingleEphemeralMetaKey()
573 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, in addDoubleEphemeralMetaKey() argument
579 specific |= addSingleEphemeralMetaKey(outEvents, deviceId, metaState, down, time, in addDoubleEphemeralMetaKey()
581 specific |= addSingleEphemeralMetaKey(outEvents, deviceId, metaState, down, time, in addDoubleEphemeralMetaKey()
585 addSingleEphemeralMetaKey(outEvents, deviceId, metaState, down, time, in addDoubleEphemeralMetaKey()
591 int32_t deviceId, int32_t metaState, nsecs_t time, in addLockedMetaKey() argument
596 addKey(outEvents, deviceId, keyCode, *currentMetaState, true, time); in addLockedMetaKey()
598 addKey(outEvents, deviceId, keyCode, *currentMetaState, false, time); in addLockedMetaKey()