Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/dispatcher/
DInputState.cpp32 for (const MotionMemento& memento : mMotionMementos) { in isHovering() local
33 if (memento.deviceId == deviceId && memento.source == source && in isHovering()
34 memento.displayId == displayId && memento.hovering) { in isHovering()
140 MotionMemento& memento = mMotionMementos[index]; in trackMotion() local
141 memento.setPointers(entry); in trackMotion()
152 MotionMemento& memento = mMotionMementos[index]; in trackMotion() local
153 if (memento.firstNewPointerIdx < 0) { in trackMotion()
154 memento.setPointers(entry); in trackMotion()
197 const KeyMemento& memento = mKeyMementos[i]; in findKeyMemento() local
198 if (memento.deviceId == entry.deviceId && memento.source == entry.source && in findKeyMemento()
[all …]
DInputState.h126 static bool shouldCancelKey(const KeyMemento& memento, const CancelationOptions& options);
127 static bool shouldCancelMotion(const MotionMemento& memento, const CancelationOptions& options);