Home
last modified time | relevance | path

Searched refs:mStartTime (Results 1 – 25 of 50) 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/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/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()
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()
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/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/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.java53 private long mStartTime; field in AtomicFile
116 mStartTime = startTime; in startWrite()
160 mCommitTag, SystemClock.uptimeMillis() - mStartTime); in finishWrite()
/frameworks/base/graphics/java/android/graphics/
DGraphicsStatsService.java243 if (buffer.mInfo.mStartTime == targetDay) { in pullGraphicsStatsImpl()
298 normalizeDate(info.mStartTime).getTimeInMillis(), info.mPackageName, in pathForApp()
317 buffer.mInfo.mVersionCode, buffer.mInfo.mStartTime, buffer.mInfo.mEndTime, in saveBuffer()
386 if (buffer.mInfo.mStartTime < today) { in fetchActiveBuffersLocked()
411 buffer.mInfo.mVersionCode, buffer.mInfo.mStartTime, buffer.mInfo.mEndTime, in dumpActiveLocked()
485 long mStartTime; field in GraphicsStatsService.BufferInfo
491 this.mStartTime = startTime; in BufferInfo()
/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/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/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/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/services/core/java/com/android/server/power/
DWakeLockLog.java738 private long mStartTime = 0; field in WakeLockLog.TheLog
789 mStartTime = mLatestTime = entry.time; in addEntry()
843 private long mCurrentTimeReference = mStartTime; // Current time-reference to use. in getAllItems()
872 int size = mTranslator.toBytes(entry, null, mStartTime); in getAllItems()
919 long timeReference = mStartTime; in removeTagIndex()
985 LogEntry entry = readEntryAt(mStart, mStartTime, null); in removeOldestItem()
989 int size = mTranslator.toBytes(entry, null, mStartTime); in removeOldestItem()
991 mStartTime = entry.time; // new start time in removeOldestItem()
/frameworks/base/test-runner/src/android/test/
DInstrumentationTestRunner.java681 private long mStartTime; field in InstrumentationTestRunner.SuiteAssignmentPrinter
693 mStartTime = System.currentTimeMillis(); in startTest()
719 if (!mTimingValid || mStartTime < 0) { in endTest()
723 runTime = mEndTime - mStartTime; in endTest()
734 mStartTime = -1; in endTest()

12