Home
last modified time | relevance | path

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

123456789

/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()
/external/robolectric/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/webkit/Source/WebCore/page/
DPluginHalter.cpp55 double currentTime = WTF::currentTime(); in didStartPlugin() local
57 m_plugins.add(obj, currentTime); in didStartPlugin()
60 m_oldestStartTime = currentTime; in didStartPlugin()
82 double pluginCutOffTime = WTF::currentTime() - m_pluginAllowedRunTime; in timerFired()
114 …double nextFireInterval = static_cast<double>(m_pluginAllowedRunTime) - (currentTime() - m_oldestS… in startTimerIfNecessary()
/external/webkit/Source/JavaScriptCore/runtime/
DTimeoutChecker.cpp103 static double firstTime = currentTime(); in getCPUTime()
104 return static_cast<unsigned> ((currentTime() - firstTime) * 1000); in getCPUTime()
124 unsigned currentTime = getCPUTime(); in didTimeOut() local
128 m_timeAtLastCheck = currentTime; in didTimeOut()
132 unsigned timeDiff = currentTime - m_timeAtLastCheck; in didTimeOut()
138 m_timeAtLastCheck = currentTime; in didTimeOut()
/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/webkit/Source/JavaScriptCore/wtf/
DCurrentTime.cpp159 double currentTime() in currentTime() function
227 double currentTime() in currentTime() function
257 double currentTime() in currentTime() function
266 double currentTime() in currentTime() function
279 double currentTime() in currentTime() function
288 double currentTime() in currentTime() function
DCurrentTime.h42 double currentTime();
47 return currentTime() * 1000.0; in currentTimeMS()
63 using WTF::currentTime;
DThreadingWin.cpp486 double currentTime = WTF::currentTime(); in absoluteTimeToWaitTimeoutInterval() local
489 if (absoluteTime < currentTime) in absoluteTimeToWaitTimeoutInterval()
493 if (absoluteTime - currentTime > static_cast<double>(INT_MAX) / 1000.0) in absoluteTimeToWaitTimeoutInterval()
496 return static_cast<DWORD>((absoluteTime - currentTime) * 1000.0); in absoluteTimeToWaitTimeoutInterval()
/external/webkit/Source/WebCore/plugins/win/
DPluginMessageThrottlerWin.cpp89 double currentTime = WTF::currentTime(); in appendMessage() local
90 if (currentTime - m_lastMessageTime > MessageDirectProcessingInterval) { in appendMessage()
92 m_lastMessageTime = currentTime; in appendMessage()
/external/webkit/Source/JavaScriptCore/wtf/qt/
DThreadingQt.cpp258 double currentTime = WTF::currentTime(); in timedWait() local
261 if (absoluteTime < currentTime) in timedWait()
265 if (absoluteTime - currentTime > static_cast<double>(INT_MAX) / 1000.0) { in timedWait()
270 double intervalMilliseconds = (absoluteTime - currentTime) * 1000.0; in timedWait()
/external/chromium/chrome/browser/extensions/
Dtest_extension_prefs.cc37 currentTime(base::Time::Now()) {} in MockExtensionPrefs()
41 mutable base::Time currentTime; member in __anon023d49b80111::MockExtensionPrefs
44 currentTime += base::TimeDelta::FromSeconds(10); in GetCurrentTime()
45 return currentTime; in GetCurrentTime()
/external/webkit/Source/WebKit/chromium/src/
DChromiumCurrentTime.cpp39 double currentTime() in currentTime() function
41 return WebKit::webKitClient()->currentTime(); in currentTime()
/external/webkit/Source/WebCore/platform/chromium/
DSystemTimeChromium.cpp40 double currentTime() in currentTime() function
42 return PlatformBridge::currentTime(); in currentTime()
/external/webkit/Source/WebCore/inspector/
DInspectorResourceAgent.cpp331 …ader), loader->url().string(), buildObjectForResourceRequest(request), currentTime(), callStackVal… in willSendRequest()
359 … m_frontend->responseReceived(static_cast<int>(identifier), currentTime(), type, resourceResponse); in didReceiveResponse()
368 …m_frontend->dataReceived(static_cast<int>(identifier), currentTime(), dataLength, encodedDataLengt… in didReceiveContentLength()
374 finishTime = currentTime(); in didFinishLoading()
381 …m_frontend->loadingFailed(static_cast<int>(identifier), currentTime(), error.localizedDescription(… in didFailLoading()
386 …terAsId(loader->frame()), pointerAsId(loader), loader->url().string(), currentTime(), buildObjectF… in didLoadResourceFromMemoryCache()
401 m_frontend->domContentEventFired(currentTime()); in domContentEventFired()
406 m_frontend->loadEventFired(currentTime()); in loadEventFired()
492 …m_frontend->webSocketWillSendHandshakeRequest(static_cast<int>(identifier), currentTime(), request… in willSendWebSocketHandshakeRequest()
502 …m_frontend->webSocketHandshakeResponseReceived(static_cast<int>(identifier), currentTime(), respon… in didReceiveWebSocketHandshakeResponse()
[all …]
/external/webkit/Source/WebKit2/WebProcess/WebPage/ca/win/
DLayerTreeHostCAWin.cpp170 return m_nextDisplayTime - currentTime(); in timeUntilNextDisplay()
200 m_nextDisplayTime = nextDrawTime - CACurrentMediaTime() + currentTime(); in display()
244 double currentTime = WTF::currentTime(); in contextDidChange() local
248 (*it)->animationStarted(currentTime); in contextDidChange()
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
DTilesProfiler.cpp77 double currentTime = currentTimeMS(); in nextFrame() local
78 double timeDelta = currentTime - m_time; in nextFrame()
79 m_time = currentTime; in nextFrame()
/external/webkit/Source/WebCore/webaudio/
DAudioNode.cpp157 double currentTime = context()->currentTime(); in processIfNecessary() local
158 if (m_lastProcessingTime != currentTime) { in processIfNecessary()
159 …m_lastProcessingTime = currentTime; // important to first update this time because of feedback loo… in processIfNecessary()
/external/webkit/Source/WebCore/platform/efl/
DPlatformMouseEventEfl.cpp59 , m_timestamp(currentTime()) in PlatformMouseEvent()
73 , m_timestamp(currentTime()) in PlatformMouseEvent()
88 , m_timestamp(currentTime()) in PlatformMouseEvent()
/external/webkit/Tools/QtTestBrowser/
Dfpstimer.cpp47 const QTime now = QTime::currentTime(); in numFrames()
77 m_frames.append(QTime::currentTime()); in timerEvent()

123456789