Lines Matching refs:monitors
330 static void addGestureMonitors(const std::vector<Monitor>& monitors, in addGestureMonitors() argument
333 if (monitors.empty()) { in addGestureMonitors()
336 outTouchedMonitors.reserve(monitors.size() + outTouchedMonitors.size()); in addGestureMonitors()
337 for (const Monitor& monitor : monitors) { in addGestureMonitors()
853 std::vector<Monitor> monitors = getValueByKey(mGestureMonitorsByDisplay, displayId); in findTouchedGestureMonitorsLocked() local
854 addGestureMonitors(monitors, touchedMonitors); in findTouchedGestureMonitorsLocked()
857 monitors = getValueByKey(mGestureMonitorsByDisplay, windowInfo->portalToDisplayId); in findTouchedGestureMonitorsLocked()
858 addGestureMonitors(monitors, touchedMonitors, -windowInfo->frameLeft, in findTouchedGestureMonitorsLocked()
1541 const std::vector<TouchedMonitor>& monitors) const { in selectResponsiveMonitorsLocked()
1543 std::copy_if(monitors.begin(), monitors.end(), std::back_inserter(responsiveMonitors), in selectResponsiveMonitorsLocked()
2039 const std::vector<Monitor>& monitors = it->second; in addGlobalMonitoringTargetsLocked() local
2040 for (const Monitor& monitor : monitors) { in addGlobalMonitoringTargetsLocked()
2782 const std::vector<Monitor>& monitors = it.second; in synthesizeCancelationEventsForMonitorsLocked() local
2783 for (const Monitor& monitor : monitors) { in synthesizeCancelationEventsForMonitorsLocked()
4169 const std::vector<Monitor>& monitors = it.second; in dumpDispatchStateLocked() local
4171 dumpMonitors(dump, monitors); in dumpDispatchStateLocked()
4174 const std::vector<Monitor>& monitors = it.second; in dumpDispatchStateLocked() local
4176 dumpMonitors(dump, monitors); in dumpDispatchStateLocked()
4289 void InputDispatcher::dumpMonitors(std::string& dump, const std::vector<Monitor>& monitors) { in dumpMonitors() argument
4290 const size_t numMonitors = monitors.size(); in dumpMonitors()
4292 const Monitor& monitor = monitors[i]; in dumpMonitors()
4413 std::vector<Monitor>& monitors = it->second; in removeMonitorChannelLocked() local
4414 const size_t numMonitors = monitors.size(); in removeMonitorChannelLocked()
4416 if (monitors[i].inputChannel == inputChannel) { in removeMonitorChannelLocked()
4417 monitors.erase(monitors.begin() + i); in removeMonitorChannelLocked()
4421 if (monitors.empty()) { in removeMonitorChannelLocked()
4481 const std::vector<Monitor>& monitors = it.second; in findGestureMonitorDisplayByTokenLocked() local
4482 for (const Monitor& monitor : monitors) { in findGestureMonitorDisplayByTokenLocked()