Lines Matching refs:currentTime
28 private float currentTime; field in BaseTween
52 delay = duration = repeatDelay = currentTime = deltaTime = 0; in reset()
86 currentTime = 0; in start()
300 return currentTime; in getCurrentTime()
364 currentTime = -delay; in forceToStart()
372 currentTime = time - getFullDuration(); in forceToEnd()
428 currentTime += deltaTime; in update()
433 if (currentTime+deltaTime >= delay) { in initialize()
438 deltaTime -= delay-currentTime; in initialize()
439 currentTime = 0; in initialize()
446 if (!isIterationStep && repeatCnt >= 0 && step < 0 && currentTime+deltaTime >= 0) { in testRelaunch()
450 float delta = 0-currentTime; in testRelaunch()
452 currentTime = 0; in testRelaunch()
457 …} else if (!isIterationStep && repeatCnt >= 0 && step > repeatCnt*2 && currentTime+deltaTime < 0) { in testRelaunch()
461 float delta = 0-currentTime; in testRelaunch()
463 currentTime = duration; in testRelaunch()
472 if (!isIterationStep && currentTime+deltaTime <= 0) { in updateStep()
476 float delta = 0-currentTime; in updateStep()
478 currentTime = duration; in updateStep()
484 } else if (!isIterationStep && currentTime+deltaTime >= repeatDelay) { in updateStep()
488 float delta = repeatDelay-currentTime; in updateStep()
490 currentTime = 0; in updateStep()
496 } else if (isIterationStep && currentTime+deltaTime < 0) { in updateStep()
500 float delta = 0-currentTime; in updateStep()
502 currentTime = 0; in updateStep()
508 else currentTime = repeatDelay; in updateStep()
510 } else if (isIterationStep && currentTime+deltaTime > duration) { in updateStep()
514 float delta = duration-currentTime; in updateStep()
516 currentTime = duration; in updateStep()
522 currentTime = 0; in updateStep()
527 currentTime += delta; in updateStep()
534 currentTime += delta; in updateStep()