Lines Matching refs:stateIt
51 const auto stateIt = mDeviceStates.find(deviceId); in hasHoveringPointers() local
52 if (stateIt == mDeviceStates.end()) { in hasHoveringPointers()
55 const DeviceState& state = stateIt->second; in hasHoveringPointers()
61 auto stateIt = mDeviceStates.find(deviceId); in clearHoveringPointers() local
62 if (stateIt == mDeviceStates.end()) { in clearHoveringPointers()
65 DeviceState& state = stateIt->second; in clearHoveringPointers()
68 mDeviceStates.erase(stateIt); in clearHoveringPointers()
73 const auto stateIt = mDeviceStates.find(deviceId); in hasHoveringPointer() local
74 if (stateIt == mDeviceStates.end()) { in hasHoveringPointer()
77 const DeviceState& state = stateIt->second; in hasHoveringPointer()
126 const auto stateIt = mDeviceStates.find(deviceId); in hasTouchingPointer() local
127 if (stateIt == mDeviceStates.end()) { in hasTouchingPointer()
130 const DeviceState& state = stateIt->second; in hasTouchingPointer()
135 const auto stateIt = mDeviceStates.find(deviceId); in getTouchingPointers() local
136 if (stateIt == mDeviceStates.end()) { in getTouchingPointers()
139 const DeviceState& state = stateIt->second; in getTouchingPointers()
152 const auto stateIt = mDeviceStates.find(deviceId); in removeTouchingPointers() local
153 if (stateIt == mDeviceStates.end()) { in removeTouchingPointers()
156 DeviceState& state = stateIt->second; in removeTouchingPointers()
165 mDeviceStates.erase(stateIt); in removeTouchingPointers()
196 const auto stateIt = mDeviceStates.find(deviceId); in hasPilferingPointers() local
197 if (stateIt == mDeviceStates.end()) { in hasPilferingPointers()
200 const DeviceState& state = stateIt->second; in hasPilferingPointers()
215 const auto stateIt = mDeviceStates.find(deviceId); in getPilferingPointers() local
216 if (stateIt == mDeviceStates.end()) { in getPilferingPointers()
219 const DeviceState& state = stateIt->second; in getPilferingPointers()
233 const auto stateIt = mDeviceStates.find(deviceId); in getDownTimeInTarget() local
234 if (stateIt == mDeviceStates.end()) { in getDownTimeInTarget()
237 const DeviceState& state = stateIt->second; in getDownTimeInTarget()
242 auto [stateIt, _] = mDeviceStates.try_emplace(deviceId); in trySetDownTimeInTarget()
243 DeviceState& state = stateIt->second; in trySetDownTimeInTarget()
251 const auto stateIt = mDeviceStates.find(deviceId); in removeAllTouchingPointersForDevice() local
252 if (stateIt == mDeviceStates.end()) { in removeAllTouchingPointersForDevice()
255 DeviceState& state = stateIt->second; in removeAllTouchingPointersForDevice()
262 mDeviceStates.erase(stateIt); in removeAllTouchingPointersForDevice()
267 const auto stateIt = mDeviceStates.find(deviceId); in removeHoveringPointer() local
268 if (stateIt == mDeviceStates.end()) { in removeHoveringPointer()
271 DeviceState& state = stateIt->second; in removeHoveringPointer()
278 mDeviceStates.erase(stateIt); in removeHoveringPointer()
283 const auto stateIt = mDeviceStates.find(deviceId); in removeAllHoveringPointersForDevice() local
284 if (stateIt == mDeviceStates.end()) { in removeAllHoveringPointersForDevice()
287 DeviceState& state = stateIt->second; in removeAllHoveringPointersForDevice()
292 mDeviceStates.erase(stateIt); in removeAllHoveringPointersForDevice()