Searched refs:offsetTime (Results 1 – 3 of 3) sorted by relevance
78 SkMSec offsetTime = time - startTime; in timeToT() local80 if (offsetTime >= endTime) { in timeToT()82 offsetTime = fraction == 0 && fRepeat > 0 ? totalTime : in timeToT()87 offsetTime = offsetTime % (totalTime << mirror); in timeToT()88 if (offsetTime > totalTime) { // can only be true if fMirror is true in timeToT()89 offsetTime = (totalTime << 1) - offsetTime; in timeToT()92 time = offsetTime + startTime; in timeToT()
98 int offsetTime = (int)(lifeOffset + lifeOffsetDiff * lifeOffsetValue.getScale(percent)); in activateParticles() local99 if (offsetTime > 0) { in activateParticles()100 if (offsetTime >= currentLife) in activateParticles()101 offsetTime = currentLife - 1; in activateParticles()102 currentLife -= offsetTime; in activateParticles()
519 int offsetTime = (int)(lifeOffset + lifeOffsetDiff * lifeOffsetValue.getScale(percent)); in activateParticle() local520 if (offsetTime > 0) { in activateParticle()521 if (offsetTime >= particle.currentLife) offsetTime = particle.currentLife - 1; in activateParticle()522 updateParticle(particle, offsetTime / 1000f, offsetTime); in activateParticle()