Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/dispatcher/
DInputState.cpp33 for (const MotionMemento& memento : mMotionMementos) { in isHovering()
101 const MotionMemento& lastMemento = mMotionMementos.back(); in trackMotion()
154 MotionMemento& memento = mMotionMementos[index]; in trackMotion()
166 MotionMemento& memento = mMotionMementos[index]; in trackMotion()
225 const MotionMemento& memento = mMotionMementos[i]; in findMotionMemento()
249 MotionMemento memento; 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()
314 const MotionMemento& lastMemento = mMotionMementos.back(); in shouldCancelPreviousStream()
[all …]
DInputState.h102 struct MotionMemento { struct
120 void mergePointerStateTo(MotionMemento& other) const; argument
127 std::vector<MotionMemento> mMotionMementos;
137 static bool shouldCancelMotion(const MotionMemento& memento, const CancelationOptions& options);
139 std::unique_ptr<MotionEntry> createCancelEntryForMemento(const MotionMemento& memento,
144 const MotionMemento& memento, std::bitset<MAX_POINTER_ID + 1> pointerIds,