Home
last modified time | relevance | path

Searched refs:currentTime (Results 1 – 25 of 55) 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/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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/util/
DScheduler.java10 private long currentTime = 0; field in Scheduler
14 return currentTime; in getCurrentTime()
32 postedRunnables.add(new PostedRunnable(runnable, currentTime + delayMillis)); in postDelayed()
45 postedRunnables.add(0, new PostedRunnable(runnable, currentTime)); in postAtFrontOfQueue()
78 long endingTime = currentTime + intervalMs; in advanceBy()
83 if (endingTime - currentTime < 0 || enqueuedTaskCount() < 1) { in advanceTo()
92 currentTime = endingTime; in advanceTo()
103 currentTime = postedRunnable.scheduledTime; in runOneTask()
115 currentTime = postedRunnable.scheduledTime; in runTasks()
127 return nextTaskIsScheduledBefore(currentTime); in areAnyRunnable()
/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/skia/experimental/GLFWTest/
Dglfw_main.cpp84 int currentTime; in main() local
115 currentTime = 0; in main()
168 times[currentTime] = (float)(timer.fWall); in main()
169 currentTime = (currentTime + 1) & 0x1f; in main()
/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.js45 videoElement.currentTime = time;
49 videoElement.currentTime = getDuration() - seconds_before_end;
76 return videoElement.currentTime;
/external/tpm2/
DReadClock.c16 out->currentTime.time = g_time; in TPM2_ReadClock()
17 TimeFillInfo(&out->currentTime.clockInfo); in TPM2_ReadClock()
DReadClock_fp.h12 typedef struct { TPMS_TIME_INFO currentTime; } ReadClock_Out; member
DMarshal_ReadClock.c27 total_size += TPMS_TIME_INFO_Marshal(&source->currentTime, buffer, size); in ReadClock_Out_Marshal()
/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/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/pdfium/fpdfsdk/
Dfpdfeditpage.cpp68 time_t currentTime; in FPDF_CreateNewDocument() local
73 if (-1 != time(&currentTime)) { in FPDF_CreateNewDocument()
74 tm* pTM = localtime(&currentTime); in FPDF_CreateNewDocument()
/external/ims/rcs/rcsservice/src/com/android/service/ims/presence/
DPresencePublication.java713 PublishRequest(boolean bForceToNetwork, long currentTime) { in PublishRequest() argument
716 mCurrentTime = currentTime; in PublishRequest()
742 public void setTimestamp(long currentTime) { in setTimestamp() argument
743 mCurrentTime = currentTime; in setTimestamp()
817 long currentTime = System.currentTimeMillis(); in requestPublication() local
820 if((mPendingRequest != null) && currentTime - mPendingRequest.getTimestamp() in requestPublication()
/external/chromium-trace/catapult/telemetry/telemetry/internal/actions/
Dseek.js50 element.currentTime = seekTime;
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatRegressionTestJ.java210 Date currentTime = sdf.parse("vggf 20 01.0 9.29 ap. J.-C. at 05:26:33 GMT+08:00", in Test4375399() local
212 if(currentTime ==null) in Test4375399()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatRegressionTestJ.java211 Date currentTime = sdf.parse("vggf 20 01.0 9.29 ap. J.-C. at 05:26:33 GMT+08:00", in Test4375399() local
213 if(currentTime ==null) in Test4375399()

123