/packages/apps/Calendar/src/com/android/calendar/month/ |
MonthByWeekAdapter.java | 202 long currentTime = System.currentTimeMillis(); 206 if (currentTime - mAnimateTime > ANIMATE_TODAY_TIMEOUT) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
IngestService.java | 263 long currentTime = SystemClock.uptimeMillis(); 264 if (currentTime > mLastProgressIndexTime + PROGRESS_UPDATE_INTERVAL_MS) { 265 mLastProgressIndexTime = currentTime;
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
BinaryDictionaryDecayingTests.java | 140 private static int setCurrentTimeForTestMode(final int currentTime) { 141 return BinaryDictionaryUtils.setCurrentTimeForTest(currentTime); 201 final int currentTime = random.nextInt(Integer.MAX_VALUE); 202 final int currentTimeInNativeCode = setCurrentTimeForTestMode(currentTime); 203 assertEquals(currentTime, currentTimeInNativeCode); [all...] |
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
PlanetsRenderer.java | 152 long currentTime = System.currentTimeMillis(); 154 mLastRenderingTime = currentTime; 156 float angle = 0.090f * ((int) (currentTime % 4000L)); 230 long currentTime = System.currentTimeMillis(); 232 mRenderingStartTime = currentTime; 235 mFrameInterval[mFrameCount] = (int)(currentTime - mLastRenderingTime); 239 long timePassed = currentTime - mRenderingStartTime; 245 mRenderingStartTime + " finish time " + currentTime); 432 long currentTime = System.currentTimeMillis(); 433 float timePassedInSecs = (float) (currentTime - mMeasurementStartTime) / 1000f [all...] |
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
ContentVideoView.java | 456 long currentTime = System.currentTimeMillis(); 458 long timeAfterOrientationChange = currentTime - mOrientationChangedTime;
|
/external/chromium_org/content/renderer/media/android/ |
webmediaplayer_android.cc | 495 double WebMediaPlayerAndroid::currentTime() const { [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/animation/ |
SVGSMILElement.cpp | 841 const SMILTime& currentTime = list[indexOfResult].time(); 844 if (currentTime.isIndefinite() && beginOrEnd == Begin) 847 if (currentTime > minimumTime) 848 return currentTime; 850 ASSERT(currentTime == minimumTime); 852 return currentTime; 855 SMILTime nextTime = currentTime; [all...] |
/frameworks/base/core/java/android/hardware/camera2/ |
DngCreator.java | 89 long currentTime = System.currentTimeMillis(); 92 long bootTimeMillis = currentTime - SystemClock.elapsedRealtime(); 96 long captureTime = currentTime;
|
/frameworks/base/core/java/android/widget/ |
OverScroller.java | [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
AutoScrollHelper.java | 774 final long currentTime = AnimationUtils.currentAnimationTimeMillis(); 775 mEffectiveRampDown = constrain((int) (currentTime - mStartTime), 0, mRampDownDuration); 776 mStopValue = getValueAt(currentTime); 777 mStopTime = currentTime; 785 private float getValueAt(long currentTime) { 786 if (currentTime < mStartTime) { 788 } else if (mStopTime < 0 || currentTime < mStopTime) { 789 final long elapsedSinceStart = currentTime - mStartTime; 792 final long elapsedSinceEnd = currentTime - mStopTime; 821 final long currentTime = AnimationUtils.currentAnimationTimeMillis() [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
AutoScrollHelper.java | 775 final long currentTime = AnimationUtils.currentAnimationTimeMillis(); 776 mEffectiveRampDown = constrain((int) (currentTime - mStartTime), 0, mRampDownDuration); 777 mStopValue = getValueAt(currentTime); 778 mStopTime = currentTime; 786 private float getValueAt(long currentTime) { 787 if (currentTime < mStartTime) { 789 } else if (mStopTime < 0 || currentTime < mStopTime) { 790 final long elapsedSinceStart = currentTime - mStartTime; 793 final long elapsedSinceEnd = currentTime - mStopTime; 822 final long currentTime = AnimationUtils.currentAnimationTimeMillis() [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
SSLSessionTest.java | 114 long currentTime = System.currentTimeMillis(); 116 long diff = currentTime - sessionTime; 117 assertTrue("diff between " + currentTime + " and " + sessionTime + " should be < 10000", 136 long currentTime = System.currentTimeMillis(); 138 long diff = currentTime - sessionTime; 139 assertTrue("diff between " + currentTime + " and " + sessionTime + " should be < 10000",
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
OldSocketChannelTest.java | 274 long currentTime = System.currentTimeMillis(); 275 if ((currentTime - startTime) > timeout) {
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
GlobalDismissManager.java | 289 long currentTime = System.currentTimeMillis(); 329 if (currentTime - entry.getValue() > TIME_TO_LIVE) { 368 long currentTime = System.currentTimeMillis(); 376 sSenderDismissCache.put(dismissId, currentTime); 482 long currentTime = System.currentTimeMillis(); 517 if (currentTime - entry.getValue() > TIME_TO_LIVE) {
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
AlertServiceTest.java | 401 long currentTime = 1000000; 403 at.getAlertCursor(), currentTime, AlertService.MAX_NOTIFICATIONS); 419 long currentTime = 1000000; 422 AlertService.generateAlerts(mContext, ntm, alarmMgr, prefs, at.getAlertCursor(), currentTime, 428 currentTime = 2300000; 431 AlertService.generateAlerts(mContext, ntm, alarmMgr, prefs, at.getAlertCursor(), currentTime, 436 currentTime = 4300000; 439 AlertService.generateAlerts(mContext, ntm, alarmMgr, prefs, at.getAlertCursor(), currentTime, 453 long currentTime = createTimeInMillis(5, 0); 492 currentTime, maxNotifications) [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
PinnedHeaderListView.java | 488 long currentTime = mAnimating ? System.currentTimeMillis() : 0; 535 drawHeader(canvas, header, currentTime); 542 drawHeader(canvas, header, currentTime); 550 private void drawHeader(Canvas canvas, PinnedHeader header, long currentTime) { 552 int timeLeft = (int)(header.targetTime - currentTime);
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
AlarmStateManager.java | 181 Calendar currentTime = Calendar.getInstance(); 183 if (currentTime.after(alarmTime)) { 184 alarmTime = currentTime; 523 Calendar currentTime = Calendar.getInstance(); 538 boolean hasTimeout = timeoutTime != null && currentTime.after(timeoutTime); 544 if (currentTime.before(alarmTime)) { 566 if (currentTime.after(missedTTL)) { 569 } else if (currentTime.after(alarmTime)) { 576 if (currentTime.before(alarmBuffer)) { 587 } else if (currentTime.after(highNotificationTime)) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
OverScrollerSGV.java | [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
OverScroller.java | [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
ChartDataUsageView.java | 394 final long currentTime = System.currentTimeMillis(); 395 setBounds(currentTime - DateUtils.DAY_IN_MILLIS * 30, currentTime);
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
CtsTest.java | 623 long currentTime = System.currentTimeMillis(); 624 if (((currentTime - mPrevRebootTime) > intervalInMSec) || [all...] |
/frameworks/base/core/java/android/animation/ |
ValueAnimator.java | 593 long currentTime = AnimationUtils.currentAnimationTimeMillis(); 594 mStartTime = currentTime - seekTime; [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
NetworkStatsService.java | 351 final long currentTime = mTime.hasCache() ? mTime.currentTimeMillis() 355 mDevRecorder.forcePersistLocked(currentTime); 356 mXtRecorder.forcePersistLocked(currentTime); 357 mUidRecorder.forcePersistLocked(currentTime); 358 mUidTagRecorder.forcePersistLocked(currentTime); 641 final long currentTime = mTime.hasCache() ? mTime.currentTimeMillis() 648 mDevRecorder.maybePersistLocked(currentTime); 649 mXtRecorder.maybePersistLocked(currentTime); 650 mUidRecorder.maybePersistLocked(currentTime); 651 mUidTagRecorder.maybePersistLocked(currentTime); [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkPolicyManagerServiceTest.java | 449 final long currentTime = parseTime("2007-11-14T00:00:00.000Z"); 454 final long actualCycle = computeLastCycleBoundary(currentTime, policy); 460 final long currentTime = parseTime("2007-11-14T00:00:00.000Z"); 465 final long actualCycle = computeLastCycleBoundary(currentTime, policy); 471 final long currentTime = parseTime("2007-02-14T00:00:00.000Z"); 476 final long actualCycle = computeLastCycleBoundary(currentTime, policy); 482 final long currentTime = parseTime("2007-03-14T00:00:00.000Z"); 487 final long actualCycle = computeLastCycleBoundary(currentTime, policy); [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
Avrcp.java | 669 long currentTime = SystemClock.elapsedRealtime(); 670 long multi = (long) Math.pow(2, (currentTime - mSkipStartTime)/SKIP_DOUBLE_INTERVAL); [all...] |