Home
last modified time | relevance | path

Searched refs:getCurrentTime (Results 1 – 25 of 43) 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.java31 startTime = scheduler.getCurrentTime(); in setUp()
82 final long time = scheduler.getCurrentTime(); in setIdleStateToUnPause_shouldRunPendingTasks()
85 assertThat(scheduler.getCurrentTime()).named("time").isEqualTo(time); in setIdleStateToUnPause_shouldRunPendingTasks()
94 final long time = scheduler.getCurrentTime(); in setIdleStateToConstantIdle_shouldRunAllTasks()
97 assertThat(scheduler.getCurrentTime()).named("time").isEqualTo(time + 1000); in setIdleStateToConstantIdle_shouldRunAllTasks()
106 final long time = scheduler.getCurrentTime(); in unPause_shouldRunPendingTasks()
109 assertThat(scheduler.getCurrentTime()).named("time").isEqualTo(time); in unPause_shouldRunPendingTasks()
119 final long time = scheduler.getCurrentTime(); in idleConstantlyTrue_shouldRunAllTasks()
122 assertThat(scheduler.getCurrentTime()).named("time").isEqualTo(time + 1000); in idleConstantlyTrue_shouldRunAllTasks()
128 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/autotest/client/site_tests/video_YouTubePage/files/
Dvideo_YouTubePageCommon.js18 videoEvents.timeupdate.push(getCurrentTime());
90 function getCurrentTime() { function
140 window.__getCurrentTime = getCurrentTime;
/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.java332 assertThat(shadowOf(backgroundLooper).getScheduler().getCurrentTime()).isEqualTo(100L); in resetThreadLoopers_resets_background_thread_schedulers()
337 assertThat(shadowOf(backgroundLooper).getScheduler().getCurrentTime()).isEqualTo(5100L); in resetThreadLoopers_resets_background_thread_schedulers()
416 final long startTime = s.getCurrentTime(); in withAdvancedScheduling_shouldDispatchMessagesOnBothLoopers_whenAdvancingForegroundThread()
419 assertThat(s.getCurrentTime()).named("firstEvent:time").isEqualTo(100 + startTime); in withAdvancedScheduling_shouldDispatchMessagesOnBothLoopers_whenAdvancingForegroundThread()
422 assertThat(s.getCurrentTime()).named("secondEvent:time").isEqualTo(200 + startTime); in withAdvancedScheduling_shouldDispatchMessagesOnBothLoopers_whenAdvancingForegroundThread()
DShadowHandlerTest.java370 runAt.add(shadowOf(Looper.myLooper()).getScheduler().getCurrentTime()); in scheduler_wontDispatchRemovedMessage_evenIfMessageReused()
374 final long startTime = Robolectric.getForegroundThreadScheduler().getCurrentTime(); in scheduler_wontDispatchRemovedMessage_evenIfMessageReused()
455 …assertThat(shadowOf(handler.getLooper()).getScheduler().getCurrentTime()).named("currentTime").isE… in shouldRemoveTaggedCallback()
496 final long startTime = Robolectric.getForegroundThreadScheduler().getCurrentTime(); in shouldSetWhenOnMessage()
DShadowMediaPlayerTest.java145 final long startTime = scheduler.getCurrentTime(); in testPrepare()
151 assertThat(scheduler.getCurrentTime()).isEqualTo(startTime + delay); in testPrepare()
206 final long startTime = scheduler.getCurrentTime(); in testPrepareAsyncAutoCallback()
212 assertThat(scheduler.getCurrentTime()).named("currentTime").isEqualTo( in testPrepareAsyncAutoCallback()
227 final long startTime = scheduler.getCurrentTime(); in testPrepareAsyncManualCallback()
230 assertThat(scheduler.getCurrentTime()).named("currentTime").isEqualTo( in testPrepareAsyncManualCallback()
970 final long startTime = scheduler.getCurrentTime(); in testSeekWhileSeekingWhilePlaying()
999 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.java67 final long startTime = s.getCurrentTime(); in pendingTasks_areRunEagerly_whenActivityIsStarted_andSchedulerUnPaused()
70 assertThat(s.getCurrentTime()).named("currentTime").isEqualTo(startTime); in pendingTasks_areRunEagerly_whenActivityIsStarted_andSchedulerUnPaused()
77 final long startTime = s.getCurrentTime(); in delayedTasks_areNotRunEagerly_whenActivityIsStarted_andSchedulerUnPaused()
80 assertThat(s.getCurrentTime()).named("currentTime before flush").isEqualTo(startTime); in delayedTasks_areNotRunEagerly_whenActivityIsStarted_andSchedulerUnPaused()
83 assertThat(s.getCurrentTime()).named("currentTime after flush").isEqualTo(startTime + 60000); in delayedTasks_areNotRunEagerly_whenActivityIsStarted_andSchedulerUnPaused()
/external/swiftshader/third_party/LLVM/lib/Support/
DTimer.cpp129 TimeRecord TimeRecord::getCurrentTime(bool Start) { in getCurrentTime() function in TimeRecord
152 Time -= TimeRecord::getCurrentTime(true); in startTimer()
156 Time += TimeRecord::getCurrentTime(false); in stopTimer()
/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/apache-commons-math/src/main/java/org/apache/commons/math/ode/jacobians/
DStepInterpolatorWithJacobians.java62 double getCurrentTime(); in getCurrentTime() method
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DTimer.cpp114 TimeRecord TimeRecord::getCurrentTime(bool Start) { in getCurrentTime() function in TimeRecord
137 StartTime = TimeRecord::getCurrentTime(true); in startTimer()
143 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/swiftshader/third_party/LLVM/include/llvm/Support/
DTimer.h43 static TimeRecord getCurrentTime(bool Start = true);
/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

12