Lines Matching refs:InputState
27 InputState::InputState(const IdGenerator& idGenerator) : mIdGenerator(idGenerator) {} in InputState() function in android::inputdispatcher::InputState
29 InputState::~InputState() {} in ~InputState()
31 bool InputState::isHovering(DeviceId deviceId, uint32_t source, in isHovering()
42 bool InputState::trackKey(const KeyEntry& entry, int32_t flags) { in trackKey()
92 bool InputState::trackMotion(const MotionEntry& entry, int32_t flags) { in trackMotion()
202 InputState::getPointersOfLastEvent(const MotionEntry& entry, bool hovering) const { in getPointersOfLastEvent()
211 ssize_t InputState::findKeyMemento(const KeyEntry& entry) const { in findKeyMemento()
223 ssize_t InputState::findMotionMemento(const MotionEntry& entry, bool hovering) const { in findMotionMemento()
234 void InputState::addKeyMemento(const KeyEntry& entry, int32_t flags) { in addKeyMemento()
248 void InputState::addMotionMemento(const MotionEntry& entry, int32_t flags, bool hovering) { in addMotionMemento()
265 void InputState::MotionMemento::setPointers(const MotionEntry& entry) { in setPointers()
283 void InputState::MotionMemento::mergePointerStateTo(MotionMemento& other) const { in mergePointerStateTo()
293 size_t InputState::MotionMemento::getPointerCount() const { in getPointerCount()
297 bool InputState::shouldCancelPreviousStream(const MotionEntry& motionEntry) const { in shouldCancelPreviousStream()
375 std::unique_ptr<EventEntry> InputState::cancelConflictingInputStream( in cancelConflictingInputStream()
393 std::unique_ptr<MotionEntry> InputState::createCancelEntryForMemento(const MotionMemento& memento, in createCancelEntryForMemento()
412 std::vector<std::unique_ptr<EventEntry>> InputState::synthesizeCancelationEvents( in synthesizeCancelationEvents()
444 std::vector<std::unique_ptr<EventEntry>> InputState::synthesizePointerDownEvents( in synthesizePointerDownEvents()
497 std::vector<std::unique_ptr<MotionEntry>> InputState::synthesizeCancelationEventsForPointers( in synthesizeCancelationEventsForPointers()
553 void InputState::clear() { in clear()
559 void InputState::mergePointerStateTo(InputState& other) { in mergePointerStateTo()
584 std::optional<int32_t> InputState::getFallbackKey(int32_t originalKeyCode) { in getFallbackKey()
592 void InputState::setFallbackKey(int32_t originalKeyCode, int32_t fallbackKeyCode) { in setFallbackKey()
596 void InputState::removeFallbackKey(int32_t originalKeyCode) { in removeFallbackKey()
600 bool InputState::shouldCancelKey(const KeyMemento& memento, const CancelationOptions& options) { in shouldCancelKey()
624 bool InputState::shouldCancelMotion(const MotionMemento& memento, in shouldCancelMotion()
646 std::ostream& operator<<(std::ostream& out, const InputState& state) { in operator <<()
649 for (const InputState::MotionMemento& memento : state.mMotionMementos) { in operator <<()