Searched refs:timeMachine (Results 1 – 5 of 5) sorted by relevance
71 timeMachine.advanceBy(1000L) in callback invoked once after time passed()79 timeMachine.advanceBy(1100) in callback invoked twice after two timeouts()81 timeMachine.advanceBy(1100) in callback invoked twice after two timeouts()89 timeMachine.advanceBy(2200) in callback invoked once after twice too big timeout()97 timeMachine.advanceBy(1001) in callback not invoked after looping stopped()101 timeMachine.advanceBy(1001) in callback not invoked after looping stopped()111 timeMachine.advanceBy(110) in callback not invoked earlier if interval shortened()115 timeMachine.advanceBy(900) in callback not invoked earlier if interval shortened()119 timeMachine.advanceBy(100) in callback not invoked earlier if interval shortened()129 timeMachine.advanceBy(1100) in callback invoked earlier even if interval lengthened()[all …]
12 class ProgressLooper(private val timeMachine: TimeMachine) { in scheduleAt() constant in expo.modules.av.progress.ProgressLooper51 nextExpectedTick = timeMachine.time in scheduleAt()56 timeMachine.scheduleAt(nextExpectedTick - timeMachine.time) { in scheduleAt()65 if (nextExpectedTick > timeMachine.time) { in scheduleAt()68 (((timeMachine.time - nextExpectedTick) / interval) + 1) * interval in scheduleAt()
12 class ProgressLooper(private val timeMachine: TimeMachine) { in scheduleAt() constant in abi49_0_0.expo.modules.av.progress.ProgressLooper51 nextExpectedTick = timeMachine.time in scheduleAt()56 timeMachine.scheduleAt(nextExpectedTick - timeMachine.time) { in scheduleAt()65 if (nextExpectedTick > timeMachine.time) { in scheduleAt()68 (((timeMachine.time - nextExpectedTick) / interval) + 1) * interval in scheduleAt()
12 class ProgressLooper(private val timeMachine: TimeMachine) { in scheduleAt() constant in abi48_0_0.expo.modules.av.progress.ProgressLooper51 nextExpectedTick = timeMachine.time in scheduleAt()56 timeMachine.scheduleAt(nextExpectedTick - timeMachine.time) { in scheduleAt()65 if (nextExpectedTick > timeMachine.time) { in scheduleAt()68 (((timeMachine.time - nextExpectedTick) / interval) + 1) * interval in scheduleAt()
12 class ProgressLooper(private val timeMachine: TimeMachine) { in scheduleAt() constant in abi47_0_0.expo.modules.av.progress.ProgressLooper51 nextExpectedTick = timeMachine.time in scheduleAt()56 timeMachine.scheduleAt(nextExpectedTick - timeMachine.time) { in scheduleAt()65 if (nextExpectedTick > timeMachine.time) { in scheduleAt()68 (((timeMachine.time - nextExpectedTick) / interval) + 1) * interval in scheduleAt()