Lines Matching refs:spots
143 const std::vector<Spot*>& spots) { in getSpot() argument
144 for (size_t i = 0; i < spots.size(); i++) { in getSpot()
145 Spot* spot = spots[i]; in getSpot()
154 std::vector<Spot*>& spots) in createAndAddSpotLocked() argument
157 while (spots.size() >= MAX_SPOTS) { in createAndAddSpotLocked()
158 Spot* spot = removeFirstFadingSpotLocked(spots); in createAndAddSpotLocked()
160 spot = spots[0]; in createAndAddSpotLocked()
161 spots.erase(spots.begin()); in createAndAddSpotLocked()
177 spots.push_back(spot); in createAndAddSpotLocked()
182 std::vector<Spot*>& spots) REQUIRES(mLock) { in removeFirstFadingSpotLocked() argument
183 for (size_t i = 0; i < spots.size(); i++) { in removeFirstFadingSpotLocked()
184 Spot* spot = spots[i]; in removeFirstFadingSpotLocked()
186 spots.erase(spots.begin() + i); in removeFirstFadingSpotLocked()