Home
last modified time | relevance | path

Searched refs:mStartTime (Results 1 – 25 of 62) 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.java36 private long mStartTime; field in SystemConfigFileCommitEventLogger
54 mStartTime = startTime; in setStartTime()
61 if (mStartTime == 0) { in onStartWrite()
62 mStartTime = SystemClock.uptimeMillis(); in onStartWrite()
71 SystemClock.uptimeMillis() - mStartTime); in onFinishWrite()
/frameworks/base/core/java/android/app/ambientcontext/
DAmbientContextEvent.java114 @NonNull private final Instant mStartTime; field in AmbientContextEvent
229 this.mStartTime = startTime; in AmbientContextEvent()
231 NonNull.class, null, mStartTime); in AmbientContextEvent()
255 return mStartTime; in getStartTime()
292 "startTime = " + mStartTime + ", " + in toString()
328 sParcellingForStartTime.parcel(mStartTime, dest, flags); in writeToParcel()
354 this.mStartTime = startTime; in AmbientContextEvent()
356 NonNull.class, null, mStartTime); in AmbientContextEvent()
392 private @NonNull Instant mStartTime; field in AmbientContextEvent.Builder
417 mStartTime = value; in setStartTime()
[all …]
/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/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/media/java/android/media/tv/
DAdRequest.java67 private final long mStartTime; field in AdRequest
79 mStartTime = startTime; in AdRequest()
94 mStartTime = source.readLong(); in AdRequest()
132 return mStartTime; in getStartTimeMillis()
195 dest.writeLong(mStartTime); in writeToParcel()
/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/core/java/android/animation/
DTimeAnimator.java42 long totalTime = currentTime - mStartTime; in animateBasedOnTime()
53 mStartTime = Math.max(mStartTime, currentTime - playTime); in setCurrentPlayTime()
DValueAnimator.java115 long mStartTime = -1; field in ValueAnimator
767 mStartTime = currentTime - seekTime; in setCurrentFraction()
863 return (long) ((AnimationUtils.currentAnimationTimeMillis() - mStartTime) / durationScale); in getCurrentPlayTime()
1158 mStartTime = -1; in start()
1284 long currentPlayTime = currentTime - mStartTime; in reverse()
1286 mStartTime = currentTime - timeLeft; in reverse()
1327 mStartTime = -1; in endAnimation()
1393 mStartTime += adjustment; in commitAnimationFrame()
1418 (float)(currentTime - mStartTime) / scaledDuration : 1f; in animateBasedOnTime()
1521 if (mStartTime < 0) { in doAnimationFrame()
[all …]
DAnimatorSet.java577 node.mStartTime = node.mStartTime == DURATION_INFINITE ?
578 DURATION_INFINITE : node.mStartTime + delta;
1184 return overallPlayTime - node.mStartTime;
1530 mRootNode.mStartTime = 0;
1581 if (event.mNode.mStartTime == event.mNode.mEndTime) {
1583 } else if (event.mNode.mEndTime == event.mNode.mStartTime
1666 node.mStartTime = DURATION_INFINITE;
1685 visited.get(j).mStartTime = DURATION_INFINITE;
1688 child.mStartTime = DURATION_INFINITE;
1695 if (child.mStartTime != DURATION_INFINITE) {
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DDropboxRateLimiter.java139 long mStartTime; field in DropboxRateLimiter.ErrorRecord
143 mStartTime = startTime; in ErrorRecord()
148 mStartTime = startTime; in setStartTime()
160 return mStartTime; in getStartTime()
/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()
515 final long startTime = Math.min(mScrollerX.mStartTime, mScrollerY.mStartTime); in timePassed()
551 private long mStartTime; field in OverScroller.SplineOverScroller
677 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in startScroll()
701 final int elapsedTime = (int) (time - mStartTime); in extendDuration()
712 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in springback()
743 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in fling()
800 mStartTime -= (int) (1000.0f * (totalDuration - durationToApex)); in fitOnBounceCurve()
838 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in notifyEdgeReached()
874 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/packages/SystemUI/tests/src/androidx/core/animation/
DAnimatorTestRule2.java87 final long mStartTime; field in AnimatorTestRule2
92 mStartTime = SystemClock.uptimeMillis(); in AnimatorTestRule2()
146 return mStartTime + mTotalTimeDelta;
/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/packages/SystemUI/src/com/android/systemui/util/service/
DPersistentConnectionManager.java66 private long mStartTime;
70 mStartTime = mSystemClock.currentTimeMillis();
80 if (mSystemClock.currentTimeMillis() - mStartTime > mMinConnectionDuration) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DDataCallSessionStats.java54 private long mStartTime; field in DataCallSessionStats
71 mStartTime = getTimeMillis(); in onSetupDataCall()
169 mDataCallSession.durationMinutes = convertMillisToMinutes(getTimeMillis() - mStartTime); in onDataCallDisconnected()
247 call.durationMinutes = convertMillisToMinutes(nowMillis - mStartTime); in conclude()
248 mStartTime = nowMillis; in conclude()

123