Home
last modified time | relevance | path

Searched refs:mStartTime (Results 1 – 25 of 36) 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/services/Car/car-lib/src/android/car/watchdog/
DIoOveruseStats.java35 private long mStartTime; field in IoOveruseStats
99 this.mStartTime = startTime; in IoOveruseStats()
117 return mStartTime; in getStartTime()
183 "startTime = " + mStartTime + ", " + in toString()
202 dest.writeLong(mStartTime); in writeToParcel()
230 this.mStartTime = startTime; in IoOveruseStats()
265 private long mStartTime; field in IoOveruseStats.Builder
286 mStartTime = startTime; in Builder()
297 mStartTime = value; in setStartTime()
396 mStartTime, in build()
/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/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/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/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/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/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/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/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/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/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/Car/Launcher/src/com/android/car/carlauncher/homescreen/ui/
DDescriptiveTextWithControlsView.java35 private long mStartTime; field in DescriptiveTextWithControlsView
60 mStartTime = startTime; in DescriptiveTextWithControlsView()
84 return mStartTime; in getStartTime()
/packages/modules/Scheduling/service/java/com/android/server/scheduling/
DRebootReadinessLogger.java66 private long mStartTime; field in RebootReadinessLogger
129 mStartTime = startTime; in writeAfterRebootReadyBroadcast()
196 mStartTime = rebootStats.getStartTimeMs(); in readMetricsPostReboot()
222 long timeToRebootReadyMs = mReadyTime - mStartTime; in writePostRebootMetrics()
363 pw.println(" Start timestamp: " + mStartTime); in dump()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/
DWfcActivationController.java75 private long mStartTime; field in WfcActivationController
103 mStartTime = mTelephonyUtils.getUptimeMillis(); in startFlow()
146 mDurationMillis = mTelephonyUtils.getUptimeMillis() - mStartTime; in finish()
372 mDurationMillis = mTelephonyUtils.getUptimeMillis() - mStartTime; in finishStatsLog()
/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/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/components/
DMetricDisplay.java74 private long mStartTime; field in MetricDisplay
89 mStartTime = System.currentTimeMillis() - Settings.Global.getLong( in MetricDisplay()
169 mNetStatsMan.querySummary(template, mStartTime, System.currentTimeMillis())); in trafficFor()
/packages/providers/MediaProvider/src/com/android/providers/media/
DCacheClearingActivity.java107 private long mStartTime; field in CacheClearingActivity.CacheClearingTask
114 mStartTime = System.currentTimeMillis(); in onPreExecute()
134 final long duration = System.currentTimeMillis() - 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/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/property/
DPropertyListAdapter.java160 private final SparseLongArray mStartTime = new SparseLongArray(); field in PropertyListAdapter.PropertyListEventListener
173 mStartTime.put(propId, System.currentTimeMillis()); in updatePropertyStartTime()
194 - mStartTime.get(propId)))); in onChangeEvent()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardManager.java95 long mStartTime; field in ContextualCardManager
125 mStartTime = System.currentTimeMillis(); in loadContextualCards()
234 final long loadTime = System.currentTimeMillis() - mStartTime; in onFinishCardLoading()
267 final long totalTime = System.currentTimeMillis() - mStartTime; in onFinishCardLoading()

12