Home
last modified time | relevance | path

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

123

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DStopWatchMap.java32 private long mStartTime; field in StopWatch
38 mStartTime = -1; in StopWatch()
44 if (mStartTime != -1) { in start()
48 mStartTime = SystemClock.elapsedRealtime(); in start()
52 if (mStartTime == -1) { in stop()
57 mTotalTime += stopTime - mStartTime; in stop()
59 mStartTime = -1; in stop()
/frameworks/base/core/java/android/util/
DSystemConfigFileCommitEventLogger.java38 private long mStartTime; field in SystemConfigFileCommitEventLogger
56 mStartTime = startTime; in setStartTime()
64 if (mStartTime == 0) { in onStartWrite()
65 mStartTime = SystemClock.uptimeMillis(); in onStartWrite()
74 writeLogRecord(SystemClock.uptimeMillis() - mStartTime); in onFinishWrite()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DNetworkCycleData.java24 private long mStartTime; field in NetworkCycleData
32 return mStartTime; in getStartTime()
48 getObject().mStartTime = start; in setStartTime()
/frameworks/base/core/java/android/app/ambientcontext/
DAmbientContextEvent.java130 @NonNull private final Instant mStartTime; field in AmbientContextEvent
262 this.mStartTime = startTime; in AmbientContextEvent()
264 NonNull.class, null, mStartTime); in AmbientContextEvent()
291 return mStartTime; in getStartTime()
341 "startTime = " + mStartTime + ", " + in toString()
378 sParcellingForStartTime.parcel(mStartTime, dest, flags); in writeToParcel()
406 this.mStartTime = startTime; in AmbientContextEvent()
408 NonNull.class, null, mStartTime); in AmbientContextEvent()
447 private @NonNull Instant mStartTime; field in AmbientContextEvent.Builder
473 mStartTime = value; in setStartTime()
[all …]
/frameworks/base/services/core/java/com/android/server/location/eventlog/
DLocalEventLog.java99 long mStartTime; field in LocalEventLog
116 mStartTime = -1; in LocalEventLog()
145 mStartTime = time; in addLog()
146 mLastLogTime = mStartTime; in addLog()
156 Preconditions.checkState(mStartTime != -1 && mLastLogTime != -1); in addLogEventInternal()
160 mStartTime += getTimeDelta(mEntries[startIndex()]); in addLogEventInternal()
183 mStartTime = -1; in clear()
284 mLogTime = mStartTime; in LogIterator()
/frameworks/base/core/java/android/animation/
DTimeAnimator.java42 long totalTime = currentTime - mStartTime; in animateBasedOnTime()
53 mStartTime = Math.max(mStartTime, currentTime - playTime); in setCurrentPlayTime()
DAnimatorSet.java587 node.mStartTime = node.mStartTime == DURATION_INFINITE ?
588 DURATION_INFINITE : node.mStartTime + delta;
907 && node.mStartTime != DURATION_INFINITE
910 long start = node.mStartTime;
916 lastPlayTime - node.mStartTime
921 currentPlayTime - node.mStartTime,
922 lastPlayTime - node.mStartTime
940 && node.mStartTime != DURATION_INFINITE
943 long start = node.mStartTime;
948 end - node.mStartTime,
[all …]
DValueAnimator.java115 long mStartTime = -1; field in ValueAnimator
763 mStartTime = currentTime - seekTime; in setCurrentFraction()
859 return (long) ((AnimationUtils.currentAnimationTimeMillis() - mStartTime) / durationScale); in getCurrentPlayTime()
1142 mStartTime = -1; in start()
1263 long currentPlayTime = currentTime - mStartTime; in reverse()
1265 mStartTime = currentTime - timeLeft; in reverse()
1303 mStartTime = -1; in endAnimation()
1363 mStartTime += adjustment; in commitAnimationFrame()
1388 (float)(currentTime - mStartTime) / scaledDuration : 1f; in animateBasedOnTime()
1512 if (mStartTime < 0) {
[all …]
/frameworks/base/core/java/com/android/internal/app/procstats/
DUidState.java42 private long mStartTime; field in UidState
63 unew.mStartTime = mStartTime; in clone()
137 long dur = now - mStartTime; in commitStateTime()
144 mStartTime = now; in commitStateTime()
152 mStartTime = now; in resetSafely()
225 time += now - mStartTime; in getDuration()
281 time += now - mStartTime; in dumpState()
/frameworks/base/media/java/android/media/tv/
DAdRequest.java68 private final long mStartTime; field in AdRequest
110 mStartTime = startTime; in AdRequest()
133 mStartTime = source.readLong(); in AdRequest()
182 return mStartTime; in getStartTimeMillis()
249 dest.writeLong(mStartTime); in writeToParcel()
/frameworks/base/services/core/java/com/android/server/am/
DDropboxRateLimiter.java215 long mStartTime; field in DropboxRateLimiter.ErrorRecord
220 mStartTime = startTime; in ErrorRecord()
226 mStartTime = startTime; in setStartTime()
246 return mStartTime; in getStartTime()
271 return currentTime - mStartTime > bufferExpiry; in hasExpired()
/frameworks/base/libs/hwui/
DAnimator.cpp43 , mStartTime(0) in BaseRenderNodeAnimator()
196 mStartTime = currentFrameTime - (mDuration - mPlayTime); in pushStaging()
201 mStartTime = currentFrameTime + mStartDelay; in pushStaging()
205 mStartTime = currentFrameTime - mPlayTime; in pushStaging()
220 mStartTime = frameTimeMs + mStartDelay; in transitionToRunning()
221 if (mStartTime < 0) { in transitionToRunning()
224 mStartTime, frameTimeMs, mStartDelay); in transitionToRunning()
226 mStartTime = 0; in transitionToRunning()
252 nsecs_t currentPlayTime = context.frameTimeMs() - mStartTime; in animate()
/frameworks/base/core/java/android/widget/
DOverScroller.java297 final long elapsedTime = time - mScrollerX.mStartTime; in computeScrollOffset()
517 final long startTime = Math.min(mScrollerX.mStartTime, mScrollerY.mStartTime); in timePassed()
557 private long mStartTime; field in OverScroller.SplineOverScroller
686 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in startScroll()
710 final int elapsedTime = (int) (time - mStartTime); in extendDuration()
721 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in springback()
752 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in fling()
809 mStartTime -= (int) (1000.0f * (totalDuration - durationToApex)); in fitOnBounceCurve()
847 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in notifyEdgeReached()
883 mStartTime += mDuration; in continueWhenFinished()
[all …]
DEdgeEffect.java192 private long mStartTime; field in EdgeEffect
349 if (mState == STATE_PULL_DECAY && now - mStartTime < mDuration in onPull()
364 mStartTime = now; in onPull()
480 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in onRelease()
499 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in onAbsorb()
505 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in onAbsorb()
702 final float t = Math.min((time - mStartTime) / mDuration, 1.f); in update()
717 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in update()
729 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in update()
751 final float deltaT = (time - mStartTime) / 1000f; // Convert from millis to seconds in updateSpring()
[all …]
/frameworks/av/services/oboeservice/
DTimestampScheduler.cpp25 mStartTime = startTime; in start()
30 int64_t periodsElapsed = (mLastTime - mStartTime) / mBurstPeriod; in nextAbsoluteTime()
/frameworks/base/cmds/incidentd/src/
DFdBuffer.cpp42 mStartTime(-1), in FdBuffer()
57 mStartTime = uptimeMillis(); in read()
72 int64_t remainingTime = (mStartTime + timeout) - uptimeMillis(); in read()
114 mStartTime = uptimeMillis(); in readFully()
153 mStartTime = uptimeMillis(); in readProcessedDataInStream()
177 int64_t remainingTime = (mStartTime + timeoutMs) - uptimeMillis(); in readProcessedDataInStream()
DFdBuffer.h105 int64_t durationMs() const { return mFinishTime - mStartTime; } in durationMs()
114 int64_t mStartTime; variable
/frameworks/base/core/java/android/view/animation/
DAnimation.java149 long mStartTime = -1; field in Animation
334 mStartTime = Long.MIN_VALUE; in cancel()
522 mStartTime = startTimeMillis; in setStartTime()
760 return mStartTime; in getStartTime()
1010 if (mStartTime == -1) { in getTransformation()
1011 mStartTime = currentTime; in getTransformation()
1018 normalizedTime = ((float) (currentTime - (mStartTime + startOffset))) / in getTransformation()
1022 normalizedTime = currentTime < mStartTime ? 0.0f : 1.0f; in getTransformation()
1064 mStartTime = -1; in getTransformation()
1080 return mStartTime == Long.MIN_VALUE; in isCanceled()
/frameworks/base/core/java/android/accessibilityservice/
DGestureDescription.java124 long thisStartTime = mStrokes.get(i).mStartTime; in getNextKeyPointAtLeast()
153 && (time == strokeDescription.mStartTime); in getPointsForTime()
242 long mStartTime; field in GestureDescription.StrokeDescription
310 mStartTime = startTime; in StrokeDescription()
331 return mStartTime; in getStartTime()
340 return mEndTime - mStartTime; in getDuration()
414 float length = mTimeToLengthConversion * ((float) (time - mStartTime)); in getPosForTime()
419 return ((time >= mStartTime) && (time <= mEndTime)); in hasPointForTime()
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleAnimationSession.java53 private long mStartTime; field in RippleAnimationSession
69 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in enter()
137 final long timePassed = AnimationUtils.currentAnimationTimeMillis() - mStartTime; in computeDelay()
182 mStartTime + MAX_NOISE_PHASE); in enterHardware()
213 ValueAnimator loop = ValueAnimator.ofFloat(mStartTime, mStartTime + MAX_NOISE_PHASE); in enterSoftware()
/frameworks/base/core/java/com/android/internal/widget/
DAutoScrollHelper.java728 private long mStartTime; field in AutoScrollHelper.ClampedScroller
743 mStartTime = Long.MIN_VALUE; in ClampedScroller()
762 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in start()
764 mDeltaTime = mStartTime; in start()
775 mEffectiveRampDown = constrain((int) (currentTime - mStartTime), 0, mRampDownDuration); in requestStop()
786 if (currentTime < mStartTime) { in getValueAt()
789 final long elapsedSinceStart = currentTime - mStartTime; in getValueAt()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/
DUsageStats.java38 private long mStartTime; field in UsageStats.AuthenticationEvent
49 mStartTime = startTime; in AuthenticationEvent()
58 return "Start: " + mStartTime in toString()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DRenderEffectViewActivity.kt35 private var mStartTime = System.currentTimeMillis() in <lambda>() variable
71 (System.currentTimeMillis() - mStartTime) / 1000f) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/service/
DPersistentConnectionManager.java76 private long mStartTime;
80 mStartTime = mSystemClock.currentTimeMillis();
90 if (mSystemClock.currentTimeMillis() - mStartTime > mMinConnectionDuration) {
/frameworks/base/graphics/java/android/graphics/
DGraphicsStatsService.java241 if (buffer.mInfo.mStartTime == targetDay) { in pullGraphicsStatsImpl()
296 normalizeDate(info.mStartTime).getTimeInMillis(), info.mPackageName, in pathForApp()
315 buffer.mInfo.mVersionCode, buffer.mInfo.mStartTime, buffer.mInfo.mEndTime, in saveBuffer()
384 if (buffer.mInfo.mStartTime < today) { in fetchActiveBuffersLocked()
409 buffer.mInfo.mVersionCode, buffer.mInfo.mStartTime, buffer.mInfo.mEndTime, in dumpActiveLocked()
483 long mStartTime; field in GraphicsStatsService.BufferInfo
489 this.mStartTime = startTime; in BufferInfo()

123