Home
last modified time | relevance | path

Searched refs:mStartTime (Results 1 – 25 of 54) 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/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/animation/
DTimeAnimator.java42 long totalTime = currentTime - mStartTime; in animateBasedOnTime()
53 mStartTime = Math.max(mStartTime, currentTime - playTime); in setCurrentPlayTime()
DValueAnimator.java104 long mStartTime = -1; field in ValueAnimator
684 mStartTime = currentTime - seekTime; in setCurrentFraction()
780 return (long) ((AnimationUtils.currentAnimationTimeMillis() - mStartTime) / durationScale); in getCurrentPlayTime()
1075 mStartTime = -1; in start()
1201 long currentPlayTime = currentTime - mStartTime; in reverse()
1203 mStartTime = currentTime - timeLeft; in reverse()
1244 mStartTime = -1; in endAnimation()
1310 mStartTime += adjustment; in commitAnimationFrame()
1335 (float)(currentTime - mStartTime) / scaledDuration : 1f; in animateBasedOnTime()
1438 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/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 …]
DScroller.java81 private long mStartTime; field in Scroller
311 int timePassed = (int)(AnimationUtils.currentAnimationTimeMillis() - mStartTime); in computeScrollOffset()
397 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in startScroll()
455 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in fling()
531 return (int)(AnimationUtils.currentAnimationTimeMillis() - mStartTime); in timePassed()
/frameworks/base/core/java/android/view/animation/
DAnimation.java149 long mStartTime = -1; field in Animation
325 mStartTime = Long.MIN_VALUE; in cancel()
513 mStartTime = startTimeMillis; in setStartTime()
718 return mStartTime; in getStartTime()
910 if (mStartTime == -1) { in getTransformation()
911 mStartTime = currentTime; in getTransformation()
918 normalizedTime = ((float) (currentTime - (mStartTime + startOffset))) / in getTransformation()
922 normalizedTime = currentTime < mStartTime ? 0.0f : 1.0f; in getTransformation()
965 mStartTime = -1; in getTransformation()
981 return mStartTime == Long.MIN_VALUE; in isCanceled()
/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/av/services/oboeservice/
DTimestampScheduler.cpp25 mStartTime = startTime; in start()
30 int64_t periodsElapsed = (mLastTime - mStartTime) / mBurstPeriod; in nextAbsoluteTime()
/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/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/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/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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DBarTransitions.java164 private long mStartTime; field in BarTransitions.BarBackgroundDrawable
257 mStartTime = now; in applyModeBackground()
302 final float t = (now - mStartTime) / (float)(mEndTime - mStartTime); in draw()
/frameworks/base/services/core/java/com/android/server/location/countrydetector/
DComprehensiveCountryDetector.java105 private long mStartTime; field in ComprehensiveCountryDetector
306 mStartTime = SystemClock.elapsedRealtime(); in setCountryListener()
481 currentSessionLength = currentTime - mStartTime; in toString()
485 sb.append("lastRunTimeLength=" + (mStopTime - mStartTime) + ", "); in toString()
/frameworks/base/services/core/java/com/android/server/power/
DWakeLockLog.java724 private long mStartTime = 0; field in WakeLockLog.TheLog
775 mStartTime = mLatestTime = entry.time; in addEntry()
829 private long mCurrentTimeReference = mStartTime; // Current time-reference to use. in getAllItems()
858 int size = mTranslator.toBytes(entry, null, mStartTime); in getAllItems()
905 long timeReference = mStartTime; in removeTagIndex()
971 LogEntry entry = readEntryAt(mStart, mStartTime, null); in removeOldestItem()
975 int size = mTranslator.toBytes(entry, null, mStartTime); in removeOldestItem()
977 mStartTime = entry.time; // new start time in removeOldestItem()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DRenderingJitter.java277 private long mStartTime; field in RenderingJitter.AnimatedBackgroundDrawable
348 if (mStartTime == 0) { in stepColor()
349 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in stepColor()
351 float frac = (AnimationUtils.currentAnimationTimeMillis() - mStartTime) in stepColor()
361 mStartTime = 0; in stepColor()
/frameworks/base/graphics/java/android/graphics/animation/
DRenderNodeAnimator.java87 private long mStartTime; field in RenderNodeAnimator
403 if (mStartTime == 0) { in processDelayed()
404 mStartTime = frameTimeMs; in processDelayed()
405 } else if ((frameTimeMs - mStartTime) >= mStartDelay) { in processDelayed()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DDataCallSessionStats.java54 private long mStartTime; field in DataCallSessionStats
69 mStartTime = getTimeMillis(); in onSetupDataCall()
161 mDataCallSession.durationMinutes = convertMillisToMinutes(getTimeMillis() - mStartTime); in onDataCallDisconnected()

123