Home
last modified time | relevance | path

Searched refs:mStartTime (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/anim/
DAnimation.java52 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/Music/src/com/android/music/
DRepeatingImageButton.java33 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/QuickSearchBox/src/com/android/quicksearchbox/
DLatencyTracker.java31 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/ui/
DFadeTexture.java30 private final long mStartTime; field in FadeTexture
41 mStartTime = now(); in FadeTexture()
67 if (now() - mStartTime >= DURATION) { in isAnimating()
75 float r = (float)(now() - mStartTime) / DURATION; in getRatio()
DEdgeEffect.java102 private long mStartTime; field in EdgeEffect
183 if (mState == STATE_PULL_DECAY && now - mStartTime < mDuration) { in onPull()
191 mStartTime = now; in onPull()
247 mStartTime = AnimationTime.get(); in onRelease()
265 mStartTime = AnimationTime.get(); in onAbsorb()
347 final float t = Math.min((time - mStartTime) / mDuration, 1.f); in update()
360 mStartTime = AnimationTime.get(); in update()
376 mStartTime = AnimationTime.get(); in update()
DPaper.java113 private long mStartTime; field in EdgeAnimation
126 mStartTime = now(); in startAnimation()
154 float t = Utils.clamp((float)(now() - mStartTime) / mDuration, 0.0f, 1.0f); in update()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DEyePosition.java64 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()
217 mStartTime = NOT_STARTED; in resume()
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventView.java189 private Time mStartTime; field in EditEventView
214 Time startTime = mStartTime; in onTimeSet()
287 Time startTime = mStartTime; in onDateSet()
344 long startMillis = mStartTime.toMillis(false /* use isDst */); in populateWhen()
352 mStartDateButton.setOnClickListener(new DateClickListener(mStartTime)); in populateWhen()
355 mStartTimeButton.setOnClickListener(new TimeClickListener(mStartTime)); in populateWhen()
416 Time time = mStartTime; in populateRepeats()
565 if (mStartTime.weekDay != Time.SUNDAY && mStartTime.weekDay != Time.SATURDAY) { in isWeekdayEvent()
768 mStartTime.hour = 0; in fillModelFromUI()
769 mStartTime.minute = 0; in fillModelFromUI()
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DServiceProxy.java56 private long mStartTime; field in ServiceProxy
153 mStartTime = System.currentTimeMillis(); in setTask()
195 (System.currentTimeMillis() - mStartTime) + "ms"); in test()
/packages/apps/Nfc/src/com/android/nfc/handover/
DBluetoothOppHandover.java53 Long mStartTime; field in BluetoothOppHandover
91 mStartTime = SystemClock.elapsedRealtime(); in start()
146 Long timeElapsed = SystemClock.elapsedRealtime() - mStartTime; in handleIntent()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmKlaxon.java52 private long mStartTime; field in AlarmKlaxon
142 long millis = System.currentTimeMillis() - mStartTime; in sendKillBroadcast()
225 mStartTime = System.currentTimeMillis(); in play()
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis1/
DVisualization1.java59 private long mStartTime; field in Visualization1.CubeEngine
87 mStartTime = SystemClock.elapsedRealtime(); in onCreate()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageDetail.java120 private long mStartTime; field in PowerUsageDetail
150 mStartTime = android.os.Process.getElapsedCpuTime(); in onResume()