Searched refs:MotionEntry (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputState.h | 49 bool trackMotion(const MotionEntry& entry, int32_t flags); 58 getPointersOfLastEvent(const MotionEntry& entry, bool hovering) const; 61 std::unique_ptr<EventEntry> cancelConflictingInputStream(const MotionEntry& motionEntry); 119 void setPointers(const MotionEntry& entry); 131 ssize_t findMotionMemento(const MotionEntry& entry, bool hovering) const; 134 void addMotionMemento(const MotionEntry& entry, int32_t flags, bool hovering); 138 bool shouldCancelPreviousStream(const MotionEntry& motionEntry) const; 139 std::unique_ptr<MotionEntry> createCancelEntryForMemento(const MotionMemento& memento, 143 std::vector<std::unique_ptr<MotionEntry>> synthesizeCancelationEventsForPointers(
|
D | InputState.cpp | 92 bool InputState::trackMotion(const MotionEntry& entry, int32_t flags) { in trackMotion() 202 InputState::getPointersOfLastEvent(const MotionEntry& entry, bool hovering) const { in getPointersOfLastEvent() 223 ssize_t InputState::findMotionMemento(const MotionEntry& entry, bool hovering) const { in findMotionMemento() 248 void InputState::addMotionMemento(const MotionEntry& entry, int32_t flags, bool hovering) { in addMotionMemento() 265 void InputState::MotionMemento::setPointers(const MotionEntry& entry) { in setPointers() 297 bool InputState::shouldCancelPreviousStream(const MotionEntry& motionEntry) const { in shouldCancelPreviousStream() 376 const MotionEntry& motionEntry) { in cancelConflictingInputStream() 384 std::unique_ptr<MotionEntry> cancelEntry = in cancelConflictingInputStream() 393 std::unique_ptr<MotionEntry> InputState::createCancelEntryForMemento(const MotionMemento& memento, in createCancelEntryForMemento() 401 return std::make_unique<MotionEntry>(mIdGenerator.nextId(), /*injectionState=*/nullptr, in createCancelEntryForMemento() [all …]
|
D | Entry.cpp | 45 VerifiedMotionEvent verifiedMotionEventFromMotionEntry(const MotionEntry& entry, in verifiedMotionEventFromMotionEntry() 188 MotionEntry::MotionEntry(int32_t id, std::shared_ptr<InjectionState> injectionState, in MotionEntry() function in android::inputdispatcher::MotionEntry 218 std::string MotionEntry::getDescription() const { in getDescription() 246 std::ostream& operator<<(std::ostream& out, const MotionEntry& motionEntry) { in operator <<() 313 const MotionEntry& motionEntry = static_cast<const MotionEntry&>(*this->eventEntry); in DispatchEntry()
|
D | Entry.h | 155 struct MotionEntry : EventEntry { struct 177 MotionEntry(int32_t id, std::shared_ptr<InjectionState> injectionState, nsecs_t eventTime, argument 188 std::ostream& operator<<(std::ostream& out, const MotionEntry& motionEntry); 263 VerifiedMotionEvent verifiedMotionEventFromMotionEntry(const MotionEntry& entry,
|
D | InputDispatcher.h | 292 const std::array<uint8_t, 32> getSignature(const MotionEntry& motionEntry, 301 void transformMotionEntryForInjectionLocked(MotionEntry&, 384 const MotionEntry& motionEntry) const REQUIRES(mLock); 455 bool dispatchMotionLocked(nsecs_t currentTime, std::shared_ptr<const MotionEntry> entry, 472 void logOutboundMotionDetails(const char* prefix, const MotionEntry& entry); 485 bool shouldPruneInboundQueueLocked(const MotionEntry& motionEntry) const REQUIRES(mLock); 543 nsecs_t currentTime, const MotionEntry& entry, 568 void addDragEventLocked(const MotionEntry& entry) REQUIRES(mLock); 648 std::unique_ptr<MotionEntry> splitMotionEvent(const MotionEntry& originalMotionEntry,
|
D | InputDispatcher.cpp | 110 const auto& motion = static_cast<const MotionEntry&>(entry); in getTraceTracker() 421 const MotionEntry& motionEntry = static_cast<const MotionEntry&>(*eventEntry); in createDispatchEntry() 456 std::unique_ptr<MotionEntry> combinedMotionEntry = in createDispatchEntry() 457 std::make_unique<MotionEntry>(idGenerator.nextId(), motionEntry.injectionState, in createDispatchEntry() 529 const MotionEntry& motionEntry = static_cast<const MotionEntry&>(eventEntry); in shouldReportFinishedEvent() 615 bool isPointerFromStylus(const MotionEntry& entry, int32_t pointerIndex) { in isPointerFromStylus() 665 std::pair<float, float> resolveTouchedPosition(const MotionEntry& entry) { in resolveTouchedPosition() 682 const MotionEntry& motionEntry = static_cast<const MotionEntry&>(eventEntry); in getDownTime() 697 const MotionEntry& entry) { in getHoveringWindowsLocked() 791 bool shouldSplitTouch(const TouchState& touchState, const MotionEntry& entry) { in shouldSplitTouch() [all …]
|
/frameworks/native/services/inputflinger/dispatcher/trace/ |
D | InputTracer.cpp | 34 TracedEvent createTracedEvent(const MotionEntry& e, EventType type) { in createTracedEvent() 107 const auto& motion = static_cast<const MotionEntry&>(entry); in traceInboundEvent() 168 const auto& motion = static_cast<const MotionEntry&>(entry); in traceDerivedEvent()
|