Home
last modified time | relevance | path

Searched refs:getCurrentTime (Results 1 – 25 of 47) sorted by relevance

12

/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/
DContinuousOutputModel.java150 final double current = lastInterpolator.getCurrentTime(); in append()
166 finalTime = (steps.get(index)).getCurrentTime(); in append()
211 finalTime = interpolator.getCurrentTime(); in handleStep()
260 double tMin = 0.5 * (sMin.getPreviousTime() + sMin.getCurrentTime()); in setInterpolatedTime()
264 double tMax = 0.5 * (sMax.getPreviousTime() + sMax.getCurrentTime()); in setInterpolatedTime()
287 tMax = 0.5 * (si.getPreviousTime() + si.getCurrentTime()); in setInterpolatedTime()
290 tMin = 0.5 * (si.getPreviousTime() + si.getCurrentTime()); in setInterpolatedTime()
300 final double tMed = 0.5 * (sMed.getPreviousTime() + sMed.getCurrentTime()); in setInterpolatedTime()
364 } else if (time > interval.getCurrentTime()) { in locatePoint()
372 } else if (time < interval.getCurrentTime()) { in locatePoint()
DMultistepIntegrator.java328 final double curr = interpolator.getCurrentTime(); in handleStep()
/external/robolectric-shadows/utils/src/test/java/org/robolectric/util/
DSchedulerTest.java32 startTime = scheduler.getCurrentTime(); in setUp()
83 final long time = scheduler.getCurrentTime(); in setIdleStateToUnPause_shouldRunPendingTasks()
86 assertWithMessage("time").that(scheduler.getCurrentTime()).isEqualTo(time); in setIdleStateToUnPause_shouldRunPendingTasks()
95 final long time = scheduler.getCurrentTime(); in setIdleStateToConstantIdle_shouldRunAllTasks()
98 assertWithMessage("time").that(scheduler.getCurrentTime()).isEqualTo(time + 1000); in setIdleStateToConstantIdle_shouldRunAllTasks()
107 final long time = scheduler.getCurrentTime(); in unPause_shouldRunPendingTasks()
110 assertWithMessage("time").that(scheduler.getCurrentTime()).isEqualTo(time); in unPause_shouldRunPendingTasks()
120 final long time = scheduler.getCurrentTime(); in idleConstantlyTrue_shouldRunAllTasks()
123 assertWithMessage("time").that(scheduler.getCurrentTime()).isEqualTo(time + 1000); in idleConstantlyTrue_shouldRunAllTasks()
129 assertThat(scheduler.getCurrentTime()).isEqualTo(1000); in advanceTo_shouldAdvanceTimeEvenIfThereIsNoWork()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/sampling/
DStepNormalizer.java126 forward = interpolator.getCurrentTime() >= lastTime; in handleStep()
134 boolean nextInStep = forward ^ (nextTime > interpolator.getCurrentTime()); in handleStep()
149 nextInStep = forward ^ (nextTime > interpolator.getCurrentTime()); in handleStep()
DStepInterpolator.java61 double getCurrentTime(); in getCurrentTime() method
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowScroller.java60 startTime = ShadowApplication.getInstance().getForegroundThreadScheduler().getCurrentTime(); in startScroll()
92 …return ShadowApplication.getInstance().getForegroundThreadScheduler().getCurrentTime() - startTime; in deltaTime()
DShadowOverScroller.java63 startTime = getScheduler().getCurrentTime(); in startScroll()
120 return getScheduler().getCurrentTime() - startTime; in deltaTime()
DShadowSystemClock.java29 return ShadowApplication.getInstance().getForegroundThreadScheduler().getCurrentTime(); in now()
DShadowMessageQueue.java130 scheduler.postDelayed(callback, when - scheduler.getCurrentTime()); in enqueueMessage()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLooperTest.java333 assertThat(shadowOf(backgroundLooper).getScheduler().getCurrentTime()).isEqualTo(100L); in resetThreadLoopers_resets_background_thread_schedulers()
338 assertThat(shadowOf(backgroundLooper).getScheduler().getCurrentTime()).isEqualTo(5100L); in resetThreadLoopers_resets_background_thread_schedulers()
417 final long startTime = s.getCurrentTime(); in withAdvancedScheduling_shouldDispatchMessagesOnBothLoopers_whenAdvancingForegroundThread()
420 assertWithMessage("firstEvent:time").that(s.getCurrentTime()).isEqualTo(100 + startTime); in withAdvancedScheduling_shouldDispatchMessagesOnBothLoopers_whenAdvancingForegroundThread()
423 assertWithMessage("secondEvent:time").that(s.getCurrentTime()).isEqualTo(200 + startTime); in withAdvancedScheduling_shouldDispatchMessagesOnBothLoopers_whenAdvancingForegroundThread()
DShadowHandlerTest.java371 runAt.add(shadowOf(Looper.myLooper()).getScheduler().getCurrentTime()); in scheduler_wontDispatchRemovedMessage_evenIfMessageReused()
375 final long startTime = Robolectric.getForegroundThreadScheduler().getCurrentTime(); in scheduler_wontDispatchRemovedMessage_evenIfMessageReused()
456 …age("currentTime").that(shadowOf(handler.getLooper()).getScheduler().getCurrentTime()).isEqualTo(1… in shouldRemoveTaggedCallback()
497 final long startTime = Robolectric.getForegroundThreadScheduler().getCurrentTime(); in shouldSetWhenOnMessage()
DShadowMediaPlayerTest.java146 final long startTime = scheduler.getCurrentTime(); in testPrepare()
152 assertThat(scheduler.getCurrentTime()).isEqualTo(startTime + delay); in testPrepare()
207 final long startTime = scheduler.getCurrentTime(); in testPrepareAsyncAutoCallback()
213 assertWithMessage("currentTime").that(scheduler.getCurrentTime()).isEqualTo( in testPrepareAsyncAutoCallback()
228 final long startTime = scheduler.getCurrentTime(); in testPrepareAsyncManualCallback()
231 assertWithMessage("currentTime").that(scheduler.getCurrentTime()).isEqualTo( in testPrepareAsyncManualCallback()
971 final long startTime = scheduler.getCurrentTime(); in testSeekWhileSeekingWhilePlaying()
1000 assertThat(scheduler.getCurrentTime()).isEqualTo(startTime + 750); in testSeekWhileSeekingWhilePlaying()
/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/
DTween.java838 assert getCurrentTime() >= 0; in updateOverride()
839 assert getCurrentTime() <= duration; in updateOverride()
855 float time = isReverse(step) ? duration - getCurrentTime() : getCurrentTime(); in updateOverride()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/controller/
DActivityControllerTest.java68 final long startTime = s.getCurrentTime(); in pendingTasks_areRunEagerly_whenActivityIsStarted_andSchedulerUnPaused()
71 assertWithMessage("currentTime").that(s.getCurrentTime()).isEqualTo(startTime); in pendingTasks_areRunEagerly_whenActivityIsStarted_andSchedulerUnPaused()
78 final long startTime = s.getCurrentTime(); in delayedTasks_areNotRunEagerly_whenActivityIsStarted_andSchedulerUnPaused()
81 assertWithMessage("currentTime before flush").that(s.getCurrentTime()).isEqualTo(startTime); in delayedTasks_areNotRunEagerly_whenActivityIsStarted_andSchedulerUnPaused()
84 …assertWithMessage("currentTime after flush").that(s.getCurrentTime()).isEqualTo(startTime + 60000); in delayedTasks_areNotRunEagerly_whenActivityIsStarted_andSchedulerUnPaused()
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/jacobians/
DStepInterpolatorWithJacobians.java62 double getCurrentTime(); in getCurrentTime() method
/external/llvm/lib/Support/
DTimer.cpp120 TimeRecord TimeRecord::getCurrentTime(bool Start) { in getCurrentTime() function in TimeRecord
141 StartTime = TimeRecord::getCurrentTime(true); in startTimer()
147 Time += TimeRecord::getCurrentTime(false); in stopTimer()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DTimer.cpp120 TimeRecord TimeRecord::getCurrentTime(bool Start) { in getCurrentTime() function in TimeRecord
143 StartTime = TimeRecord::getCurrentTime(true); in startTimer()
149 Time += TimeRecord::getCurrentTime(false); in stopTimer()
/external/kotlinx.coroutines/kotlinx-coroutines-test/api/
Dkotlinx-coroutines-test.api5 public abstract fun getCurrentTime ()J
27 public fun getCurrentTime ()J
/external/llvm-project/llvm/lib/Support/
DTimer.cpp123 TimeRecord TimeRecord::getCurrentTime(bool Start) { in getCurrentTime() function in TimeRecord
147 StartTime = TimeRecord::getCurrentTime(true); in startTimer()
153 Time += TimeRecord::getCurrentTime(false); in stopTimer()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DTimer.cpp118 TimeRecord TimeRecord::getCurrentTime(bool Start) { in getCurrentTime() function in TimeRecord
142 StartTime = TimeRecord::getCurrentTime(true); in startTimer()
148 Time += TimeRecord::getCurrentTime(false); in stopTimer()
/external/cn-cbor/test/
Dctest.h309 static uint64_t getCurrentTime() { in getCurrentTime() function
380 uint64_t t1 = getCurrentTime(); in ctest_main()
448 uint64_t t2 = getCurrentTime(); in ctest_main()
/external/llvm/include/llvm/Support/
DTimer.h38 static TimeRecord getCurrentTime(bool Start = true);
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/
DScheduler.java102 public long getCurrentTime() { in getCurrentTime() method in Scheduler
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DMovieHeaderBox.java271 public int getCurrentTime() { in getCurrentTime() method in MovieHeaderBox
/external/llvm-project/llvm/include/llvm/Support/
DTimer.h38 static TimeRecord getCurrentTime(bool Start = true);

12