Searched refs:fPose (Results 1 – 4 of 4) sorted by relevance
/external/skia/modules/particles/src/ |
D | SkParticleEffect.cpp | 98 fParticles[fCount].fPose.fPosition = { 0.0f, 0.0f }; in update() 99 fParticles[fCount].fPose.fHeading = { 0.0f, -1.0f }; in update() 100 fParticles[fCount].fPose.fScale = 1.0f; in update() 142 fParticles[i].fPose.fPosition += fParticles[i].fVelocity.fLinear * deltaTime; in update() 145 SkVector oldHeading = fParticles[i].fPose.fHeading; in update() 146 fParticles[i].fPose.fHeading = { oldHeading.fX * c - oldHeading.fY * s, in update() 232 case kPositionX_Source: return ps.fPose.fPosition.fX; in getSourceValue() 233 case kPositionY_Source: return ps.fPose.fPosition.fY; in getSourceValue() 234 case kScale_Source: return ps.fPose.fScale; in getSourceValue() 249 case kHeadingX_Source: return ps.fPose.fHeading.dot(frameRight); in getSourceValue() [all …]
|
D | SkParticleAffector.cpp | 115 SkVector toPoint = fPoint - ps[i].fPose.fPosition; in REFLECTED() 150 ps[i].fPose.fHeading.set(heading.fX * c_local - heading.fY * s_local, in REFLECTED() 187 ps[i].fPose.fPosition = center + (v * radius); in REFLECTED() 192 ps[i].fPose.fHeading = v; in REFLECTED() 237 if (!fContours[idx]->getPosTan(len, &ps[i].fPose.fPosition, &localXAxis)) { in REFLECTED() 238 ps[i].fPose.fPosition = { 0, 0 }; in REFLECTED() 242 ps[i].fPose.fHeading.set(localXAxis.fY, -localXAxis.fX); in REFLECTED() 313 if (!fContours[idx]->getPosTan(len, &ps[i].fPose.fPosition, &localXAxis)) { in REFLECTED() 314 ps[i].fPose.fPosition = { 0, 0 }; in REFLECTED() 318 ps[i].fPose.fHeading.set(localXAxis.fY, -localXAxis.fX); in REFLECTED() [all …]
|
D | SkParticleDrawable.cpp | 36 fXforms[i] = particles[i].fPose.asRSXform(center); in DrawAtlasArrays()
|
/external/skia/modules/particles/include/ |
D | SkParticleData.h | 55 SkParticlePose fPose; member 64 return fPose.fHeading; in getFrameHeading()
|