Home
last modified time | relevance | path

Searched refs:currentTime (Results 1 – 25 of 54) sorted by relevance

123

/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/
DBaseTween.java28 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/
DScheduler.java53 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/replicaisland/src/com/replica/replicaisland/
DInputButton.java26 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()
DFadeDrawableComponent.java65 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()
DPopOutComponent.java72 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()
DAttackAtDistanceComponent.java56 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()
DInputXY.java35 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()
DSpriteAnimation.java51 float currentTime = 0.0f; in getFrame() local
70 currentTime += frame.holdTime; in getFrame()
71 if (currentTime > cycleTime) { in getFrame()
DInputKeyboard.java34 public void press(float currentTime, int keycode) { in press() argument
37 mKeys[keycode].press(currentTime, 1.0f); in press()
DInputTouchScreen.java22 public final void press(int index, float currentTime, float x, float y) { in press() argument
25 mTouchPoints[index].press(currentTime, x, y); in press()
/external/opencensus-java/testing/src/main/java/io/opencensus/testing/common/
DTestClock.java36 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/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DMovieHeaderBox.java50 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/webrtc/webrtc/modules/audio_device/dummy/
Dfile_audio_device.cc482 uint64_t currentTime = _clock->CurrentNtpInMilliseconds(); in PlayThreadProcess() local
486 currentTime - _lastCallPlayoutMillis >= 10) { in PlayThreadProcess()
497 _lastCallPlayoutMillis = currentTime; in PlayThreadProcess()
502 uint64_t deltaTimeMillis = _clock->CurrentNtpInMilliseconds() - currentTime; in PlayThreadProcess()
516 uint64_t currentTime = _clock->CurrentNtpInMilliseconds(); in RecThreadProcess() local
520 currentTime - _lastCallRecordMillis >= 10) { in RecThreadProcess()
528 _lastCallRecordMillis = currentTime; in RecThreadProcess()
537 uint64_t deltaTimeMillis = _clock->CurrentNtpInMilliseconds() - currentTime; in RecThreadProcess()
/external/webrtc/webrtc/examples/objc/AppRTCDemo/
DARDBitrateTracker.m37 CFTimeInterval currentTime = CACurrentMediaTime();
39 _bitrate = (byteCount - _prevByteCount) * 8 / (currentTime - _prevTime);
42 _prevTime = currentTime;
/external/autotest/client/site_tests/video_YouTubePage/files/
Dvideo_YouTubePageCommon.js60 videoElement.currentTime = time;
64 videoElement.currentTime = getDuration() - seconds_before_end;
91 return videoElement.currentTime;
/external/webrtc/webrtc/modules/audio_coding/test/
DiSACTest.cc244 char currentTime[500]; in EncodeDecode() local
250 _myTimer.CurrentTimeHMS(currentTime); in EncodeDecode()
300 char currentTime[50]; in SwitchingSamplingRate() local
304 _myTimer.CurrentTimeHMS(currentTime); in SwitchingSamplingRate()
306 printf("\r%s", currentTime); in SwitchingSamplingRate()
/external/python/cpython2/Lib/logging/
Dhandlers.py223 def computeRollover(self, currentTime): argument
227 result = currentTime + self.interval
238 t = time.gmtime(currentTime)
240 t = time.localtime(currentTime)
247 result = currentTime + r
331 currentTime = int(time.time())
332 dstNow = time.localtime(currentTime)[-1]
356 newRolloverAt = self.computeRollover(currentTime)
357 while newRolloverAt <= currentTime:
/external/ims/rcs/rcsservice/src/com/android/service/ims/
DTaskManager.java332 long currentTime = System.currentTimeMillis(); in clearTimeoutAvailabilityTask() local
348 notifyTimestamp + " currentTime=" + currentTime); in clearTimeoutAvailabilityTask()
353 (notifyTimestamp + availabilityExpire < currentTime)) || in clearTimeoutAvailabilityTask()
355 (createTimestamp + availabilityExpire < currentTime)) { in clearTimeoutAvailabilityTask()
/external/python/cpython3/Lib/logging/
Dhandlers.py255 def computeRollover(self, currentTime): argument
259 result = currentTime + self.interval
270 t = time.gmtime(currentTime)
272 t = time.localtime(currentTime)
292 result = currentTime + r
375 currentTime = int(time.time())
376 dstNow = time.localtime(currentTime)[-1]
399 newRolloverAt = self.computeRollover(currentTime)
400 while newRolloverAt <= currentTime:
/external/v8/tools/
Dmap-processor.js506 let currentTime = this.first().time + increment;
509 let nextIndex = this.find(currentTime, index);
510 let nextTime = currentTime + increment;
511 fn(index, nextIndex, currentTime, nextTime);
513 currentTime = nextTime;
/external/skia/tools/viewer/
DImGuiLayer.cpp102 double currentTime = SkTime::GetSecs(); in onPrePaint() local
103 io.DeltaTime = static_cast<float>(currentTime - previousTime); in onPrePaint()
104 previousTime = currentTime; in onPrePaint()
/external/walt/ios/WALT/
DSettingsController.m42 NSTimeInterval start = _client.currentTime;
52 NSTimeInterval delta = _client.currentTime - start;
/external/pdfium/fpdfsdk/
Dfpdfeditpage.cpp102 time_t currentTime; in FPDF_CreateNewDocument() local
105 if (time(&currentTime) != -1) { in FPDF_CreateNewDocument()
106 tm* pTM = localtime(&currentTime); in FPDF_CreateNewDocument()
/external/ims/rcs/rcsservice/src/com/android/service/ims/presence/
DPresencePublication.java710 PublishRequest(boolean bForceToNetwork, long currentTime) { in PublishRequest() argument
713 mCurrentTime = currentTime; in PublishRequest()
739 public void setTimestamp(long currentTime) { in setTimestamp() argument
740 mCurrentTime = currentTime; in setTimestamp()
814 long currentTime = System.currentTimeMillis(); in requestPublication() local
817 if((mPendingRequest != null) && currentTime - mPendingRequest.getTimestamp() in requestPublication()
/external/skqp/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/
DSkottieRunner.java323 long currentTime = System.nanoTime(); in start() local
324 mAnimationStartTime = currentTime - (long)(1000000 * mDuration * mProgress); in start()
327 doFrame(currentTime); in start()

123