Home
last modified time | relevance | path

Searched refs:touchingPointers (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/inputflinger/dispatcher/
DTouchedWindow.cpp95 std::vector<PointerProperties>& touchingPointers = mDeviceStates[deviceId].touchingPointers; in addTouchingPointers() local
96 const size_t initialSize = touchingPointers.size(); in addTouchingPointers()
98 std::erase_if(touchingPointers, [&pointer](const PointerProperties& properties) { in addTouchingPointers()
102 const bool foundInconsistentState = touchingPointers.size() != initialSize; in addTouchingPointers()
103 touchingPointers.insert(touchingPointers.end(), pointers.begin(), pointers.end()); in addTouchingPointers()
114 if (!state.touchingPointers.empty()) { in hasTouchingPointers()
131 return hasPointerId(state.touchingPointers, pointerId); in hasTouchingPointer()
140 return state.touchingPointers; in getTouchingPointers()
158 std::erase_if(state.touchingPointers, [&pointers](const PointerProperties& properties) { in removeTouchingPointers()
171 for (const PointerProperties& properties : state.touchingPointers) { in hasActiveStylus()
[all …]
DTouchedWindow.h74 std::vector<PointerProperties> touchingPointers; member
83 bool hasPointers() const { return !touchingPointers.empty() || !hoveringPointers.empty(); }; in hasPointers()
DTouchState.cpp76 const std::vector<PointerProperties>& touchingPointers, in addOrUpdateWindow() argument
78 if (touchingPointers.empty()) { in addOrUpdateWindow()
95 touchedWindow.addTouchingPointers(deviceId, touchingPointers); in addOrUpdateWindow()
106 touchedWindow.addTouchingPointers(deviceId, touchingPointers); in addOrUpdateWindow()
DTouchState.h49 DeviceId deviceId, const std::vector<PointerProperties>& touchingPointers,
DInputDispatcher.cpp2702 std::vector<PointerProperties> touchingPointers{entry.pointerProperties[pointerIndex]}; in findTouchedWindowTargetsLocked() local
2708 touchedWindow.addTouchingPointers(entry.deviceId, touchingPointers); in findTouchedWindowTargetsLocked()
2773 std::vector<PointerProperties> touchingPointers = in findTouchedWindowTargetsLocked() local
2775 if (touchingPointers.empty()) { in findTouchedWindowTargetsLocked()
2779 touchedWindow.targetFlags, getPointerIds(touchingPointers), in findTouchedWindowTargetsLocked()