Home
last modified time | relevance | path

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

/external/replicaisland/src/com/replica/replicaisland/
DTimeSystem.java36 private static final float EASE_DURATION = 0.5f; field in TimeSystem
73 if (scaleTime <= EASE_DURATION) { in update()
75 scale = Lerp.ease(1.0f, mTargetScale, EASE_DURATION, scaleTime); in update()
76 } else if (mScaleDuration - scaleTime < EASE_DURATION) { in update()
78 final float easeOutTime = EASE_DURATION - (mScaleDuration - scaleTime); in update()
79 scale = Lerp.ease(mTargetScale, 1.0f, EASE_DURATION, easeOutTime); in update()