Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DInputDispatcher.h525 struct KeyEntry : EventEntry { struct
548 KeyEntry(uint32_t sequenceNum, nsecs_t eventTime, argument
556 virtual ~KeyEntry();
657 KeyEntry* keyEntry;
781 bool trackKey(const KeyEntry* entry, int32_t action, int32_t flags);
847 ssize_t findKeyMemento(const KeyEntry* entry) const;
850 void addKeyMemento(const KeyEntry* entry, int32_t flags);
947 bool isAppSwitchKeyEvent(KeyEntry* keyEntry);
1001 KeyEntry* lastKeyEntry; // or null if no repeat
1006 KeyEntry* synthesizeKeyRepeatLocked(nsecs_t currentTime) REQUIRES(mLock);
[all …]
DInputDispatcher.cpp390 KeyEntry* typedEntry = static_cast<KeyEntry*>(mPendingEvent); in dispatchOnceInnerLocked()
453 KeyEntry* keyEntry = static_cast<KeyEntry*>(entry); in enqueueInboundEventLocked()
636 bool InputDispatcher::isAppSwitchKeyEvent(KeyEntry* keyEntry) { in isAppSwitchKeyEvent()
728 InputDispatcher::KeyEntry* InputDispatcher::synthesizeKeyRepeatLocked(nsecs_t currentTime) { in synthesizeKeyRepeatLocked()
729 KeyEntry* entry = mKeyRepeatState.lastKeyEntry; in synthesizeKeyRepeatLocked()
740 KeyEntry* newEntry = new KeyEntry(SYNTHESIZED_EVENT_SEQUENCE_NUM, currentTime, in synthesizeKeyRepeatLocked()
790 bool InputDispatcher::dispatchKeyLocked(nsecs_t currentTime, KeyEntry* entry, in dispatchKeyLocked()
830 if (entry->interceptKeyResult == KeyEntry::INTERCEPT_KEY_RESULT_TRY_AGAIN_LATER) { in dispatchKeyLocked()
837 entry->interceptKeyResult = KeyEntry::INTERCEPT_KEY_RESULT_UNKNOWN; in dispatchKeyLocked()
842 if (entry->interceptKeyResult == KeyEntry::INTERCEPT_KEY_RESULT_UNKNOWN) { in dispatchKeyLocked()
[all …]