/packages/apps/Gallery2/src/com/android/gallery3d/anim/ |
D | Animation.java | 52 private long mStartTime = NO_ANIMATION; field in Animation 65 mStartTime = ANIMATION_START; in start() 69 mStartTime = time; in setStartTime() 73 return mStartTime != NO_ANIMATION; in isActive() 77 mStartTime = NO_ANIMATION; in forceStop() 81 if (mStartTime == NO_ANIMATION) return false; in calculate() 82 if (mStartTime == ANIMATION_START) mStartTime = currentTimeMillis; in calculate() 83 int elapse = (int) (currentTimeMillis - mStartTime); in calculate() 87 if (elapse >= mDuration) mStartTime = NO_ANIMATION; in calculate() 88 return mStartTime != NO_ANIMATION; in calculate()
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | GlobalDismissManager.java | 55 public final long mStartTime; field in GlobalDismissManager.GlobalDismissId 66 mStartTime = startTime; in GlobalDismissId() 80 if (mStartTime != that.mStartTime) { in equals() 97 result = 31 * result + (int) (mStartTime ^ (mStartTime >>> 32)); in hashCode() 106 public final long mStartTime; field in GlobalDismissManager.LocalDismissId 119 mStartTime = startTime; in LocalDismissId() 136 if (mStartTime != that.mStartTime) { in equals() 154 result = 31 * result + (int) (mStartTime ^ (mStartTime >>> 32)); in hashCode() 310 long startTime = dismissId.mStartTime; in syncSenderDismissCache() 505 CalendarAlerts.BEGIN + "=" + globalDismissId.mStartTime; in syncReceiverDismissCache()
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EditEventView.java | 217 private Time mStartTime; field in EditEventView 243 Time startTime = mStartTime; in onTimeSet() 341 Time startTime = mStartTime; in onDateSet() 398 long startMillis = mStartTime.toMillis(false /* use isDst */); in populateWhen() 406 mStartDateButton.setOnClickListener(new DateClickListener(mStartTime)); in populateWhen() 409 mStartTimeButton.setOnClickListener(new TimeClickListener(mStartTime)); in populateWhen() 422 mStartTime.timezone = mTimezone; in setTimezone() 423 long timeMillis = mStartTime.normalize(true); in setTimezone() 443 b.putLong(TimeZonePickerDialog.BUNDLE_START_TIME_MILLIS, mStartTime.toMillis(false)); in showTimezoneDialog() 600 mStartTime.toMillis(false)); in onClick() [all …]
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | OverScroller.java | 300 final long elapsedTime = time - mScrollerX.mStartTime; in computeScrollOffset() 525 final long startTime = Math.min(mScrollerX.mStartTime, mScrollerY.mStartTime); in timePassed() 559 private long mStartTime; field in OverScroller.SplineOverScroller 688 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in startScroll() 711 final int elapsedTime = (int) (time - mStartTime); in extendDuration() 722 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in springback() 753 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in fling() 808 mStartTime -= (int) (1000.0f * (totalDuration - durationToApex)); in fitOnBounceCurve() 846 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in notifyEdgeReached() 880 mStartTime += mDuration; in continueWhenFinished() [all …]
|
D | Scroller.java | 49 private long mStartTime; field in Scroller 253 int timePassed = (int)(AnimationUtils.currentAnimationTimeMillis() - mStartTime); in computeScrollOffset() 337 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in startScroll() 396 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in fling() 470 return (int)(AnimationUtils.currentAnimationTimeMillis() - mStartTime); in timePassed()
|
/packages/apps/Music/src/com/android/music/ |
D | RepeatingImageButton.java | 32 private long mStartTime; field in RepeatingImageButton 64 mStartTime = SystemClock.elapsedRealtime(); in performLongClick() 75 if (mStartTime != 0) { in onTouchEvent() 77 mStartTime = 0; in onTouchEvent() 103 if (mStartTime != 0) { in onKeyUp() 105 mStartTime = 0; in onKeyUp() 123 mListener.onRepeat(this, now - mStartTime, last ? -1 : mRepeatCount++); in doRepeat()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | EdgeEffect.java | 105 private long mStartTime; field in EdgeEffect 186 if (mState == STATE_PULL_DECAY && now - mStartTime < mDuration) { in onPull() 194 mStartTime = now; in onPull() 250 mStartTime = AnimationTime.get(); in onRelease() 268 mStartTime = AnimationTime.get(); in onAbsorb() 350 final float t = Math.min((time - mStartTime) / mDuration, 1.f); in update() 363 mStartTime = AnimationTime.get(); in update() 379 mStartTime = AnimationTime.get(); in update()
|
D | Paper.java | 114 private long mStartTime; field in EdgeAnimation 127 mStartTime = now(); in startAnimation() 155 float t = Utils.clamp((float)(now() - mStartTime) / mDuration, 0.0f, 1.0f); in update()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | FirstFrameAnimatorHelper.java | 39 private long mStartTime = -1; field in FirstFrameAnimatorHelper 89 if (mStartTime == -1) { in onAnimationUpdate() 91 mStartTime = currentTime; in onAnimationUpdate() 107 if (frameNum == 0 && currentTime < mStartTime + MAX_DELAY) { in onAnimationUpdate() 116 } else if (frameNum == 1 && currentTime < mStartTime + MAX_DELAY && in onAnimationUpdate() 118 currentTime > mStartTime + IDEAL_FRAME_DURATION) { in onAnimationUpdate()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | FirstFrameAnimatorHelper.java | 41 private long mStartTime = -1; field in FirstFrameAnimatorHelper 91 if (mStartTime == -1) { in onAnimationUpdate() 93 mStartTime = currentTime; in onAnimationUpdate() 110 if (frameNum == 0 && currentTime < mStartTime + MAX_DELAY && currentPlayTime > 0) { in onAnimationUpdate() 118 } else if (frameNum == 1 && currentTime < mStartTime + MAX_DELAY && in onAnimationUpdate() 120 currentTime > mStartTime + IDEAL_FRAME_DURATION && in onAnimationUpdate()
|
D | LauncherScroller.java | 46 private long mStartTime; field in LauncherScroller 282 int timePassed = (int)(AnimationUtils.currentAnimationTimeMillis() - mStartTime); in computeScrollOffset() 374 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in startScroll() 432 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in fling() 522 return (int)(AnimationUtils.currentAnimationTimeMillis() - mStartTime); in timePassed()
|
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/ |
D | FilesActivityPerfTest.java | 90 mStartTime = System.currentTimeMillis(); in testFilesListedPerformance() 92 mStartTime = -1; in testFilesListedPerformance() 101 assertTrue(mStartTime != -1); in testFilesListedPerformance() 105 assertTrue(mStartTime != -1); in testFilesListedPerformance() 106 measurements.add(System.currentTimeMillis() - mStartTime); in testFilesListedPerformance() 112 private long mStartTime = -1; in testFilesListedPerformance()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ |
D | MinTimeProgressView.java | 37 private long mStartTime = -1; field in MinTimeProgressView 66 mStartTime = System.currentTimeMillis(); 74 long diff = System.currentTimeMillis() - mStartTime; in hide() 75 if (diff >= sMinShowTime || mStartTime == -1) { in hide() 90 mStartTime = -1; in show()
|
D | MinTimeProgressDialog.java | 39 private long mStartTime = -1; field in MinTimeProgressDialog 74 long diff = System.currentTimeMillis() - mStartTime; in dismiss() 75 if (diff >= mMinShowTime || mStartTime == -1) { in dismiss() 109 mStartTime = System.currentTimeMillis(); in onShow()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/ |
D | TimeLogger.java | 44 private Long mStartTime; field in TimeLogger 78 mStartTime = mAnalyticsUtils.elapsedRealTime(); in start() 86 if (mStartTime != null) { in stop() 88 final int time = (int) (mAnalyticsUtils.elapsedRealTime() - mStartTime); in stop() 90 mStartTime = null; in stop()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | EyePosition.java | 64 private long mStartTime = NOT_STARTED; field in EyePosition 97 mStartTime = NOT_STARTED; in resetPosition() 150 mStartTime = now; in onGyroscopeChanged() 162 float t = (now - mStartTime) / 1000f * mUserDistance * (-mZ); in onGyroscopeChanged() 163 mStartTime = now; in onGyroscopeChanged() 219 mStartTime = NOT_STARTED; in resume()
|
/packages/apps/TV/src/com/android/tv/tuner/data/ |
D | PsipData.java | 646 private final long mStartTime; field in PsipData.EitItem 662 mStartTime = startTime; in EitItem() 693 return mStartTime; in getStartTime() 701 return ConvertUtils.convertGPSTimeToUnixEpoch(mStartTime) * DateUtils.SECOND_IN_MILLIS; in getStartTimeUtcMillis() 706 mStartTime + mLengthInSecond) * DateUtils.SECOND_IN_MILLIS; in getEndTimeUtcMillis() 755 if (mStartTime > item.getStartTime()) { in compareTo() 757 } else if (mStartTime < item.getStartTime()) { in compareTo() 804 mProgramId, mEventId, mTitleText, mStartTime, mLengthInSecond, mContentRating, in toString()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | LatencyTracker.java | 31 private long mStartTime; field in LatencyTracker 37 mStartTime = SystemClock.uptimeMillis(); in LatencyTracker() 44 mStartTime = SystemClock.uptimeMillis(); in reset() 52 return (int) (now - mStartTime); in getLatency()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
D | ServiceProxy.java | 59 private long mStartTime; field in ServiceProxy 104 (System.currentTimeMillis() - mStartTime) + "ms"); in onServiceConnected() 152 (System.currentTimeMillis() - mStartTime) + "ms"); in onServiceDisconnected() 177 mStartTime = System.currentTimeMillis(); in setTask() 229 (System.currentTimeMillis() - mStartTime) + "ms"); in test()
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | FadeTexture.java | 30 private final long mStartTime; field in FadeTexture 40 mStartTime = now(); in FadeTexture() 66 if (now() - mStartTime >= DURATION) { in isAnimating() 74 float r = (float)(now() - mStartTime) / DURATION; in getRatio()
|
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/ |
D | NsdResolveQueue.java | 101 private long mStartTime; field in NsdResolveQueue.NsdResolveRequest 112 mStartTime = System.currentTimeMillis(); in start() 121 errorCode + " (" + (System.currentTimeMillis() - mStartTime) + " ms)"); in onResolveFailed() 134 " (" + (System.currentTimeMillis() - mStartTime) + " ms)"); in onServiceResolved()
|
/packages/apps/UnifiedEmail/src/com/android/mail/perf/ |
D | SimpleTimer.java | 35 private long mStartTime; field in SimpleTimer 58 mStartTime = mLastMarkTime = SystemClock.uptimeMillis(); in start() 65 LogUtils.d(getTag(), "[%s] %sms elapsed (%sms since last mark)", msg, now - mStartTime, in mark()
|
/packages/apps/DocumentsUI/app-perf-tests/src/com/android/documentsui/ |
D | LauncherActivity.java | 35 private long mStartTime = -1; field in LauncherActivity 48 mStartTime = System.currentTimeMillis(); in onCreate() 57 measurement = System.currentTimeMillis() - mStartTime; in onActivityResult()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | profiler.h | 32 : mClockId(clockId), mStartTime(getTimeInMicroSec()), mStartTimes(), mTimes(), in Profiler() 37 static_cast<float>(getTimeInMicroSec() - mStartTime) / 1000.f; in ~Profiler() 60 int64_t mStartTime; variable
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | SimImportService.java | 265 private final long mStartTime; field in SimImportService.ImportTask 275 mStartTime = System.currentTimeMillis(); in ImportTask() 320 .putExtra(EXTRA_OPERATION_REQUESTED_AT_TIME, mStartTime) in onPostExecute() 327 .putExtra(EXTRA_OPERATION_REQUESTED_AT_TIME, mStartTime) in onPostExecute()
|