Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DInputDispatcher.h475 struct KeyEntry : EventEntry { struct
497 KeyEntry(nsecs_t eventTime, argument
505 virtual ~KeyEntry();
602 KeyEntry* keyEntry;
722 bool trackKey(const KeyEntry* entry, int32_t action, int32_t flags);
787 ssize_t findKeyMemento(const KeyEntry* entry) const;
790 void addKeyMemento(const KeyEntry* entry, int32_t flags);
884 bool isAppSwitchKeyEventLocked(KeyEntry* keyEntry);
916 KeyEntry* lastKeyEntry; // or null if no repeat
921 KeyEntry* synthesizeKeyRepeatLocked(nsecs_t currentTime);
[all …]
DInputDispatcher.cpp355 KeyEntry* typedEntry = static_cast<KeyEntry*>(mPendingEvent); in dispatchOnceInnerLocked()
418 KeyEntry* keyEntry = static_cast<KeyEntry*>(entry); in enqueueInboundEventLocked()
561 bool InputDispatcher::isAppSwitchKeyEventLocked(KeyEntry* keyEntry) { in isAppSwitchKeyEventLocked()
653 InputDispatcher::KeyEntry* InputDispatcher::synthesizeKeyRepeatLocked(nsecs_t currentTime) { in synthesizeKeyRepeatLocked()
654 KeyEntry* entry = mKeyRepeatState.lastKeyEntry; in synthesizeKeyRepeatLocked()
665 KeyEntry* newEntry = new KeyEntry(currentTime, in synthesizeKeyRepeatLocked()
714 bool InputDispatcher::dispatchKeyLocked(nsecs_t currentTime, KeyEntry* entry, in dispatchKeyLocked()
754 if (entry->interceptKeyResult == KeyEntry::INTERCEPT_KEY_RESULT_TRY_AGAIN_LATER) { in dispatchKeyLocked()
761 entry->interceptKeyResult = KeyEntry::INTERCEPT_KEY_RESULT_UNKNOWN; in dispatchKeyLocked()
766 if (entry->interceptKeyResult == KeyEntry::INTERCEPT_KEY_RESULT_UNKNOWN) { in dispatchKeyLocked()
[all …]