Home
last modified time | relevance | path

Searched refs:KeyEntry (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/inputflinger/
DInputDispatcher.h469 struct KeyEntry : EventEntry { struct
491 KeyEntry(nsecs_t eventTime, argument
499 virtual ~KeyEntry();
595 KeyEntry* keyEntry;
708 bool trackKey(const KeyEntry* entry, int32_t action, int32_t flags);
773 ssize_t findKeyMemento(const KeyEntry* entry) const;
776 void addKeyMemento(const KeyEntry* entry, int32_t flags);
868 bool isAppSwitchKeyEventLocked(KeyEntry* keyEntry);
900 KeyEntry* lastKeyEntry; // or null if no repeat
905 KeyEntry* synthesizeKeyRepeatLocked(nsecs_t currentTime);
[all …]
DInputDispatcher.cpp351 KeyEntry* typedEntry = static_cast<KeyEntry*>(mPendingEvent); in dispatchOnceInnerLocked()
413 KeyEntry* keyEntry = static_cast<KeyEntry*>(entry); in enqueueInboundEventLocked()
560 bool InputDispatcher::isAppSwitchKeyEventLocked(KeyEntry* keyEntry) { in isAppSwitchKeyEventLocked()
652 InputDispatcher::KeyEntry* InputDispatcher::synthesizeKeyRepeatLocked(nsecs_t currentTime) { in synthesizeKeyRepeatLocked()
653 KeyEntry* entry = mKeyRepeatState.lastKeyEntry; in synthesizeKeyRepeatLocked()
664 KeyEntry* newEntry = new KeyEntry(currentTime, in synthesizeKeyRepeatLocked()
713 bool InputDispatcher::dispatchKeyLocked(nsecs_t currentTime, KeyEntry* entry, in dispatchKeyLocked()
753 if (entry->interceptKeyResult == KeyEntry::INTERCEPT_KEY_RESULT_TRY_AGAIN_LATER) { in dispatchKeyLocked()
760 entry->interceptKeyResult = KeyEntry::INTERCEPT_KEY_RESULT_UNKNOWN; in dispatchKeyLocked()
765 if (entry->interceptKeyResult == KeyEntry::INTERCEPT_KEY_RESULT_UNKNOWN) { in dispatchKeyLocked()
[all …]