Home
last modified time | relevance | path

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

12

/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/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DOverScroller.java300 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 …]
DScroller.java49 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/Launcher3/src/com/android/launcher3/util/
DOverScroller.java210 final long elapsedTime = time - mScroller.mStartTime; in computeScrollOffset()
378 return (int) (time - mScroller.mStartTime); in timePassed()
405 private long mStartTime; field in OverScroller.SplineOverScroller
554 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in startScroll()
600 final int elapsedTime = (int) (time - mStartTime); in extendDuration()
611 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in springback()
642 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in fling()
699 mStartTime -= (int) (1000.0f * (totalDuration - durationToApex)); in fitOnBounceCurve()
737 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in notifyEdgeReached()
773 mStartTime += mDuration; in continueWhenFinished()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DFirstFrameAnimatorHelper.java75 private long mStartTime = -1; field in FirstFrameAnimatorHelper.MyListener
82 if (mStartTime == -1) { in onAnimationUpdate()
84 mStartTime = currentTime; in onAnimationUpdate()
103 if (frameNum == 0 && currentTime < mStartTime + MAX_DELAY && currentPlayTime > 0) { in onAnimationUpdate()
113 if (frameNum == 1 && currentTime < mStartTime + MAX_DELAY && in onAnimationUpdate()
115 currentTime > mStartTime + singleFrameMS && in onAnimationUpdate()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DEdgeEffect.java105 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()
DPaper.java114 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/DocumentsUI/perf-tests/src/com/android/documentsui/
DFilesActivityPerfTest.java90 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/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/ManagedProvisioning/src/com/android/managedprovisioning/analytics/
DTimeLogger.java48 private Long mStartTime; field in TimeLogger
87 mStartTime = mAnalyticsUtils.elapsedRealTime(); in start()
95 if (mStartTime != null) { in stop()
97 final int time = (int) (mAnalyticsUtils.elapsedRealTime() - mStartTime); in stop()
99 mStartTime = null; in stop()
/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()
219 mStartTime = NOT_STARTED; in resume()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DFadeTexture.java30 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/TV/tuner/src/com/android/tv/tuner/data/
DPsipData.java680 private final long mStartTime; field in PsipData.EitItem
704 mStartTime = startTime; in EitItem()
735 return mStartTime; in getStartTime()
743 return ConvertUtils.convertGPSTimeToUnixEpoch(mStartTime) * DateUtils.SECOND_IN_MILLIS; in getStartTimeUtcMillis()
747 return ConvertUtils.convertGPSTimeToUnixEpoch(mStartTime + mLengthInSecond) in getEndTimeUtcMillis()
797 if (mStartTime > item.getStartTime()) { in compareTo()
799 } else if (mStartTime < item.getStartTime()) { in compareTo()
850 mStartTime, in toString()
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DNsdResolveQueue.java86 private long mStartTime; field in NsdResolveQueue.NsdResolveRequest
97 mStartTime = System.currentTimeMillis(); in start()
113 + errorCode + " (" + (System.currentTimeMillis() - mStartTime) + " ms)"); in onResolveFailed()
126 + " (" + (System.currentTimeMillis() - mStartTime) + " ms)"); in onServiceResolved()
/packages/apps/DocumentsUI/app-perf-tests/src/com/android/documentsui/
DLauncherActivity.java35 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/
Dprofiler.h32 : 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/
DSimImportService.java265 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()
/packages/apps/Nfc/src/com/android/nfc/beam/
DBeamTransferManager.java143 Long mStartTime; field in BeamTransferManager
155 mStartTime = 0L; in BeamTransferManager()
193 if (mStartTime > 0) { in start()
198 mStartTime = System.currentTimeMillis(); in start()
307 notBuilder.setWhen(mStartTime); in updateNotification()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DContextualCardManager.java93 long mStartTime; field in ContextualCardManager
119 mStartTime = System.currentTimeMillis(); in loadContextualCards()
204 final long loadTime = System.currentTimeMillis() - mStartTime; in onFinishCardLoading()
230 final long totalTime = System.currentTimeMillis() - mStartTime; in onFinishCardLoading()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardManager.java97 long mStartTime; field in ContextualCardManager
127 mStartTime = System.currentTimeMillis(); in loadContextualCards()
212 final long loadTime = System.currentTimeMillis() - mStartTime; in onFinishCardLoading()
245 final long totalTime = System.currentTimeMillis() - mStartTime; in onFinishCardLoading()
/packages/apps/TV/tests/input/src/com/android/tv/testinput/
DTestTvInputService.java404 private long mStartTime; field in TestTvInputService.SimpleRecordingSessionImpl
432 mStartTime = System.currentTimeMillis(); in onStartRecording()
440 final long startTime = mStartTime; in onStopRecording()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DBaseActivity.java114 private long mStartTime; field in BaseActivity
135 mStartTime = new Date().getTime(); in onCreate()
867 Metrics.logStartupMs((int) (new Date().getTime() - mStartTime)); in addListenerForLaunchCompletion()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DContextualCardManagerTest.java224 mManager.mStartTime = System.currentTimeMillis(); in onFinishCardLoading_fastLoad_shouldCallOnContextualCardUpdated()
235 mManager.mStartTime = 0; in onFinishCardLoading_slowLoad_shouldSkipOnContextualCardUpdated()
246 mManager.mStartTime = System.currentTimeMillis(); in onFinishCardLoading_newLaunch_twoLoadedCards_shouldShowTwoCards()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DCopyJob.java841 private long mStartTime = -1; field in CopyJob.CopyJobProgressTracker
866 mStartTime = mElapsedRealTimeSupplier.getAsLong(); in start()
892 final long elapsedTime = currentTime - mStartTime; in estimateRemainingTime()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DProcStatsData.java150 mStats.mMemFactor, mStats.mStartTime, now); in refreshStats()

12