Lines Matching defs:KeyEntry

355         KeyEntry* typedEntry = static_cast<KeyEntry*>(mPendingEvent);
418 KeyEntry* keyEntry = static_cast<KeyEntry*>(entry);
561 bool InputDispatcher::isAppSwitchKeyEventLocked(KeyEntry* keyEntry) {
653 InputDispatcher::KeyEntry* InputDispatcher::synthesizeKeyRepeatLocked(nsecs_t currentTime) {
654 KeyEntry* entry = mKeyRepeatState.lastKeyEntry;
665 KeyEntry* newEntry = new KeyEntry(currentTime,
714 bool InputDispatcher::dispatchKeyLocked(nsecs_t currentTime, KeyEntry* entry,
754 if (entry->interceptKeyResult == KeyEntry::INTERCEPT_KEY_RESULT_TRY_AGAIN_LATER) {
761 entry->interceptKeyResult = KeyEntry::INTERCEPT_KEY_RESULT_UNKNOWN;
766 if (entry->interceptKeyResult == KeyEntry::INTERCEPT_KEY_RESULT_UNKNOWN) {
777 entry->interceptKeyResult = KeyEntry::INTERCEPT_KEY_RESULT_CONTINUE;
779 } else if (entry->interceptKeyResult == KeyEntry::INTERCEPT_KEY_RESULT_SKIP) {
812 void InputDispatcher::logOutboundKeyDetailsLocked(const char* prefix, const KeyEntry* entry) {
1786 const KeyEntry* keyEntry = static_cast<const KeyEntry*>(eventEntry);
1891 KeyEntry* keyEntry = static_cast<KeyEntry*>(eventEntry);
1980 KeyEntry* keyEntry = static_cast<KeyEntry*>(eventEntry);
2248 static_cast<KeyEntry*>(cancelationEventEntry));
2467 KeyEntry* newEntry = new KeyEntry(args->eventTime,
2633 firstInjectedEntry = new KeyEntry(keyEvent->getEventTime(),
3534 KeyEntry* entry = commandEntry->keyEntry;
3547 entry->interceptKeyResult = KeyEntry::INTERCEPT_KEY_RESULT_SKIP;
3549 entry->interceptKeyResult = KeyEntry::INTERCEPT_KEY_RESULT_CONTINUE;
3551 entry->interceptKeyResult = KeyEntry::INTERCEPT_KEY_RESULT_TRY_AGAIN_LATER;
3578 KeyEntry* keyEntry = static_cast<KeyEntry*>(dispatchEntry->eventEntry);
3610 DispatchEntry* dispatchEntry, KeyEntry* keyEntry, bool handled) {
3794 void InputDispatcher::initializeKeyEvent(KeyEvent* event, const KeyEntry* entry) {
3929 // --- InputDispatcher::KeyEntry ---
3931 InputDispatcher::KeyEntry::KeyEntry(nsecs_t eventTime,
3939 syntheticRepeat(false), interceptKeyResult(KeyEntry::INTERCEPT_KEY_RESULT_UNKNOWN),
3943 InputDispatcher::KeyEntry::~KeyEntry() {
3946 void InputDispatcher::KeyEntry::appendDescription(String8& msg) const {
3954 void InputDispatcher::KeyEntry::recycle() {
3959 interceptKeyResult = KeyEntry::INTERCEPT_KEY_RESULT_UNKNOWN;
4061 bool InputDispatcher::InputState::trackKey(const KeyEntry* entry,
4212 ssize_t InputDispatcher::InputState::findKeyMemento(const KeyEntry* entry) const {
4239 void InputDispatcher::InputState::addKeyMemento(const KeyEntry* entry, int32_t flags) {
4281 outEvents.push(new KeyEntry(currentTime,