• Home
  • Raw
  • Download

Lines Matching refs:step

19 	private int step;  field in BaseTween
48 step = -2; in reset()
293 return step; in getStep()
360 protected void updateOverride(int step, int lastStep, boolean isIterationStep, float delta) { in updateOverride() argument
365 step = -1; in forceToStart()
373 step = repeatCnt*2 + 1; in forceToEnd()
383 protected boolean isReverse(int step) { in isReverse() argument
384 return isYoyo && Math.abs(step%4) == 2; in isReverse()
387 protected boolean isValid(int step) { in isValid() argument
388 return (step >= 0 && step <= repeatCnt*2) || repeatCnt < 0; in isValid()
437 step = 0; in initialize()
446 if (!isIterationStep && repeatCnt >= 0 && step < 0 && currentTime+deltaTime >= 0) { in testRelaunch()
447 assert step == -1; in testRelaunch()
449 step = 0; in testRelaunch()
455 updateOverride(step, step-1, isIterationStep, delta); in testRelaunch()
457 …} else if (!isIterationStep && repeatCnt >= 0 && step > repeatCnt*2 && currentTime+deltaTime < 0) { in testRelaunch()
458 assert step == repeatCnt*2 + 1; in testRelaunch()
460 step = repeatCnt*2; in testRelaunch()
466 updateOverride(step, step+1, isIterationStep, delta); in testRelaunch()
471 while (isValid(step)) { in updateStep()
474 step -= 1; in updateStep()
480 if (isReverse(step)) forceStartValues(); else forceEndValues(); in updateStep()
482 updateOverride(step, step+1, isIterationStep, delta); in updateStep()
486 step += 1; in updateStep()
492 if (isReverse(step)) forceEndValues(); else forceStartValues(); in updateStep()
494 updateOverride(step, step-1, isIterationStep, delta); in updateStep()
498 step -= 1; in updateStep()
504 updateOverride(step, step+1, isIterationStep, delta); in updateStep()
507 if (step < 0 && repeatCnt >= 0) callCallback(TweenCallback.BACK_COMPLETE); in updateStep()
512 step += 1; in updateStep()
518 updateOverride(step, step-1, isIterationStep, delta); in updateStep()
521 if (step > repeatCnt*2 && repeatCnt >= 0) callCallback(TweenCallback.COMPLETE); in updateStep()
528 updateOverride(step, step, isIterationStep, delta); in updateStep()
541 isFinished = repeatCnt >= 0 && (step > repeatCnt*2 || step < 0); in testCompletion()