Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/dispatcher/
DInputState.cpp33 for (const MotionMemento& memento : mMotionMementos) { in isHovering() local
34 if (memento.deviceId == deviceId && memento.source == source && in isHovering()
35 memento.displayId == displayId && memento.hovering) { in isHovering()
154 MotionMemento& memento = mMotionMementos[index]; in trackMotion() local
155 memento.setPointers(entry); in trackMotion()
166 MotionMemento& memento = mMotionMementos[index]; in trackMotion() local
167 if (memento.firstNewPointerIdx < 0) { in trackMotion()
168 memento.setPointers(entry); in trackMotion()
213 const KeyMemento& memento = mKeyMementos[i]; in findKeyMemento() local
214 if (memento.deviceId == entry.deviceId && memento.source == entry.source && in findKeyMemento()
[all …]
DInputState.h136 static bool shouldCancelKey(const KeyMemento& memento, const CancelationOptions& options);
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,