Lines Matching refs:outEvents
298 Vector<KeyEvent>& outEvents) const { in getEvents()
313 addMetaKeys(outEvents, deviceId, metaState, true, now, ¤tMetaState); in getEvents()
314 addKey(outEvents, deviceId, keyCode, currentMetaState, true, now); in getEvents()
315 addKey(outEvents, deviceId, keyCode, currentMetaState, false, now); in getEvents()
316 addMetaKeys(outEvents, deviceId, metaState, false, now, ¤tMetaState); in getEvents()
320 deviceId, toString(chars, numChars).string(), int32_t(outEvents.size())); in getEvents()
321 for (size_t i = 0; i < outEvents.size(); i++) { in getEvents()
323 outEvents[i].getKeyCode(), outEvents[i].getMetaState(), in getEvents()
324 outEvents[i].getAction() == AKEY_EVENT_ACTION_DOWN ? "down" : "up"); in getEvents()
443 void KeyCharacterMap::addKey(Vector<KeyEvent>& outEvents, in addKey() argument
445 outEvents.push(); in addKey()
446 KeyEvent& event = outEvents.editTop(); in addKey()
452 void KeyCharacterMap::addMetaKeys(Vector<KeyEvent>& outEvents, in addMetaKeys() argument
457 addLockedMetaKey(outEvents, deviceId, metaState, time, in addMetaKeys()
459 addLockedMetaKey(outEvents, deviceId, metaState, time, in addMetaKeys()
461 addLockedMetaKey(outEvents, deviceId, metaState, time, in addMetaKeys()
464 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, true, time, in addMetaKeys()
468 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, true, time, in addMetaKeys()
472 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, true, time, in addMetaKeys()
476 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, true, time, in addMetaKeys()
481 addSingleEphemeralMetaKey(outEvents, deviceId, metaState, true, time, in addMetaKeys()
483 addSingleEphemeralMetaKey(outEvents, deviceId, metaState, true, time, in addMetaKeys()
486 addSingleEphemeralMetaKey(outEvents, deviceId, metaState, false, time, in addMetaKeys()
488 addSingleEphemeralMetaKey(outEvents, deviceId, metaState, false, time, in addMetaKeys()
491 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, false, time, in addMetaKeys()
495 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, false, time, in addMetaKeys()
499 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, false, time, in addMetaKeys()
503 addDoubleEphemeralMetaKey(outEvents, deviceId, metaState, false, time, in addMetaKeys()
508 addLockedMetaKey(outEvents, deviceId, metaState, time, in addMetaKeys()
510 addLockedMetaKey(outEvents, deviceId, metaState, time, in addMetaKeys()
512 addLockedMetaKey(outEvents, deviceId, metaState, time, in addMetaKeys()
517 bool KeyCharacterMap::addSingleEphemeralMetaKey(Vector<KeyEvent>& outEvents, in addSingleEphemeralMetaKey() argument
523 addKey(outEvents, deviceId, keyCode, *currentMetaState, down, time); in addSingleEphemeralMetaKey()
529 void KeyCharacterMap::addDoubleEphemeralMetaKey(Vector<KeyEvent>& outEvents, in addDoubleEphemeralMetaKey() argument
536 specific |= addSingleEphemeralMetaKey(outEvents, deviceId, metaState, down, time, in addDoubleEphemeralMetaKey()
538 specific |= addSingleEphemeralMetaKey(outEvents, deviceId, metaState, down, time, in addDoubleEphemeralMetaKey()
542 addSingleEphemeralMetaKey(outEvents, deviceId, metaState, down, time, in addDoubleEphemeralMetaKey()
547 void KeyCharacterMap::addLockedMetaKey(Vector<KeyEvent>& outEvents, in addLockedMetaKey() argument
553 addKey(outEvents, deviceId, keyCode, *currentMetaState, true, time); in addLockedMetaKey()
555 addKey(outEvents, deviceId, keyCode, *currentMetaState, false, time); in addLockedMetaKey()