/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | StopWatchMap.java | 32 private long mStartTime; field in class:StopWatch 38 mStartTime = -1; 44 if (mStartTime != -1) { 48 mStartTime = SystemClock.elapsedRealtime(); 52 if (mStartTime == -1) { 57 mTotalTime += stopTime - mStartTime; 59 mStartTime = -1;
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | ContentLoadingProgressBar.java | 34 private long mStartTime = -1; field in class:ContentLoadingProgressBar 47 mStartTime = -1; 58 mStartTime = System.currentTimeMillis(); 97 long diff = System.currentTimeMillis() - mStartTime; 98 if (diff >= MIN_SHOW_TIME || mStartTime == -1) { 120 mStartTime = -1;
|
H A D | AutoScrollHelper.java | 729 private long mStartTime; field in class:AutoScrollHelper.ClampedScroller 744 mStartTime = Long.MIN_VALUE; 763 mStartTime = AnimationUtils.currentAnimationTimeMillis(); 765 mDeltaTime = mStartTime; 776 mEffectiveRampDown = constrain((int) (currentTime - mStartTime), 0, mRampDownDuration); 787 if (currentTime < mStartTime) { 790 final long elapsedSinceStart = currentTime - mStartTime;
|
/frameworks/testing/androidtestlib/src/com/android/test/runner/listener/ |
H A D | SuiteAssignmentPrinter.java | 51 private long mStartTime; field in class:SuiteAssignmentPrinter 57 mStartTime = System.currentTimeMillis(); 66 if (!mTimingValid || mStartTime < 0) { 70 runTime = endTime - mStartTime; 79 // Clear mStartTime so that we can verify that it gets set next time. 80 mStartTime = -1;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | FirstFrameAnimatorHelper.java | 39 private long mStartTime = -1; field in class:FirstFrameAnimatorHelper 83 if (mStartTime == -1) { 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/services/java/com/android/server/wm/ |
H A D | DimLayer.java | 46 long mStartTime; field in class:DimLayer 137 return SystemClock.uptimeMillis() + duration < mStartTime + mDuration; 208 mStartTime = curTime; 212 if (DEBUG) Slog.v(TAG, "show: mStartAlpha=" + mStartAlpha + " mStartTime=" + mStartTime); 255 float alpha = mStartAlpha + alphaDelta * (curTime - mStartTime) / mDuration; 285 pw.print(" mStartTime="); pw.print(mStartTime);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | BarTransitions.java | 114 private long mStartTime; field in class:BarTransitions.BarBackgroundDrawable 158 mStartTime = now; 198 final float t = (now - mStartTime) / (float)(mEndTime - mStartTime);
|
/frameworks/base/services/java/com/android/server/location/ |
H A D | ComprehensiveCountryDetector.java | 106 private long mStartTime; field in class:ComprehensiveCountryDetector 307 mStartTime = SystemClock.elapsedRealtime(); 475 currentSessionLength = currentTime - mStartTime; 479 sb.append("lastRunTimeLength=" + (mStopTime - mStartTime) + ", ");
|
/frameworks/base/core/java/android/widget/ |
H A D | EdgeEffect.java | 99 private long mStartTime; field in class:EdgeEffect 208 if (mState == STATE_PULL_DECAY && now - mStartTime < mDuration) { 216 mStartTime = now; 272 mStartTime = AnimationUtils.currentAnimationTimeMillis(); 290 mStartTime = AnimationUtils.currentAnimationTimeMillis(); 383 final float t = Math.min((time - mStartTime) / mDuration, 1.f); 396 mStartTime = AnimationUtils.currentAnimationTimeMillis(); 412 mStartTime = AnimationUtils.currentAnimationTimeMillis();
|
H A D | Scroller.java | 78 private long mStartTime; field in class:Scroller 310 int timePassed = (int)(AnimationUtils.currentAnimationTimeMillis() - mStartTime); 402 mStartTime = AnimationUtils.currentAnimationTimeMillis(); 460 mStartTime = AnimationUtils.currentAnimationTimeMillis(); 550 return (int)(AnimationUtils.currentAnimationTimeMillis() - mStartTime);
|
H A D | OverScroller.java | 301 final long elapsedTime = time - mScrollerX.mStartTime; 526 final long startTime = Math.min(mScrollerX.mStartTime, mScrollerY.mStartTime); 560 private long mStartTime; field in class:OverScroller.SplineOverScroller 686 mStartTime = AnimationUtils.currentAnimationTimeMillis(); 709 final int elapsedTime = (int) (time - mStartTime); 720 mStartTime = AnimationUtils.currentAnimationTimeMillis(); 733 // mStartTime has been set 751 mStartTime = AnimationUtils.currentAnimationTimeMillis(); 806 mStartTime [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | VibratorService.java | 84 private final long mStartTime; field in class:VibratorService.Vibration 102 mStartTime = SystemClock.uptimeMillis(); 125 if ((mStartTime + mTimeout)
|
H A D | Watchdog.java | 102 private long mStartTime; field in class:Watchdog.HandlerChecker 134 mStartTime = SystemClock.uptimeMillis(); 139 return (!mCompleted) && (SystemClock.uptimeMillis() > mStartTime + mWaitMax); 146 long latency = SystemClock.uptimeMillis() - mStartTime;
|
/frameworks/base/test-runner/src/android/test/ |
H A D | TestRunner.java | 61 private long mStartTime; field in class:TestRunner 244 mStartTime = System.currentTimeMillis(); 246 mStartTime = SystemClock.currentThreadTimeMillis(); 251 addIntermediate(name, (System.currentTimeMillis() - mStartTime) * 1000000); 435 mStartTime = SystemClock.currentThreadTimeMillis(); 439 mStartTime = 0; 458 duration = endTime - mStartTime;
|
H A D | InstrumentationTestRunner.java | 671 private long mStartTime; field in class:InstrumentationTestRunner.SuiteAssignmentPrinter 683 mStartTime = System.currentTimeMillis(); 709 if (!mTimingValid || mStartTime < 0) { 713 runTime = mEndTime - mStartTime; 723 // Clear mStartTime so that we can verify that it gets set next time. 724 mStartTime = -1;
|
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteConnectionPool.java | 660 long nextBusyTimeoutTime = waiter.mStartTime + busyTimeoutMillis; 693 logConnectionPoolBusyLocked(now - waiter.mStartTime, connectionFlags); 977 waiter.mStartTime = startTime; 1044 + ((now - waiter.mStartTime) * 0.001f) 1063 public long mStartTime; field in class:SQLiteConnectionPool.ConnectionWaiter
|
H A D | SQLiteConnection.java | 1311 operation.mStartTime = System.currentTimeMillis(); 1371 operation.mEndTime - operation.mStartTime); 1443 public long mStartTime; field in class:SQLiteConnection.Operation 1455 msg.append(" took ").append(mEndTime - mStartTime).append("ms"); 1457 msg.append(" started ").append(System.currentTimeMillis() - mStartTime) 1497 return sDateFormat.format(new Date(mStartTime));
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | LaunchpadActivity.java | 141 private long mStartTime; field in class:LaunchpadActivity 165 mStartTime = System.currentTimeMillis();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | NetworkPolicyManagerServiceTest.java | 129 private long mStartTime; field in class:NetworkPolicyManagerServiceTest 1021 mStartTime = currentTimeMillis; 1026 return mStartTime + mElapsedRealtime;
|
/frameworks/base/core/java/android/animation/ |
H A D | ValueAnimator.java | 75 long mStartTime; field in class:ValueAnimator 133 * different from the mStartTime variable, which is used to track when the animation became 523 mStartTime = currentTime - playTime; 538 return AnimationUtils.currentAnimationTimeMillis() - mStartTime; 1027 long currentPlayTime = currentTime - mStartTime; 1029 mStartTime = currentTime - timeLeft; 1125 // mStartTime appropriately 1126 mStartTime = currentTime - (deltaTime - mStartDelay); 1151 float fraction = mDuration > 0 ? (float)(currentTime - mStartTime) / mDuration : 1f; 1166 mStartTime [all...] |
/frameworks/base/core/java/android/view/animation/ |
H A D | Animation.java | 139 long mStartTime = -1; field in class:Animation 305 mStartTime = Long.MIN_VALUE; 498 mStartTime = startTimeMillis; 673 return mStartTime; 834 if (mStartTime == -1) { 835 mStartTime = currentTime; 842 normalizedTime = ((float) (currentTime - (mStartTime + startOffset))) / 846 normalizedTime = currentTime < mStartTime ? 0.0f : 1.0f; 889 mStartTime = -1;
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | AutoScrollHelper.java | 728 private long mStartTime; field in class:AutoScrollHelper.ClampedScroller 743 mStartTime = Long.MIN_VALUE; 762 mStartTime = AnimationUtils.currentAnimationTimeMillis(); 764 mDeltaTime = mStartTime; 775 mEffectiveRampDown = constrain((int) (currentTime - mStartTime), 0, mRampDownDuration); 786 if (currentTime < mStartTime) { 789 final long elapsedSinceStart = currentTime - mStartTime;
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
H A D | TestService.java | 250 long mStartTime; field in class:TestService.TestRunner 337 mStartTime = SystemClock.uptimeMillis(); 347 return mForegroundEndTime-mStartTime; 355 return mBackgroundEndTime-mStartTime; 382 if (now > (mStartTime+mMaxRunTime)) {
|
/frameworks/av/include/media/ |
H A D | ToneGenerator.h | 274 struct timespec mStartTime; // tone start time: needed to guaranty actual tone duration member in class:android::ToneGenerator
|
/frameworks/base/services/java/com/android/server/content/ |
H A D | SyncManager.java | 1050 final long mStartTime; field in class:SyncManager.ActiveSyncContext 1075 mStartTime = SystemClock.elapsedRealtime(); 1076 mTimeoutStartTime = mStartTime; 1096 sb.append("startTime ").append(mStartTime) 1233 final long durationInSeconds = (now - activeSyncContext.mStartTime) / 1000; 2313 || (oldestNonExpeditedRegular.mStartTime 2314 > activeSyncContext.mStartTime)) { 2328 && activeSyncContext.mStartTime + MAX_TIME_PER_SYNC < now) { 2504 final long elapsedTime = SystemClock.elapsedRealtime() - activeSyncContext.mStartTime;
|