Lines Matching refs:spot
315 Spot* spot = getSpot(id, newSpots); in setSpots() local
316 if (!spot) { in setSpots()
317 spot = createAndAddSpotLocked(id, newSpots); in setSpots()
320 spot->updateSprite(&icon, x, y, displayId); in setSpots()
325 Spot* spot = newSpots[i]; in setSpots() local
326 if (spot->id != Spot::INVALID_ID in setSpots()
327 && !spotIdBits.hasBit(spot->id)) { in setSpots()
328 fadeOutAndReleaseSpotLocked(spot); in setSpots()
564 Spot* spot = spots[i]; in doFadingAnimationLocked() local
565 if (spot->id == Spot::INVALID_ID) { in doFadingAnimationLocked()
566 spot->alpha -= float(frameDelay) / SPOT_FADE_DURATION; in doFadingAnimationLocked()
567 if (spot->alpha <= 0) { in doFadingAnimationLocked()
569 releaseSpotLocked(spot); in doFadingAnimationLocked()
573 spot->sprite->setAlpha(spot->alpha); in doFadingAnimationLocked()
690 Spot* spot = spots[i]; in getSpot() local
691 if (spot->id == id) { in getSpot()
692 return spot; in getSpot()
703 Spot* spot = removeFirstFadingSpotLocked(spots); in createAndAddSpotLocked() local
704 if (!spot) { in createAndAddSpotLocked()
705 spot = spots[0]; in createAndAddSpotLocked()
708 releaseSpotLocked(spot); in createAndAddSpotLocked()
721 Spot* spot = new Spot(id, sprite); in createAndAddSpotLocked() local
722 spots.push_back(spot); in createAndAddSpotLocked()
723 return spot; in createAndAddSpotLocked()
728 Spot* spot = spots[i]; in removeFirstFadingSpotLocked() local
729 if (spot->id == Spot::INVALID_ID) { in removeFirstFadingSpotLocked()
731 return spot; in removeFirstFadingSpotLocked()
737 void PointerController::releaseSpotLocked(Spot* spot) { in releaseSpotLocked() argument
738 spot->sprite->clearIcon(); in releaseSpotLocked()
741 mLocked.recycledSprites.push_back(spot->sprite); in releaseSpotLocked()
744 delete spot; in releaseSpotLocked()
747 void PointerController::fadeOutAndReleaseSpotLocked(Spot* spot) { in fadeOutAndReleaseSpotLocked() argument
748 if (spot->id != Spot::INVALID_ID) { in fadeOutAndReleaseSpotLocked()
749 spot->id = Spot::INVALID_ID; in fadeOutAndReleaseSpotLocked()
759 Spot* spot = spots[i]; in fadeOutAndReleaseAllSpotsLocked() local
760 fadeOutAndReleaseSpotLocked(spot); in fadeOutAndReleaseAllSpotsLocked()