Lines Matching refs:spots
119 const std::vector<Spot*>& spots = it.second; in ~PointerController() local
120 size_t numSpots = spots.size(); in ~PointerController()
122 delete spots[i]; in ~PointerController()
556 std::vector<Spot*>& spots = it->second; in doFadingAnimationLocked() local
557 size_t numSpots = spots.size(); in doFadingAnimationLocked()
559 Spot* spot = spots[i]; in doFadingAnimationLocked()
563 spots.erase(spots.begin() + i); in doFadingAnimationLocked()
575 if (spots.size() == 0) { in doFadingAnimationLocked()
683 PointerController::Spot* PointerController::getSpot(uint32_t id, const std::vector<Spot*>& spots) { in getSpot() argument
684 for (size_t i = 0; i < spots.size(); i++) { in getSpot()
685 Spot* spot = spots[i]; in getSpot()
695 std::vector<Spot*>& spots) { in createAndAddSpotLocked() argument
697 while (spots.size() >= MAX_SPOTS) { in createAndAddSpotLocked()
698 Spot* spot = removeFirstFadingSpotLocked(spots); in createAndAddSpotLocked()
700 spot = spots[0]; in createAndAddSpotLocked()
701 spots.erase(spots.begin()); in createAndAddSpotLocked()
717 spots.push_back(spot); in createAndAddSpotLocked()
721 PointerController::Spot* PointerController::removeFirstFadingSpotLocked(std::vector<Spot*>& spots) { in removeFirstFadingSpotLocked() argument
722 for (size_t i = 0; i < spots.size(); i++) { in removeFirstFadingSpotLocked()
723 Spot* spot = spots[i]; in removeFirstFadingSpotLocked()
725 spots.erase(spots.begin() + i); in removeFirstFadingSpotLocked()
751 const std::vector<Spot*>& spots = it.second; in fadeOutAndReleaseAllSpotsLocked() local
752 size_t numSpots = spots.size(); in fadeOutAndReleaseAllSpotsLocked()
754 Spot* spot = spots[i]; in fadeOutAndReleaseAllSpotsLocked()