/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/ |
D | BaseTween.java | 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() [all …]
|
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/ |
D | Scheduler.java | 53 private volatile long currentTime = START_TIME; field in Scheduler 103 return currentTime; in getCurrentTime() 160 runnables.add(new ScheduledRunnable(runnable, currentTime + delayMillis)); in postDelayed() 162 runOrQueueRunnable(runnable, currentTime + delayMillis); in postDelayed() 181 runOrQueueRunnable(runnable, currentTime); in postAtFrontOfQueue() 206 long currentMaxTime = currentTime; in advanceToLastPostedRunnable() 242 long endingTime = currentTime + unit.toMillis(amount); in advanceBy() 253 if (endTime < currentTime || runnables.isEmpty()) { in advanceTo() 254 currentTime = endTime; in advanceTo() 263 currentTime = endTime; in advanceTo() [all …]
|
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/ |
D | web-animations-next-animation.js | 83 oldCurrentTime = this.currentTime; 107 this.currentTime = oldCurrentTime; 109 this.currentTime = this._holdTime; 157 childAnimation.currentTime = this.currentTime - offset / this.playbackRate; 242 get currentTime() { getter in scope.Animation 244 var currentTime = this._animation.currentTime; 246 return currentTime; 248 set currentTime(v) { setter in scope.Animation 250 this._animation.currentTime = isFinite(v) ? v : Math.sign(v) * Number.MAX_VALUE; 253 child.currentTime = v - offset; [all …]
|
D | animation.js | 19 var AnimationEvent = function(target, currentTime, timelineTime) { argument 21 this.currentTime = currentTime; 58 if (this.playbackRate < 0 && this.currentTime === 0) { 61 this._inEffect = this._effect._update(this.currentTime); 76 get currentTime() { getter in scope.Animation 81 set currentTime(newTime) { setter in scope.Animation 87 this._startTime = this._timeline.currentTime - newTime / this._playbackRate; 109 this._tickCurrentTime((this._timeline.currentTime - this._startTime) * this.playbackRate); 119 var oldCurrentTime = this.currentTime; 129 this.currentTime = oldCurrentTime; [all …]
|
D | tick.js | 40 if (t < timeline.currentTime) 41 t = timeline.currentTime; 56 this.currentTime = window.performance && performance.now ? performance.now() : 0; 75 var now = function() { return timeline.currentTime; }; 107 var inactiveAnimations = tick(scope.timeline.currentTime, false, animations.slice())[1]; 131 timeline.currentTime = t; 173 testing.tick = function(t) { timeline.currentTime = t; processRafCallbacks(t); };
|
D | web-animations-bonus-cancel-events.js | 22 var now = function() { return webAnimations1.timeline.currentTime; }; 29 var AnimationCancelEvent = function(target, currentTime, timelineTime) { argument 31 this.currentTime = currentTime;
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | InputButton.java | 26 public void press(float currentTime, float magnitude) { in press() argument 29 mDownTime = currentTime; in press() 32 mLastPressedTime = currentTime; in press() 43 public final boolean getTriggered(float currentTime) { in getTriggered() argument 44 …return mDown && currentTime - mDownTime <= BaseObject.sSystemRegistry.timeSystem.getFrameDelta() *… in getTriggered() 47 public final float getPressedDuration(float currentTime) { in getPressedDuration() argument 48 return currentTime - mDownTime; in getPressedDuration()
|
D | FadeDrawableComponent.java | 65 final float currentTime = time.getGameTime(); in update() local 71 mActivateTime = currentTime; in update() 73 } else if (mPhaseDuration > 0.0f && currentTime - mActivateTime > mPhaseDuration) { in update() 74 mActivateTime = currentTime; in update() 83 mStartTime = currentTime; in update() 85 float elapsed = currentTime - mStartTime; in update() 89 elapsed = endTime - currentTime; in update()
|
D | PopOutComponent.java | 72 final float currentTime = time.getGameTime(); in update() local 79 mLastAttackCompletedTime = currentTime; in update() 87 && currentTime > mLastAttackCompletedTime + mAttackDelay) { in update() 88 mAttackStartTime = currentTime; in update() 94 if (currentTime > mAttackStartTime + mAttackLength) { in update() 96 mLastAttackCompletedTime = currentTime; in update()
|
D | AttackAtDistanceComponent.java | 56 final float currentTime = time.getGameTime(); in update() local 63 if (currentTime > mAttackStartTime + mAttackLength) { in update() 67 && currentTime > mAttackStartTime + mAttackLength + mAttackDelay in update() 69 mAttackStartTime = currentTime; in update()
|
D | InputXY.java | 35 public final void press(float currentTime, float x, float y) { in press() argument 36 mXAxis.press(currentTime, x); in press() 37 mYAxis.press(currentTime, y); in press()
|
D | SpriteAnimation.java | 51 float currentTime = 0.0f; in getFrame() local 70 currentTime += frame.holdTime; in getFrame() 71 if (currentTime > cycleTime) { in getFrame()
|
/external/kotlinx.coroutines/kotlinx-coroutines-test/src/ |
D | TestCoroutineDispatcher.kt | 86 TimedRunnable(block, _counter.getAndIncrement(), safePlus(currentTime, delayTime)) in <lambda>() 91 private fun safePlus(currentTime: Long, delayTime: Long): Long { in <lambda>() 93 val result = currentTime + delayTime in <lambda>() 94 if (result < currentTime) return Long.MAX_VALUE // clam on overflow in <lambda>() 108 override val currentTime: Long get() = _time.value in <lambda>() constant in kotlinx.coroutines.test.TestCoroutineDispatcher 112 val oldTime = currentTime in <lambda>() 114 return currentTime - oldTime in <lambda>() 129 val oldTime = currentTime in <lambda>() 135 return currentTime - oldTime in <lambda>() 139 override fun runCurrent(): Unit = doActionsUntil(currentTime) in <lambda>() [all …]
|
/external/tpm2-tss/src/tss2-esys/api/ |
D | Esys_ReadClock.c | 67 TPMS_TIME_INFO **currentTime) in Esys_ReadClock() argument 85 r = Esys_ReadClock_Finish(esysContext, currentTime); in Esys_ReadClock() 220 TPMS_TIME_INFO **currentTime) in Esys_ReadClock_Finish() argument 224 esysContext, currentTime); in Esys_ReadClock_Finish() 240 if (currentTime != NULL) { in Esys_ReadClock_Finish() 241 *currentTime = calloc(sizeof(TPMS_TIME_INFO), 1); in Esys_ReadClock_Finish() 242 if (*currentTime == NULL) { in Esys_ReadClock_Finish() 300 (currentTime != NULL) ? *currentTime in Esys_ReadClock_Finish() 311 if (currentTime != NULL) in Esys_ReadClock_Finish() 312 SAFE_FREE(*currentTime); in Esys_ReadClock_Finish()
|
/external/kotlinx.coroutines/kotlinx-coroutines-test/test/ |
D | TestCoroutineDispatcherOrderTest.kt | 19 assertEquals(1_000, dispatcher.currentTime) in testAdvanceTimeBy_progressesOnEachDelay() 22 assertEquals(1_500, dispatcher.currentTime) in testAdvanceTimeBy_progressesOnEachDelay() 25 assertEquals(2_001, dispatcher.currentTime) in testAdvanceTimeBy_progressesOnEachDelay() 29 assertEquals(0, dispatcher.currentTime) in testAdvanceTimeBy_progressesOnEachDelay() 32 assertEquals(2_000, dispatcher.currentTime) in testAdvanceTimeBy_progressesOnEachDelay() 35 assertEquals(2_002, dispatcher.currentTime) in testAdvanceTimeBy_progressesOnEachDelay()
|
/external/opencensus-java/testing/src/main/java/io/opencensus/testing/common/ |
D | TestClock.java | 36 private Timestamp currentTime = validateNanos(Timestamp.create(1493419949, 223123456)); field in TestClock 71 currentTime = validateNanos(time); in setTime() 81 currentTime = validateNanos(currentTime.addDuration(duration)); in advanceTime() 86 return currentTime; in now() 91 return getNanos(currentTime); in nowNanos()
|
/external/skia/modules/skottie/tests/ |
D | AudioLayer.cpp | 60 float currentTime() const { return fCurrentTime; } in DEF_TEST() function in DEF_TEST::MockTracker 112 REPORTER_ASSERT(r, tracks[0]->currentTime() == 0); in DEF_TEST() 117 REPORTER_ASSERT(r, tracks[0]->currentTime() == 3); in DEF_TEST() 118 REPORTER_ASSERT(r, tracks[1]->currentTime() == 0); in DEF_TEST() 123 REPORTER_ASSERT(r, tracks[0]->currentTime() == 5); in DEF_TEST() 124 REPORTER_ASSERT(r, tracks[1]->currentTime() == 2); in DEF_TEST() 129 REPORTER_ASSERT(r, tracks[1]->currentTime() == 3); in DEF_TEST()
|
/external/angle/src/common/ |
D | system_utils_linux.cpp | 50 struct timespec currentTime; in GetCurrentTime() local 51 clock_gettime(CLOCK_MONOTONIC, ¤tTime); in GetCurrentTime() 52 return currentTime.tv_sec + currentTime.tv_nsec * 1e-9; in GetCurrentTime()
|
/external/tpm2-tss/src/tss2-sys/api/ |
D | Tss2_Sys_ReadClock.c | 37 TPMS_TIME_INFO *currentTime) in Tss2_Sys_ReadClock_Complete() argument 52 currentTime); in Tss2_Sys_ReadClock_Complete() 57 TPMS_TIME_INFO *currentTime) in Tss2_Sys_ReadClock() argument 70 return Tss2_Sys_ReadClock_Complete(sysContext, currentTime); in Tss2_Sys_ReadClock()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
D | MovieHeaderBox.java | 50 private int currentTime; field in MovieHeaderBox 131 currentTime = content.getInt(); in _parseDetails() 193 byteBuffer.putInt(currentTime); in getContent() 272 return currentTime; in getCurrentTime() 275 public void setCurrentTime(int currentTime) { in setCurrentTime() argument 276 this.currentTime = currentTime; in setCurrentTime()
|
/external/perfetto/ui/src/frontend/ |
D | video_panel.ts | 31 currentTime: globals.frontendLocalState.vidTimestamp - offset, 35 const timestamp = elem.currentTime + offset; 39 elem.currentTime = timestamp - offset; 46 elem.currentTime = globals.frontendLocalState.vidTimestamp - offset;
|
/external/webrtc/modules/audio_device/dummy/ |
D | file_audio_device.cc | 458 int64_t currentTime = rtc::TimeMillis(); in PlayThreadProcess() local 462 currentTime - _lastCallPlayoutMillis >= 10) { in PlayThreadProcess() 472 _lastCallPlayoutMillis = currentTime; in PlayThreadProcess() 477 int64_t deltaTimeMillis = rtc::TimeMillis() - currentTime; in PlayThreadProcess() 490 int64_t currentTime = rtc::TimeMillis(); in RecThreadProcess() local 493 if (_lastCallRecordMillis == 0 || currentTime - _lastCallRecordMillis >= 10) { in RecThreadProcess() 501 _lastCallRecordMillis = currentTime; in RecThreadProcess() 510 int64_t deltaTimeMillis = rtc::TimeMillis() - currentTime; in RecThreadProcess()
|
/external/tpm2-tss/test/integration/ |
D | esys-clockset.int.c | 43 TPMS_TIME_INFO *currentTime; in test_esys_clockset() local 49 ¤tTime); in test_esys_clockset() 52 UINT64 newTime = currentTime->clockInfo.clock + 010000; in test_esys_clockset()
|
/external/OpenCL-CTS/test_conformance/half/ |
D | Test_roundTrip.cpp | 325 uint64_t currentTime = ReadTime() - startTime; in test_roundTrip() local 326 if( currentTime < bestTime ) in test_roundTrip() 327 bestTime = currentTime; in test_roundTrip() 328 time[ vectorSize ] += currentTime; in test_roundTrip() 352 uint64_t currentTime = ReadTime() - startTime; in test_roundTrip() local 353 if( currentTime < bestTime ) in test_roundTrip() 354 bestTime = currentTime; in test_roundTrip() 355 doubleTime[ vectorSize ] += currentTime; in test_roundTrip()
|
/external/webrtc/examples/objc/AppRTCMobile/ |
D | ARDBitrateTracker.m | 37 CFTimeInterval currentTime = CACurrentMediaTime(); 39 _bitrate = (byteCount - _prevByteCount) * 8 / (currentTime - _prevTime); 42 _prevTime = currentTime;
|