Lines Matching refs:EventEntry

377     case EventEntry::TYPE_CONFIGURATION_CHANGED: {  in dispatchOnceInnerLocked()
385 case EventEntry::TYPE_DEVICE_RESET: { in dispatchOnceInnerLocked()
393 case EventEntry::TYPE_KEY: { in dispatchOnceInnerLocked()
414 case EventEntry::TYPE_MOTION: { in dispatchOnceInnerLocked()
447 bool InputDispatcher::enqueueInboundEventLocked(EventEntry* entry) { in enqueueInboundEventLocked()
453 case EventEntry::TYPE_KEY: { in enqueueInboundEventLocked()
475 case EventEntry::TYPE_MOTION: { in enqueueInboundEventLocked()
507 void InputDispatcher::addRecentEventLocked(EventEntry* entry) { in addRecentEventLocked()
540 void InputDispatcher::dropInboundEventLocked(EventEntry* entry, DropReason dropReason) { in dropInboundEventLocked()
575 case EventEntry::TYPE_KEY: { in dropInboundEventLocked()
580 case EventEntry::TYPE_MOTION: { in dropInboundEventLocked()
623 bool InputDispatcher::isStaleEventLocked(nsecs_t currentTime, EventEntry* entry) { in isStaleEventLocked()
656 EventEntry* entry = mInboundQueue.dequeueAtHead(); in drainInboundQueueLocked()
670 void InputDispatcher::releaseInboundEventLocked(EventEntry* entry) { in releaseInboundEventLocked()
959 EventEntry* eventEntry, const Vector<InputTarget>& inputTargets) { in dispatchEventLocked()
986 const EventEntry* entry, in handleTargetsNotReadyLocked()
1110 const EventEntry* entry, Vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime) { in findFocusedWindowTargetsLocked()
1699 const sp<InputWindowHandle>& windowHandle, const EventEntry* eventEntry, in checkWindowReadyForMoreInputLocked()
1730 if (eventEntry->type == EventEntry::TYPE_KEY) { in checkWindowReadyForMoreInputLocked()
1797 void InputDispatcher::pokeUserActivityLocked(const EventEntry* eventEntry) { in pokeUserActivityLocked()
1810 case EventEntry::TYPE_MOTION: { in pokeUserActivityLocked()
1821 case EventEntry::TYPE_KEY: { in pokeUserActivityLocked()
1838 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) { in prepareDispatchCycleLocked()
1860 ALOG_ASSERT(eventEntry->type == EventEntry::TYPE_MOTION); in prepareDispatchCycleLocked()
1886 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) { in enqueueDispatchEntriesLocked()
1910 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget, in enqueueDispatchEntryLocked()
1926 case EventEntry::TYPE_KEY: { in enqueueDispatchEntryLocked()
1943 case EventEntry::TYPE_MOTION: { in enqueueDispatchEntryLocked()
2013 EventEntry* eventEntry = dispatchEntry->eventEntry; in startDispatchCycleLocked()
2015 case EventEntry::TYPE_KEY: { in startDispatchCycleLocked()
2028 case EventEntry::TYPE_MOTION: { in startDispatchCycleLocked()
2268 Vector<EventEntry*> cancelationEvents; in synthesizeCancelationEventsForConnectionLocked()
2280 EventEntry* cancelationEventEntry = cancelationEvents.itemAt(i); in synthesizeCancelationEventsForConnectionLocked()
2282 case EventEntry::TYPE_KEY: in synthesizeCancelationEventsForConnectionLocked()
2286 case EventEntry::TYPE_MOTION: in synthesizeCancelationEventsForConnectionLocked()
2662 EventEntry* firstInjectedEntry; in injectInputEvent()
2663 EventEntry* lastInjectedEntry; in injectInputEvent()
2761 for (EventEntry* entry = firstInjectedEntry; entry != NULL; ) { in injectInputEvent()
2762 EventEntry* nextEntry = entry->next; in injectInputEvent()
2838 void InputDispatcher::setInjectionResultLocked(EventEntry* entry, int32_t injectionResult) { in setInjectionResultLocked()
2871 void InputDispatcher::incrementPendingForegroundDispatchesLocked(EventEntry* entry) { in incrementPendingForegroundDispatchesLocked()
2878 void InputDispatcher::decrementPendingForegroundDispatchesLocked(EventEntry* entry) { in decrementPendingForegroundDispatchesLocked()
3293 for (EventEntry* entry = mRecentQueue.head; entry; entry = entry->next) { in dumpDispatchStateLocked()
3317 for (EventEntry* entry = mInboundQueue.head; entry; entry = entry->next) { in dumpDispatchStateLocked()
3640 if (dispatchEntry->eventEntry->type == EventEntry::TYPE_KEY) { in doDispatchCycleFinishedLockedInterruptible()
3644 } else if (dispatchEntry->eventEntry->type == EventEntry::TYPE_MOTION) { in doDispatchCycleFinishedLockedInterruptible()
3863 void InputDispatcher::updateDispatchStatisticsLocked(nsecs_t currentTime, const EventEntry* entry, in updateDispatchStatisticsLocked()
3935 InputDispatcher::EventEntry::EventEntry(int32_t type, nsecs_t eventTime, uint32_t policyFlags) : in EventEntry() function in android::InputDispatcher::EventEntry
3940 InputDispatcher::EventEntry::~EventEntry() { in ~EventEntry()
3944 void InputDispatcher::EventEntry::release() { in release()
3953 void InputDispatcher::EventEntry::releaseInjectionState() { in releaseInjectionState()
3964 EventEntry(TYPE_CONFIGURATION_CHANGED, eventTime, 0) { in ConfigurationChangedEntry()
3978 EventEntry(TYPE_DEVICE_RESET, eventTime, 0), in DeviceResetEntry()
3997 EventEntry(TYPE_KEY, eventTime, policyFlags), in KeyEntry()
4035 EventEntry(TYPE_MOTION, eventTime, policyFlags), in MotionEntry()
4074 InputDispatcher::DispatchEntry::DispatchEntry(EventEntry* eventEntry, in DispatchEntry()
4339 Vector<EventEntry*>& outEvents, const CancelationOptions& options) { in synthesizeCancelationEvents()