Searched refs:mStartTime (Results 1 - 25 of 31) 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/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
82 if (mStartTime == -1) {
84 mStartTime = currentTime;
93 if (frameNum == 0 && currentTime < mStartTime + MAX_DELAY) {
102 } else if (frameNum == 1 && currentTime < mStartTime + MAX_DELAY &&
104 currentTime > mStartTime + IDEAL_FRAME_DURATION) {
/frameworks/base/core/java/android/animation/
H A DTimeAnimator.java24 long totalTime = currentTime - mStartTime;
H A DValueAnimator.java75 long mStartTime; field in class:ValueAnimator
119 * different from the mStartTime variable, which is used to track when the animation became
509 mStartTime = currentTime - playTime;
524 return AnimationUtils.currentAnimationTimeMillis() - mStartTime;
994 long currentPlayTime = currentTime - mStartTime;
996 mStartTime = currentTime - timeLeft;
1065 // mStartTime appropriately
1066 mStartTime = currentTime - (deltaTime - mStartDelay);
1091 float fraction = mDuration > 0 ? (float)(currentTime - mStartTime) / mDuration : 1f;
1106 mStartTime
[all...]
/frameworks/native/include/utils/
H A DStopWatch.h53 nsecs_t mStartTime; member in class:android::StopWatch
/frameworks/native/libs/utils/
H A DStopWatch.cpp75 return systemTime(mClock) - mStartTime;
81 mStartTime = systemTime(mClock);
/frameworks/base/core/java/android/widget/
H A DEdgeEffect.java97 private long mStartTime; field in class:EdgeEffect
206 if (mState == STATE_PULL_DECAY && now - mStartTime < mDuration) {
214 mStartTime = now;
270 mStartTime = AnimationUtils.currentAnimationTimeMillis();
288 mStartTime = AnimationUtils.currentAnimationTimeMillis();
381 final float t = Math.min((time - mStartTime) / mDuration, 1.f);
394 mStartTime = AnimationUtils.currentAnimationTimeMillis();
410 mStartTime = AnimationUtils.currentAnimationTimeMillis();
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...]
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 DFastScroller.java866 long mStartTime; field in class:FastScroller.ScrollFade
873 mStartTime = SystemClock.uptimeMillis();
883 if (now > mStartTime + mFadeDuration) {
886 alpha = (int) (ALPHA_MAX - ((now - mStartTime) * ALPHA_MAX) / mFadeDuration);
/frameworks/base/services/java/com/android/server/wm/
H A DDimLayer.java43 long mStartTime; field in class:DimLayer
125 return SystemClock.uptimeMillis() + duration < mStartTime + mDuration;
188 mStartTime = curTime;
192 if (DEBUG) Slog.v(TAG, "show: mStartAlpha=" + mStartAlpha + " mStartTime=" + mStartTime);
235 float alpha = mStartAlpha + alphaDelta * (curTime - mStartTime) / mDuration;
263 pw.print(prefix); pw.print("Last animation: mStartTime="); pw.print(mStartTime);
/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/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/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/services/java/com/android/server/
H A DVibratorService.java83 private final long mStartTime; field in class:VibratorService.Vibration
101 mStartTime = SystemClock.uptimeMillis();
124 if ((mStartTime + mTimeout)
/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/av/media/libmedia/
H A DToneGenerator.cpp925 if (clock_gettime(CLOCK_MONOTONIC, &mStartTime) != 0) {
926 mStartTime.tv_sec = 0;
946 mStartTime.tv_sec = 0;
989 if ((mStartTime.tv_sec != 0) && (clock_gettime(CLOCK_MONOTONIC, &stopTime) == 0)) {
990 time_t sec = stopTime.tv_sec - mStartTime.tv_sec;
991 long nsec = stopTime.tv_nsec - mStartTime.tv_nsec;
1294 if (clock_gettime(CLOCK_MONOTONIC, &lpToneGen->mStartTime) != 0) {
1295 lpToneGen->mStartTime.tv_sec = 0;
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DTestService.java234 long mStartTime; field in class:TestService.TestRunner
321 mStartTime = SystemClock.uptimeMillis();
331 return mForegroundEndTime-mStartTime;
339 return mBackgroundEndTime-mStartTime;
366 if (now > (mStartTime+mMaxRunTime)) {
/frameworks/base/services/java/com/android/server/content/
H A DSyncManager.java1017 final long mStartTime; field in class:SyncManager.ActiveSyncContext
1042 mStartTime = SystemClock.elapsedRealtime();
1043 mTimeoutStartTime = mStartTime;
1063 sb.append("startTime ").append(mStartTime)
1200 final long durationInSeconds = (now - activeSyncContext.mStartTime) / 1000;
2200 || (oldestNonExpeditedRegular.mStartTime
2201 > activeSyncContext.mStartTime)) {
2215 && activeSyncContext.mStartTime + MAX_TIME_PER_SYNC < now) {
2391 final long elapsedTime = SystemClock.elapsedRealtime() - activeSyncContext.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;

Completed in 722 milliseconds

12