Lines Matching refs:fParams
31 : fParams(std::move(params)) in SkParticleEffect()
38 this->setCapacity(fParams->fMaxCount); in SkParticleEffect()
49 if (!this->isAlive() || !fParams->fDrawable) { in update()
60 if (fParams->fMaxCount != fCapacity) { in update()
61 this->setCapacity(fParams->fMaxCount); in update()
64 float effectAge = static_cast<float>((now - fSpawnTime) / fParams->fEffectDuration); in update()
87 float desired = fParams->fRate * deltaTime + fSpawnRemainder; in update()
90 numToSpawn = SkTPin(numToSpawn, 0, fParams->fMaxCount - fCount); in update()
110 for (auto affector : fParams->fSpawnAffectors) { in update()
120 sk_ieee_float_divide(1.0f, fParams->fLifetime.eval(updateParams, fParticles[i])); in update()
134 for (auto affector : fParams->fUpdateAffectors) { in update()
151 if (!fLooping && (now - fSpawnTime) > fParams->fEffectDuration) { in update()
157 if (this->isAlive() && fParams->fDrawable) { in draw()
160 fParams->fDrawable->draw(canvas, fParticles.get(), fCount, &paint); in draw()