/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/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/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/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchService.java | 28 private long mStartTime; field in StopwatchService 46 mStartTime = 0; in onCreate() 57 if (mStartTime == 0 || mElapsedTime == 0 || mNumLaps == 0) { in onStartCommand() 67 mStartTime = actionTime; in onStartCommand() 68 writeSharedPrefsStarted(mStartTime, updateCircle); in onStartCommand() 70 setNotification(mStartTime - mElapsedTime, true, mNumLaps); in onStartCommand() 72 saveNotification(mStartTime - mElapsedTime, true, mNumLaps); in onStartCommand() 76 long lapTimeElapsed = actionTime - mStartTime + mElapsedTime; in onStartCommand() 79 setNotification(mStartTime - mElapsedTime, true, mNumLaps); in onStartCommand() 81 saveNotification(mStartTime - mElapsedTime, true, mNumLaps); in onStartCommand() [all …]
|
D | StopwatchFragment.java | 72 long mStartTime = 0; field in StopwatchFragment 262 mAccumulatedTime += (curTime - mStartTime); in rightButtonAction() 536 mStartTime = time; in doStart() 785 final long curTime = time - mStartTime + mAccumulatedTime; in addLapTime() 891 long totalTime = mAccumulatedTime + (curTime - mStartTime); 904 editor.putLong (Stopwatches.PREF_START_TIME, mStartTime); in writeToSharedPref() 918 editor.putLong(Stopwatches.NOTIF_CLOCK_BASE, mStartTime-mAccumulatedTime); in writeToSharedPref() 935 mStartTime = prefs.getLong(Stopwatches.PREF_START_TIME, 0); in readFromSharedPref() 957 doStart(mStartTime); in readFromSharedPref()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | OverScroller.java | 303 final long elapsedTime = time - mScrollerX.mStartTime; in computeScrollOffset() 528 final long startTime = Math.min(mScrollerX.mStartTime, mScrollerY.mStartTime); in timePassed() 562 private long mStartTime; field in OverScroller.SplineOverScroller 691 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in startScroll() 714 final int elapsedTime = (int) (time - mStartTime); in extendDuration() 725 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in springback() 756 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in fling() 811 mStartTime -= (int) (1000.0f * (totalDuration - durationToApex)); in fitOnBounceCurve() 849 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in notifyEdgeReached() 883 mStartTime += mDuration; in continueWhenFinished() [all …]
|
D | Scroller.java | 50 private long mStartTime; field in Scroller 254 int timePassed = (int)(AnimationUtils.currentAnimationTimeMillis() - mStartTime); in computeScrollOffset() 338 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in startScroll() 397 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in fling() 471 return (int)(AnimationUtils.currentAnimationTimeMillis() - mStartTime); in timePassed()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
D | OverScrollerSGV.java | 305 final long elapsedTime = time - mScrollerX.mStartTime; in computeScrollOffset() 530 final long startTime = Math.min(mScrollerX.mStartTime, mScrollerY.mStartTime); in timePassed() 564 private long mStartTime; field in OverScrollerSGV.SplineOverScroller 690 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in startScroll() 713 final int elapsedTime = (int) (time - mStartTime); in extendDuration() 724 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in springback() 755 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in fling() 810 mStartTime -= (int) (1000.0f * (totalDuration - durationToApex)); in fitOnBounceCurve() 849 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in notifyEdgeReached() 883 mStartTime += mDuration; in continueWhenFinished() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerObj.java | 44 public long mStartTime; // With mTimeLeft , used to calculate the correct time field in TimerObj 89 editor.putLong (key, mStartTime); in writeToSharedPref() 112 mStartTime = prefs.getLong(key, 0); in readFromSharedPref() 162 dest.writeLong(mStartTime); in writeToParcel() 172 mStartTime = p.readLong(); in TimerObj() 198 mStartTime = Utils.getTimeNow(); in init() 206 mTimeLeft = mOriginalLength - (millis - mStartTime); in updateTimeLeft() 226 mTimeLeft = mOriginalLength - (Utils.getTimeNow() - mStartTime); in addTime() 237 return mStartTime + mOriginalLength; in getTimesupTime()
|
D | TimerFragment.java | 798 t.mStartTime = Utils.getTimeNow(); in onPlusOneButtonPressed() 834 t.mStartTime = Utils.getTimeNow() - (t.mOriginalLength - t.mTimeLeft); in onStopButtonPressed() 861 t.mStartTime = Utils.getTimeNow() - (t.mOriginalLength - t.mTimeLeft); in onStopButtonPressed()
|
D | TimerReceiver.java | 138 t.mTimeLeft = t.mOriginalLength - (Utils.getTimeNow() - t.mStartTime); in onReceive() 165 t.mStartTime = Utils.getTimeNow(); in onReceive()
|
/packages/apps/Music/src/com/android/music/ |
D | RepeatingImageButton.java | 33 private long mStartTime; field in RepeatingImageButton 65 mStartTime = SystemClock.elapsedRealtime(); in performLongClick() 76 if (mStartTime != 0) { in onTouchEvent() 78 mStartTime = 0; in onTouchEvent() 104 if (mStartTime != 0) { in onKeyUp() 106 mStartTime = 0; in onKeyUp() 124 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() 105 if (frameNum == 0 && currentTime < mStartTime + MAX_DELAY) { in onAnimationUpdate() 114 } else if (frameNum == 1 && currentTime < mStartTime + MAX_DELAY && in onAnimationUpdate() 116 currentTime > mStartTime + IDEAL_FRAME_DURATION) { in onAnimationUpdate()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | FirstFrameAnimatorHelper.java | 39 private long mStartTime = -1; field in FirstFrameAnimatorHelper 89 if (mStartTime == -1) { in onAnimationUpdate() 91 mStartTime = currentTime; in onAnimationUpdate() 106 if (frameNum == 0 && currentTime < mStartTime + MAX_DELAY && currentPlayTime > 0) { in onAnimationUpdate() 114 } else if (frameNum == 1 && currentTime < mStartTime + MAX_DELAY && in onAnimationUpdate() 116 currentTime > mStartTime + IDEAL_FRAME_DURATION && in onAnimationUpdate()
|
D | LauncherScroller.java | 47 private long mStartTime; field in LauncherScroller 283 int timePassed = (int)(AnimationUtils.currentAnimationTimeMillis() - mStartTime); in computeScrollOffset() 375 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in startScroll() 433 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in fling() 523 return (int)(AnimationUtils.currentAnimationTimeMillis() - mStartTime); in timePassed()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | EyePosition.java | 65 private long mStartTime = NOT_STARTED; field in EyePosition 98 mStartTime = NOT_STARTED; in resetPosition() 151 mStartTime = now; in onGyroscopeChanged() 163 float t = (now - mStartTime) / 1000f * mUserDistance * (-mZ); in onGyroscopeChanged() 164 mStartTime = now; in onGyroscopeChanged() 220 mStartTime = NOT_STARTED; in resume()
|
/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/Email/emailcommon/src/com/android/emailcommon/service/ |
D | ServiceProxy.java | 57 private long mStartTime; field in ServiceProxy 103 (System.currentTimeMillis() - mStartTime) + "ms"); in onServiceConnected() 141 (System.currentTimeMillis() - mStartTime) + "ms"); in onServiceDisconnected() 166 mStartTime = System.currentTimeMillis(); in setTask() 218 (System.currentTimeMillis() - mStartTime) + "ms"); in test()
|
/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/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/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/wallpapers/MusicVisualization/src/com/android/musicvis/vis1/ |
D | Visualization1.java | 59 private long mStartTime; field in Visualization1.CubeEngine 87 mStartTime = SystemClock.elapsedRealtime(); in onCreate()
|