Searched refs:mStartTime (Results 1 - 25 of 29) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/gallery3d/anim/
H A DAnimation.java52 private long mStartTime = NO_ANIMATION; field in class:Animation
65 mStartTime = ANIMATION_START;
69 mStartTime = time;
73 return mStartTime != NO_ANIMATION;
77 mStartTime = NO_ANIMATION;
81 if (mStartTime == NO_ANIMATION) return false;
82 if (mStartTime == ANIMATION_START) mStartTime = currentTimeMillis;
83 int elapse = (int) (currentTimeMillis - mStartTime);
87 if (elapse >= mDuration) mStartTime
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DLatencyTracker.java31 private long mStartTime; field in class:LatencyTracker
37 mStartTime = SystemClock.uptimeMillis();
44 mStartTime = SystemClock.uptimeMillis();
52 return (int) (now - mStartTime);
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DFadeTexture.java30 private final long mStartTime; field in class:FadeTexture
40 mStartTime = now();
66 if (now() - mStartTime >= DURATION) {
74 float r = (float)(now() - mStartTime) / DURATION;
/packages/apps/Music/src/com/android/music/
H A DRepeatingImageButton.java33 private long mStartTime; field in class:RepeatingImageButton
65 mStartTime = SystemClock.elapsedRealtime();
76 if (mStartTime != 0) {
78 mStartTime = 0;
104 if (mStartTime != 0) {
106 mStartTime = 0;
124 mListener.onRepeat(this, now - mStartTime, last ? -1 : mRepeatCount++);
/packages/apps/UnifiedEmail/src/com/android/mail/
H A DMinTimeProgressView.java37 private long mStartTime = -1; field in class:MinTimeProgressView
66 mStartTime = System.currentTimeMillis();
74 long diff = System.currentTimeMillis() - mStartTime;
75 if (diff >= sMinShowTime || mStartTime == -1) {
90 mStartTime = -1;
H A DMinTimeProgressDialog.java39 private long mStartTime = -1; field in class:MinTimeProgressDialog
74 long diff = System.currentTimeMillis() - mStartTime;
75 if (diff >= mMinShowTime || mStartTime == -1) {
109 mStartTime = System.currentTimeMillis();
/packages/apps/UnifiedEmail/src/com/android/mail/perf/
H A DSimpleTimer.java35 private long mStartTime; field in class:SimpleTimer
58 mStartTime = mLastMarkTime = SystemClock.uptimeMillis();
65 LogUtils.d(getTag(), "[%s] %sms elapsed (%sms since last mark)", msg, now - mStartTime,
/packages/apps/Launcher2/src/com/android/launcher2/
H A DFirstFrameAnimatorHelper.java39 private long mStartTime = -1; field in class:FirstFrameAnimatorHelper
89 if (mStartTime == -1) {
91 mStartTime = currentTime;
107 if (frameNum == 0 && currentTime < mStartTime + MAX_DELAY) {
116 } else if (frameNum == 1 && currentTime < mStartTime + MAX_DELAY &&
118 currentTime > mStartTime + IDEAL_FRAME_DURATION) {
/packages/apps/Launcher3/src/com/android/launcher3/
H A DFirstFrameAnimatorHelper.java41 private long mStartTime = -1; field in class:FirstFrameAnimatorHelper
91 if (mStartTime == -1) {
93 mStartTime = currentTime;
110 if (frameNum == 0 && currentTime < mStartTime + MAX_DELAY && currentPlayTime > 0) {
118 } else if (frameNum == 1 && currentTime < mStartTime + MAX_DELAY &&
120 currentTime > mStartTime + IDEAL_FRAME_DURATION &&
H A DLauncherScroller.java46 private long mStartTime; field in class:LauncherScroller
282 int timePassed = (int)(AnimationUtils.currentAnimationTimeMillis() - mStartTime);
374 mStartTime = AnimationUtils.currentAnimationTimeMillis();
432 mStartTime = AnimationUtils.currentAnimationTimeMillis();
522 return (int)(AnimationUtils.currentAnimationTimeMillis() - mStartTime);
/packages/inputmethods/LatinIME/native/jni/src/utils/
H A Dprofiler.h32 : mClockId(clockId), mStartTime(getTimeInMicroSec()), mStartTimes(), mTimes(),
37 static_cast<float>(getTimeInMicroSec() - mStartTime) / 1000.f;
60 int64_t mStartTime; member in class:latinime::final
/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DLauncherEdgeEffect.java67 private long mStartTime; field in class:LauncherEdgeEffect
174 if (mState == STATE_PULL_DECAY && now - mStartTime < mDuration) {
182 mStartTime = now;
224 mStartTime = AnimationUtils.currentAnimationTimeMillis();
242 mStartTime = AnimationUtils.currentAnimationTimeMillis();
322 final float t = Math.min((time - mStartTime) / mDuration, 1.f);
334 mStartTime = AnimationUtils.currentAnimationTimeMillis();
346 mStartTime = AnimationUtils.currentAnimationTimeMillis();
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DServiceProxy.java59 private long mStartTime; field in class:ServiceProxy
104 (System.currentTimeMillis() - mStartTime) + "ms");
152 (System.currentTimeMillis() - mStartTime) + "ms");
177 mStartTime = System.currentTimeMillis();
229 (System.currentTimeMillis() - mStartTime) + "ms");
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
H A DObexTestDataHandler.java20 long mStartTime = 0; field in class:ObexTestDataHandler
40 long deltaT = System.currentTimeMillis() - mStartTime;
67 mStartTime = System.currentTimeMillis();
113 mStartTime = System.currentTimeMillis();
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DEdgeEffect.java105 private long mStartTime; field in class:EdgeEffect
186 if (mState == STATE_PULL_DECAY && now - mStartTime < mDuration) {
194 mStartTime = now;
250 mStartTime = AnimationTime.get();
268 mStartTime = AnimationTime.get();
350 final float t = Math.min((time - mStartTime) / mDuration, 1.f);
363 mStartTime = AnimationTime.get();
379 mStartTime = AnimationTime.get();
H A DPaper.java114 private long mStartTime; field in class:EdgeAnimation
127 mStartTime = now();
155 float t = Utils.clamp((float)(now() - mStartTime) / mDuration, 0.0f, 1.0f);
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DEyePosition.java64 private long mStartTime = NOT_STARTED; field in class:EyePosition
97 mStartTime = NOT_STARTED;
150 mStartTime = now;
162 float t = (now - mStartTime) / 1000f * mUserDistance * (-mZ);
163 mStartTime = now;
219 mStartTime = NOT_STARTED;
/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DGlobalDismissManager.java55 public final long mStartTime; field in class:GlobalDismissManager.GlobalDismissId
66 mStartTime = startTime;
80 if (mStartTime != that.mStartTime) {
97 result = 31 * result + (int) (mStartTime ^ (mStartTime >>> 32));
106 public final long mStartTime; field in class:GlobalDismissManager.LocalDismissId
119 mStartTime = startTime;
136 if (mStartTime != that.mStartTime) {
[all...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DOverScroller.java300 final long elapsedTime = time - mScrollerX.mStartTime;
525 final long startTime = Math.min(mScrollerX.mStartTime, mScrollerY.mStartTime);
559 private long mStartTime; field in class:OverScroller.SplineOverScroller
688 mStartTime = AnimationUtils.currentAnimationTimeMillis();
711 final int elapsedTime = (int) (time - mStartTime);
722 mStartTime = AnimationUtils.currentAnimationTimeMillis();
735 // mStartTime has been set
753 mStartTime = AnimationUtils.currentAnimationTimeMillis();
808 mStartTime
[all...]
H A DScroller.java49 private long mStartTime; field in class:Scroller
253 int timePassed = (int)(AnimationUtils.currentAnimationTimeMillis() - mStartTime);
337 mStartTime = AnimationUtils.currentAnimationTimeMillis();
396 mStartTime = AnimationUtils.currentAnimationTimeMillis();
470 return (int)(AnimationUtils.currentAnimationTimeMillis() - mStartTime);
/packages/services/Car/car-support-lib/src/android/support/car/ui/
H A DQuantumInterpolator.java91 private final float mStartTime; field in class:QuantumInterpolator
98 mStartTime = pre / (pre + during + post);
99 mEndTime = mStartTime + (during / (pre + during + post));
104 return getInterpolation(input, mStartTime, mEndTime);
108 return getInterpolation(input, 1 - mEndTime, 1 - mStartTime);
/packages/apps/TV/usbtuner/src/com/android/usbtuner/data/
H A DPsipData.java513 private final long mStartTime; field in class:PsipData.EitItem
529 mStartTime = startTime;
560 return mStartTime;
568 return ConvertUtils.convertGPSTimeToUnixEpoch(mStartTime) * DateUtils.SECOND_IN_MILLIS;
573 mStartTime + mLengthInSecond) * DateUtils.SECOND_IN_MILLIS;
622 if (mStartTime > item.getStartTime()) {
624 } else if (mStartTime < item.getStartTime()) {
672 mProgramId, mEventId, mTitleText, mStartTime, mLengthInSecond, mContentRating,
/packages/apps/Calendar/src/com/android/calendar/event/
H A DEditEventView.java217 private Time mStartTime; field in class:EditEventView
243 Time startTime = mStartTime;
341 Time startTime = mStartTime;
398 long startMillis = mStartTime.toMillis(false /* use isDst */);
406 mStartDateButton.setOnClickListener(new DateClickListener(mStartTime));
409 mStartTimeButton.setOnClickListener(new TimeClickListener(mStartTime));
422 mStartTime.timezone = mTimezone;
423 long timeMillis = mStartTime.normalize(true);
443 b.putLong(TimeZonePickerDialog.BUNDLE_START_TIME_MILLIS, mStartTime.toMillis(false));
600 mStartTime
[all...]
/packages/apps/TV/src/com/android/tv/dvr/
H A DScheduledRecording.java97 private long mStartTime; field in class:ScheduledRecording.Builder
130 mStartTime = startTime;
150 return new ScheduledRecording(mId, mPriority, mChannelId, mProgramId, mType, mStartTime,
/packages/apps/Nfc/src/com/android/nfc/beam/
H A DBeamTransferManager.java138 Long mStartTime; field in class:BeamTransferManager
150 mStartTime = 0L;
182 if (mStartTime > 0) {
187 mStartTime = System.currentTimeMillis();
294 notBuilder.setWhen(mStartTime);

Completed in 2357 milliseconds

12