Home
last modified time | relevance | path

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

12

/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/animation/
DValueAnimator.java103 long mStartTime = -1; field in ValueAnimator
678 mStartTime = currentTime - seekTime; in setCurrentFraction()
774 return (long) ((AnimationUtils.currentAnimationTimeMillis() - mStartTime) / durationScale); in getCurrentPlayTime()
1069 mStartTime = -1; in start()
1195 long currentPlayTime = currentTime - mStartTime; in reverse()
1197 mStartTime = currentTime - timeLeft; in reverse()
1238 mStartTime = -1; in endAnimation()
1304 mStartTime += adjustment; in commitAnimationFrame()
1329 (float)(currentTime - mStartTime) / scaledDuration : 1f; in animateBasedOnTime()
1432 if (mStartTime < 0) { in doAnimationFrame()
[all …]
DTimeAnimator.java42 long totalTime = currentTime - mStartTime; in animateBasedOnTime()
53 mStartTime = Math.max(mStartTime, currentTime - playTime); in setCurrentPlayTime()
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/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/widget/
DEdgeEffect.java98 private long mStartTime; field in EdgeEffect
214 if (mState == STATE_PULL_DECAY && now - mStartTime < mDuration) { in onPull()
222 mStartTime = now; in onPull()
264 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in onRelease()
282 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in onAbsorb()
399 final float t = Math.min((time - mStartTime) / mDuration, 1.f); in update()
411 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in update()
423 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in update()
DOverScroller.java314 final long elapsedTime = time - mScrollerX.mStartTime; in computeScrollOffset()
532 final long startTime = Math.min(mScrollerX.mStartTime, mScrollerY.mStartTime); in timePassed()
568 private long mStartTime; field in OverScroller.SplineOverScroller
694 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in startScroll()
717 final int elapsedTime = (int) (time - mStartTime); in extendDuration()
728 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in springback()
759 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in fling()
816 mStartTime -= (int) (1000.0f * (totalDuration - durationToApex)); in fitOnBounceCurve()
854 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in notifyEdgeReached()
890 mStartTime += mDuration; in continueWhenFinished()
[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/libs/hwui/
DAnimator.cpp43 , mStartTime(0) in BaseRenderNodeAnimator()
200 mStartTime = currentFrameTime - (mDuration - mPlayTime); in pushStaging()
205 mStartTime = currentFrameTime + mStartDelay; in pushStaging()
209 mStartTime = currentFrameTime - mPlayTime; in pushStaging()
224 mStartTime = frameTimeMs + mStartDelay; in transitionToRunning()
225 if (mStartTime < 0) { in transitionToRunning()
228 mStartTime, frameTimeMs, mStartDelay); in transitionToRunning()
230 mStartTime = 0; in transitionToRunning()
256 nsecs_t currentPlayTime = context.frameTimeMs() - mStartTime; in animate()
/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()
714 return mStartTime; in getStartTime()
902 if (mStartTime == -1) { in getTransformation()
903 mStartTime = currentTime; in getTransformation()
910 normalizedTime = ((float) (currentTime - (mStartTime + startOffset))) / in getTransformation()
914 normalizedTime = currentTime < mStartTime ? 0.0f : 1.0f; in getTransformation()
957 mStartTime = -1; in getTransformation()
973 return mStartTime == Long.MIN_VALUE; in isCanceled()
/frameworks/base/cmds/incidentd/src/
DFdBuffer.cpp38 mStartTime(-1), in FdBuffer()
49 mStartTime = uptimeMillis(); in read()
64 int64_t remainingTime = (mStartTime + timeout) - uptimeMillis(); in read()
106 mStartTime = uptimeMillis(); in readFully()
145 mStartTime = uptimeMillis(); in readProcessedDataInStream()
169 int64_t remainingTime = (mStartTime + timeoutMs) - uptimeMillis(); in readProcessedDataInStream()
DFdBuffer.h104 int64_t durationMs() const { return mFinishTime - mStartTime; } in durationMs()
113 int64_t mStartTime; variable
/frameworks/base/core/java/android/accessibilityservice/
DGestureDescription.java105 long thisStartTime = mStrokes.get(i).mStartTime; in getNextKeyPointAtLeast()
134 && (time == strokeDescription.mStartTime); in getPointsForTime()
207 long mStartTime; field in GestureDescription.StrokeDescription
275 mStartTime = startTime; in StrokeDescription()
296 return mStartTime; in getStartTime()
305 return mEndTime - mStartTime; in getDuration()
379 float length = mTimeToLengthConversion * ((float) (time - mStartTime)); in getPosForTime()
384 return ((time >= mStartTime) && (time <= mEndTime)); in hasPointForTime()
/frameworks/av/services/oboeservice/
DTimestampScheduler.cpp25 mStartTime = startTime; in start()
30 int64_t periodsElapsed = (mLastTime - mStartTime) / mBurstPeriod; in nextAbsoluteTime()
DTimestampScheduler.h63 int64_t mStartTime = 0; variable
/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/core/java/android/util/
DAtomicFile.java52 private long mStartTime; field in AtomicFile
113 mStartTime = startTime; in startWrite()
164 mCommitTag, SystemClock.uptimeMillis() - mStartTime); in finishWrite()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DBarTransitions.java164 private long mStartTime; field in BarTransitions.BarBackgroundDrawable
239 mStartTime = now; in applyModeBackground()
284 final float t = (now - mStartTime) / (float)(mEndTime - mStartTime); in draw()
/frameworks/base/services/core/java/com/android/server/location/
DComprehensiveCountryDetector.java105 private long mStartTime; field in ComprehensiveCountryDetector
306 mStartTime = SystemClock.elapsedRealtime(); in setCountryListener()
474 currentSessionLength = currentTime - mStartTime; in toString()
478 sb.append("lastRunTimeLength=" + (mStopTime - mStartTime) + ", "); in toString()
/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/core/java/android/hardware/hdmi/
DHdmiTimerRecordSources.java322 private final Time mStartTime; field in HdmiTimerRecordSources.TimerInfo
340 mStartTime = startTime; in TimerInfo()
353 index += mStartTime.toByteArray(data, index); in toByteArray()
/frameworks/base/core/java/android/view/
DRenderNodeAnimator.java110 private long mStartTime; field in RenderNodeAnimator
432 if (mStartTime == 0) { in processDelayed()
433 mStartTime = frameTimeMs; in processDelayed()
434 } else if ((frameTimeMs - mStartTime) >= mStartDelay) { in processDelayed()
/frameworks/base/test-runner/src/android/test/
DInstrumentationTestRunner.java680 private long mStartTime; field in InstrumentationTestRunner.SuiteAssignmentPrinter
692 mStartTime = System.currentTimeMillis(); in startTest()
718 if (!mTimingValid || mStartTime < 0) { in endTest()
722 runTime = mEndTime - mStartTime; in endTest()
733 mStartTime = -1; in endTest()
/frameworks/base/services/core/java/com/android/server/
DWatchdog.java137 private long mStartTime; field in Watchdog.HandlerChecker
178 mStartTime = SystemClock.uptimeMillis(); in scheduleCheckLocked()
183 return (!mCompleted) && (SystemClock.uptimeMillis() > mStartTime + mWaitMax); in isOverdueLocked()
190 long latency = SystemClock.uptimeMillis() - mStartTime; in getCompletionStateLocked()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessState.java138 private long mStartTime; field in ProcessState
192 mStartTime = now; in ProcessState()
273 mStartTime = now; in resetSafely()
426 long dur = now - mStartTime; in commitStateTime()
433 mStartTime = now; in commitStateTime()
678 time += now - mStartTime; in getDuration()
783 time += now - mStartTime; in aggregatePss()
888 time += now - mStartTime; in dumpProcessState()
1289 time += now - mStartTime; in dumpAllStateCheckin()
1294 DumpUtils.printProcStateTagAndValue(pw, mCurCombinedState, now - mStartTime); in dumpAllStateCheckin()
[all …]

12