Lines Matching refs:pointerId
32 bool hasPointerId(const std::vector<PointerProperties>& pointers, int32_t pointerId) { in hasPointerId() argument
34 [&pointerId](const PointerProperties& properties) { in hasPointerId()
35 return properties.id == pointerId; in hasPointerId()
39 bool hasPointerId(const std::vector<TouchedWindow::HoveringPointer>& pointers, int32_t pointerId) { in hasPointerId() argument
41 [&pointerId](const TouchedWindow::HoveringPointer& pointer) { in hasPointerId()
42 return pointer.properties.id == pointerId; in hasPointerId()
79 bool TouchedWindow::hasHoveringPointer(DeviceId deviceId, int32_t pointerId) const { in hasHoveringPointer()
85 return hasPointerId(state.hoveringPointers, pointerId); in hasHoveringPointer()
134 bool TouchedWindow::hasTouchingPointer(DeviceId deviceId, int32_t pointerId) const { in hasTouchingPointer()
140 return hasPointerId(state.touchingPointers, pointerId); in hasTouchingPointer()
152 void TouchedWindow::removeTouchingPointer(DeviceId deviceId, int32_t pointerId) { in removeTouchingPointer() argument
154 pointerIds.set(pointerId, true); in removeTouchingPointer()
219 void TouchedWindow::addPilferingPointer(DeviceId deviceId, int32_t pointerId) { in addPilferingPointer() argument
220 mDeviceStates[deviceId].pilferingPointerIds.set(pointerId); in addPilferingPointer()
275 void TouchedWindow::removeHoveringPointer(DeviceId deviceId, int32_t pointerId) { in removeHoveringPointer() argument
282 std::erase_if(state.hoveringPointers, [&pointerId](const HoveringPointer& pointer) { in removeHoveringPointer()
283 return pointer.properties.id == pointerId; in removeHoveringPointer()