Searched defs:mStartTime (Results 1 - 25 of 29) sorted by relevance

12

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DStopWatchMap.java32 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 DContentLoadingProgressBar.java34 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 DAutoScrollHelper.java729 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 DSuiteAssignmentPrinter.java51 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 DFirstFrameAnimatorHelper.java39 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 DDimLayer.java46 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 DBarTransitions.java114 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 DComprehensiveCountryDetector.java106 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 DEdgeEffect.java99 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 DScroller.java78 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 DOverScroller.java301 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 DVibratorService.java84 private final long mStartTime; field in class:VibratorService.Vibration
102 mStartTime = SystemClock.uptimeMillis();
125 if ((mStartTime + mTimeout)
H A DWatchdog.java102 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 DTestRunner.java61 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 DInstrumentationTestRunner.java671 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 DSQLiteConnectionPool.java660 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 DSQLiteConnection.java1311 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 DLaunchpadActivity.java141 private long mStartTime; field in class:LaunchpadActivity
165 mStartTime = System.currentTimeMillis();
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkPolicyManagerServiceTest.java129 private long mStartTime; field in class:NetworkPolicyManagerServiceTest
1021 mStartTime = currentTimeMillis;
1026 return mStartTime + mElapsedRealtime;
/frameworks/base/core/java/android/animation/
H A DValueAnimator.java75 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 DAnimation.java139 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 DAutoScrollHelper.java728 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 DTestService.java250 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 DToneGenerator.h274 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 DSyncManager.java1050 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;

Completed in 749 milliseconds

12