Home
last modified time | relevance | path

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

/frameworks/base/services/input/
DInputDispatcher.h469 struct KeyEntry : EventEntry { struct
491 KeyEntry(nsecs_t eventTime, argument
499 virtual ~KeyEntry();
592 KeyEntry* keyEntry;
704 bool trackKey(const KeyEntry* entry, int32_t action, int32_t flags);
768 ssize_t findKeyMemento(const KeyEntry* entry) const;
771 void addKeyMemento(const KeyEntry* entry, int32_t flags);
859 bool isAppSwitchKeyEventLocked(KeyEntry* keyEntry);
891 KeyEntry* lastKeyEntry; // or null if no repeat
896 KeyEntry* synthesizeKeyRepeatLocked(nsecs_t currentTime);
[all …]
DInputDispatcher.cpp336 KeyEntry* typedEntry = static_cast<KeyEntry*>(mPendingEvent); in dispatchOnceInnerLocked()
398 KeyEntry* keyEntry = static_cast<KeyEntry*>(entry); in enqueueInboundEventLocked()
530 bool InputDispatcher::isAppSwitchKeyEventLocked(KeyEntry* keyEntry) { in isAppSwitchKeyEventLocked()
617 InputDispatcher::KeyEntry* InputDispatcher::synthesizeKeyRepeatLocked(nsecs_t currentTime) { in synthesizeKeyRepeatLocked()
618 KeyEntry* entry = mKeyRepeatState.lastKeyEntry; in synthesizeKeyRepeatLocked()
629 KeyEntry* newEntry = new KeyEntry(currentTime, in synthesizeKeyRepeatLocked()
678 bool InputDispatcher::dispatchKeyLocked(nsecs_t currentTime, KeyEntry* entry, in dispatchKeyLocked()
718 if (entry->interceptKeyResult == KeyEntry::INTERCEPT_KEY_RESULT_TRY_AGAIN_LATER) { in dispatchKeyLocked()
725 entry->interceptKeyResult = KeyEntry::INTERCEPT_KEY_RESULT_UNKNOWN; in dispatchKeyLocked()
730 if (entry->interceptKeyResult == KeyEntry::INTERCEPT_KEY_RESULT_UNKNOWN) { in dispatchKeyLocked()
[all …]