Lines Matching refs:fParticles
343 args[i + 2] = fParticles.fData[i].get() + start; in runParticleScript()
388 fParticles.fData[SkParticles::kAge][i] += in advanceTime()
389 fParticles.fData[SkParticles::kLifetime][i] * deltaTime; in advanceTime()
390 if (fParticles.fData[SkParticles::kAge][i] > 1.0f) { in advanceTime()
393 fParticles.fData[j][i] = fParticles.fData[j][fCount - 1]; in advanceTime()
426 fParticles.fData[SkParticles::kAge ][fCount] = 0.0f; in advanceTime()
427 fParticles.fData[SkParticles::kLifetime ][fCount] = 0.0f; in advanceTime()
428 fParticles.fData[SkParticles::kPositionX ][fCount] = fState.fPosition.fX; in advanceTime()
429 fParticles.fData[SkParticles::kPositionY ][fCount] = fState.fPosition.fY; in advanceTime()
430 fParticles.fData[SkParticles::kHeadingX ][fCount] = fState.fHeading.fX; in advanceTime()
431 fParticles.fData[SkParticles::kHeadingY ][fCount] = fState.fHeading.fY; in advanceTime()
432 fParticles.fData[SkParticles::kScale ][fCount] = fState.fScale; in advanceTime()
433 fParticles.fData[SkParticles::kVelocityX ][fCount] = fState.fVelocity.fX; in advanceTime()
434 fParticles.fData[SkParticles::kVelocityY ][fCount] = fState.fVelocity.fY; in advanceTime()
435 fParticles.fData[SkParticles::kVelocityAngular][fCount] = fState.fSpin; in advanceTime()
436 fParticles.fData[SkParticles::kColorR ][fCount] = fState.fColor.fR; in advanceTime()
437 fParticles.fData[SkParticles::kColorG ][fCount] = fState.fColor.fG; in advanceTime()
438 fParticles.fData[SkParticles::kColorB ][fCount] = fState.fColor.fB; in advanceTime()
439 fParticles.fData[SkParticles::kColorA ][fCount] = fState.fColor.fA; in advanceTime()
440 fParticles.fData[SkParticles::kSpriteFrame ][fCount] = fState.fFrame; in advanceTime()
441 fParticles.fData[SkParticles::kRandom ][fCount] = fState.fRandom; in advanceTime()
451 fParticles.fData[SkParticles::kLifetime][i] = in advanceTime()
452 sk_ieee_float_divide(1.0f, fParticles.fData[SkParticles::kLifetime][i]); in advanceTime()
453 fStableRandoms[i] = fParticles.fData[SkParticles::kRandom][i]; in advanceTime()
459 fParticles.fData[SkParticles::kRandom][i] = fStableRandoms[i]; in advanceTime()
467 fParticles.fData[SkParticles::kPositionX][i] += in advanceTime()
468 fParticles.fData[SkParticles::kVelocityX][i] * deltaTime; in advanceTime()
469 fParticles.fData[SkParticles::kPositionY][i] += in advanceTime()
470 fParticles.fData[SkParticles::kVelocityY][i] * deltaTime; in advanceTime()
472 float spin = fParticles.fData[SkParticles::kVelocityAngular][i]; in advanceTime()
475 float oldHeadingX = fParticles.fData[SkParticles::kHeadingX][i], in advanceTime()
476 oldHeadingY = fParticles.fData[SkParticles::kHeadingY][i]; in advanceTime()
477 fParticles.fData[SkParticles::kHeadingX][i] = oldHeadingX * c - oldHeadingY * s; in advanceTime()
478 fParticles.fData[SkParticles::kHeadingY][i] = oldHeadingX * s + oldHeadingY * c; in advanceTime()
491 fParams->fDrawable->draw(canvas, fParticles, fCount, paint); in draw()
497 fParticles.fData[i].realloc(capacity); in setCapacity()