/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() 593 mStartTime.toMillis(false)); in onClick() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchService.java | 31 private long mStartTime; field in StopwatchService 49 mStartTime = 0; in onCreate() 60 if (mStartTime == 0 || mElapsedTime == 0 || mNumLaps == 0) { in onStartCommand() 70 mStartTime = actionTime; in onStartCommand() 71 writeSharedPrefsStarted(mStartTime, updateCircle); in onStartCommand() 73 setNotification(mStartTime - mElapsedTime, true, mNumLaps); in onStartCommand() 75 saveNotification(mStartTime - mElapsedTime, true, mNumLaps); in onStartCommand() 79 long lapTimeElapsed = actionTime - mStartTime + mElapsedTime; in onStartCommand() 82 setNotification(mStartTime - mElapsedTime, true, mNumLaps); in onStartCommand() 84 saveNotification(mStartTime - mElapsedTime, true, mNumLaps); in onStartCommand() [all …]
|
D | StopwatchFragment.java | 59 long mStartTime = 0; field in StopwatchFragment 238 mAccumulatedTime += (curTime - mStartTime); in rightButtonAction() 414 mStartTime = time; in doStart() 626 long curTime = time - mStartTime + mAccumulatedTime; in addLapTime() 680 long totalTime = mAccumulatedTime + (curTime - mStartTime); 693 editor.putLong (Stopwatches.PREF_START_TIME, mStartTime); in writeToSharedPref() 707 editor.putLong(Stopwatches.NOTIF_CLOCK_BASE, mStartTime-mAccumulatedTime); in writeToSharedPref() 724 mStartTime = prefs.getLong(Stopwatches.PREF_START_TIME, 0); in readFromSharedPref() 746 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/timer/ |
D | TimerObj.java | 41 public long mStartTime; // With mTimeLeft , used to calculate the correct time field in TimerObj 83 editor.putLong (key, mStartTime); in writeToSharedPref() 104 mStartTime = prefs.getLong(key, 0); in readFromSharedPref() 148 dest.writeLong(mStartTime); in writeToParcel() 158 mStartTime = p.readLong(); in TimerObj() 176 mStartTime = Utils.getTimeNow(); in init() 184 mTimeLeft = mOriginalLength - (millis - mStartTime); in updateTimeLeft() 198 mTimeLeft = mOriginalLength - (Utils.getTimeNow() - mStartTime); in addTime() 205 return mStartTime + mOriginalLength; in getTimesupTime()
|
D | TimerFragment.java | 520 t.mTimeLeft = t.mOriginalLength - (now - t.mStartTime); in onResume() 774 t.mStartTime = Utils.getTimeNow(); in onPlusOneButtonPressed() 813 t.mStartTime = Utils.getTimeNow() - (t.mOriginalLength - t.mTimeLeft); in onStopButtonPressed() 831 t.mStartTime = Utils.getTimeNow() - (t.mOriginalLength - t.mTimeLeft); in onStopButtonPressed() 980 t.mTimeLeft = t.mOriginalLength - (now - t.mStartTime); in onSharedPreferenceChanged()
|
/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 | 40 private long mStartTime = -1; field in FirstFrameAnimatorHelper 90 if (mStartTime == -1) { in onAnimationUpdate() 92 mStartTime = currentTime; in onAnimationUpdate() 106 if (frameNum == 0 && currentTime < mStartTime + MAX_DELAY) { in onAnimationUpdate() 115 } else if (frameNum == 1 && currentTime < mStartTime + MAX_DELAY && in onAnimationUpdate() 117 currentTime > mStartTime + IDEAL_FRAME_DURATION) { in onAnimationUpdate()
|
/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/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/Email/emailcommon/src/com/android/emailcommon/service/ |
D | ServiceProxy.java | 56 private long mStartTime; field in ServiceProxy 153 mStartTime = System.currentTimeMillis(); in setTask() 195 (System.currentTimeMillis() - mStartTime) + "ms"); in test()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AlarmKlaxon.java | 52 private long mStartTime; field in AlarmKlaxon 146 long millis = System.currentTimeMillis() - mStartTime; in sendKillBroadcast() 231 mStartTime = System.currentTimeMillis(); in play()
|
/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()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | PowerUsageDetail.java | 125 private long mStartTime; field in PowerUsageDetail 159 mStartTime = android.os.Process.getElapsedCpuTime(); in onResume()
|