Home
last modified time | relevance | path

Searched refs:offsetTime (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/utils/
DSkInterpolator.cpp78 SkMSec offsetTime = time - startTime; in timeToT() local
80 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()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/emitters/
DRegularEmitter.java98 int offsetTime = (int)(lifeOffset + lifeOffsetDiff * lifeOffsetValue.getScale(percent)); in activateParticles() local
99 if (offsetTime > 0) { in activateParticles()
100 if (offsetTime >= currentLife) in activateParticles()
101 offsetTime = currentLife - 1; in activateParticles()
102 currentLife -= offsetTime; in activateParticles()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
DParticleEmitter.java519 int offsetTime = (int)(lifeOffset + lifeOffsetDiff * lifeOffsetValue.getScale(percent)); in activateParticle() local
520 if (offsetTime > 0) { in activateParticle()
521 if (offsetTime >= particle.currentLife) offsetTime = particle.currentLife - 1; in activateParticle()
522 updateParticle(particle, offsetTime / 1000f, offsetTime); in activateParticle()