/external/pdfium/fpdfsdk/src/ |
fpdfeditpage.cpp | 24 time_t currentTime;
30 if ( -1 != time( ¤tTime ) )
32 tm * pTM = localtime( ¤tTime );
|
/external/replicaisland/src/com/replica/replicaisland/ |
PopOutComponent.java | 72 final float currentTime = time.getGameTime(); 79 mLastAttackCompletedTime = currentTime; 87 && currentTime > mLastAttackCompletedTime + mAttackDelay) { 88 mAttackStartTime = currentTime; 94 if (currentTime > mAttackStartTime + mAttackLength) { 96 mLastAttackCompletedTime = currentTime;
|
FadeDrawableComponent.java | 65 final float currentTime = time.getGameTime(); 71 mActivateTime = currentTime; 73 } else if (mPhaseDuration > 0.0f && currentTime - mActivateTime > mPhaseDuration) { 74 mActivateTime = currentTime; 83 mStartTime = currentTime; 85 float elapsed = currentTime - mStartTime; 89 elapsed = endTime - currentTime;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
FirstFrameAnimatorHelper.java | 82 final long currentTime = System.currentTimeMillis(); 85 mStartTime = currentTime; 98 if (frameNum == 0 && currentTime < mStartTime + MAX_DELAY) { 107 } else if (frameNum == 1 && currentTime < mStartTime + MAX_DELAY && 109 currentTime > mStartTime + IDEAL_FRAME_DURATION) {
|
/frameworks/base/tools/layoutlib/bridge/src/android/animation/ |
AnimationThread.java | 125 long currentTime = System.currentTimeMillis(); 126 if (currentTime < bundle.mUptimeMillis) { 128 sleep(bundle.mUptimeMillis - currentTime);
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
CalendarInteractionUtils.java | 38 Time currentTime = new Time(localTimezone); 39 currentTime.set(currentMillis); 46 if (singleDayEvent(localStartMillis, localEndMillis, currentTime.gmtoff)) { 49 localStartMillis, currentMillis, currentTime.gmtoff); 64 if (singleDayEvent(startMillis, endMillis, currentTime.gmtoff)) { 71 currentMillis, currentTime.gmtoff);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
FirstFrameAnimatorHelper.java | 88 final long currentTime = System.currentTimeMillis(); 91 mStartTime = currentTime; 107 if (frameNum == 0 && currentTime < mStartTime + MAX_DELAY) { 116 } else if (frameNum == 1 && currentTime < mStartTime + MAX_DELAY && 118 currentTime > mStartTime + IDEAL_FRAME_DURATION) {
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
FirstFrameAnimatorHelper.java | 88 final long currentTime = System.currentTimeMillis(); 91 mStartTime = currentTime; 108 if (frameNum == 0 && currentTime < mStartTime + MAX_DELAY && currentPlayTime > 0) { 116 } else if (frameNum == 1 && currentTime < mStartTime + MAX_DELAY && 118 currentTime > mStartTime + IDEAL_FRAME_DURATION &&
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
SearchBaseUrlHelper.java | 77 long currentTime = System.currentTimeMillis(); 80 currentTime - lastUpdateTime >= SEARCH_BASE_URL_EXPIRY_MS) {
|
/external/chromium_org/content/renderer/media/ |
webmediaplayer_ms.cc | 285 double WebMediaPlayerMS::currentTime() const {
|
/external/chromium_org/mojo/services/html_viewer/ |
blink_platform_impl.cc | 93 double BlinkPlatformImpl::currentTime() {
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
AnimationPlayer.cpp | 105 bool AnimationPlayer::limited(double currentTime) const 107 return (m_playbackRate < 0 && currentTime <= 0) || (m_playbackRate > 0 && currentTime >= sourceEnd()); 165 double AnimationPlayer::currentTime(bool& isNull) 167 double result = currentTime(); 172 double AnimationPlayer::currentTime() 295 double AnimationPlayer::calculateStartTime(double currentTime) const 297 return m_timeline->effectiveTime() - currentTime / m_playbackRate; 347 double currentTime = calculateCurrentTime(); 348 if (m_playbackRate > 0 && currentTime > sourceEnd()) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
CachingCorrectnessTest.cpp | 121 virtual double currentTime()
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
MediaController.cpp | 39 #include "wtf/CurrentTime.h" 146 double MediaController::currentTime() const 153 m_position = std::max(0.0, std::min(duration(), m_clock->currentTime())); 486 element->seek(currentTime()); 602 double now = WTF::currentTime();
|
/external/chromium_org/third_party/WebKit/Source/core/svg/animation/ |
SMILTimeContainer.cpp | 150 return currentTime() + m_accumulatedActiveTime - lastResumeTime(); 166 double now = currentTime(); 198 m_pauseTime = currentTime(); 210 m_resumeTime = currentTime(); 226 double now = currentTime(); 329 double SMILTimeContainer::currentTime() const 331 return document().animationClock().currentTime();
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
AudioContext.h | 96 double currentTime() const { return m_destinationNode->currentTime(); }
|
AudioNode.cpp | 381 double currentTime = context()->currentTime(); 382 if (m_lastProcessingTime != currentTime) { 383 m_lastProcessingTime = currentTime; // important to first update this time because of feedback loops in the rendering graph 413 return m_lastNonSilentTime + latencyTime() + tailTime() < context()->currentTime();
|
AudioParamTimeline.cpp | 206 if (!tryLocker.locked() || !context || !m_events.size() || context->currentTime() < m_events[0].time()) { 215 double startTime = context->currentTime(); 269 double currentTime = startTime; 282 currentTime = fillToTime; 297 if (nextEvent && nextEvent->time() < currentTime) 318 float x = (currentTime - time1) * k; 321 currentTime += sampleFrameTimeIncr; 335 // AudioUtilities::timeToSampleFrame(currentTime - time1, sampleRate), but is more 338 AudioUtilities::timeToSampleFrame(currentTime - time1, sampleRate) / numSampleFrames); 343 currentTime += sampleFrameTimeIncr [all...] |
/external/chromium_org/ui/android/java/src/org/chromium/ui/ |
VSyncMonitor.java | 106 final long currentTime = getCurrentNanoTime(); 107 onVSyncCallback(currentTime, currentTime); 117 final long currentTime = getCurrentNanoTime(); 118 onVSyncCallback(estimateLastVSyncTime(currentTime), currentTime); 196 final long currentTime = getCurrentNanoTime(); 199 if (currentTime - mLastVSyncCpuTimeNano < 2 * mRefreshPeriodNano) return false; 200 if (currentTime - estimateLastVSyncTime(currentTime) > mRefreshPeriodNano / 2) return false [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
MovieHeaderBox.java | 50 private int currentTime; 131 currentTime = content.getInt(); 193 byteBuffer.putInt(currentTime); 272 return currentTime; 275 public void setCurrentTime(int currentTime) { 276 this.currentTime = currentTime;
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/ |
Scheduler.java | 10 private long currentTime = 0; 14 return currentTime; 32 postedRunnables.add(new PostedRunnable(runnable, currentTime + delayMillis)); 45 postedRunnables.add(0, new PostedRunnable(runnable, currentTime)); 78 long endingTime = currentTime + intervalMs; 83 if (endingTime - currentTime < 0 || enqueuedTaskCount() < 1) { 92 currentTime = endingTime; 103 currentTime = postedRunnable.scheduledTime; 115 currentTime = postedRunnable.scheduledTime; 127 return nextTaskIsScheduledBefore(currentTime); [all...] |
/frameworks/base/core/java/android/view/ |
ScaleGestureDetector.java | 223 final long currentTime = SystemClock.uptimeMillis(); 225 boolean accept = currentTime - mTouchHistoryLastAcceptedTime >= TOUCH_STABILIZE_TIME;
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
FileRotatorTest.java | 80 long currentTime = TEST_TIME; 83 rotate1.combineActive(reader, writer("foo"), currentTime); 96 long currentTime = TEST_TIME; 99 rotate.combineActive(reader, writer("foo"), currentTime); 105 currentTime += SECOND_IN_MILLIS; 107 rotate.combineActive(reader, writer("bar"), currentTime); 117 long currentTime = TEST_TIME; 120 rotate.combineActive(reader, writer("foo"), currentTime); 126 currentTime += MINUTE_IN_MILLIS; 127 rotate.combineActive(reader, writer("bar"), currentTime); [all...] |
/frameworks/base/services/core/java/com/android/server/ |
NetworkTimeUpdateService.java | 160 final long currentTime = System.currentTimeMillis(); 161 if (DBG) Log.d(TAG, "System time = " + currentTime); 178 if (Math.abs(ntp - currentTime) > mTimeErrorThresholdMs 182 && Math.abs(ntp - currentTime) <= mTimeErrorThresholdMs) { 183 Log.d(TAG, "For initial setup, rtc = " + currentTime);
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
ClockDatabaseHelper.java | 167 Calendar currentTime = Calendar.getInstance(); 188 AlarmInstance newInstance = alarm.createInstanceAfter(currentTime);
|