Home
last modified time | relevance | path

Searched refs:mStartTime (Results 1 – 25 of 59) 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/support/core-ui/java/android/support/v4/widget/
DContentLoadingProgressBar.java34 long mStartTime = -1; field in ContentLoadingProgressBar
47 mStartTime = -1;
58 mStartTime = System.currentTimeMillis();
97 long diff = System.currentTimeMillis() - mStartTime; in hide()
98 if (diff >= MIN_SHOW_TIME || mStartTime == -1) { in hide()
120 mStartTime = -1; in show()
DSwipeProgressBar.java57 private long mStartTime; field in SwipeProgressBar
102 mStartTime = 0; in setTriggerPercentage()
113 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in start()
149 long elapsed = (now - mStartTime) % ANIMATION_DURATION_MS; in draw()
150 long iterations = (now - mStartTime) / ANIMATION_DURATION_MS; in draw()
DAutoScrollHelper.java731 private long mStartTime; field in AutoScrollHelper.ClampedScroller
746 mStartTime = Long.MIN_VALUE; in ClampedScroller()
765 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in start()
767 mDeltaTime = mStartTime; in start()
778 mEffectiveRampDown = constrain((int) (currentTime - mStartTime), 0, mRampDownDuration); in requestStop()
789 if (currentTime < mStartTime) { in getValueAt()
792 final long elapsedSinceStart = currentTime - mStartTime; in getValueAt()
/frameworks/base/core/java/android/animation/
DValueAnimator.java94 long mStartTime = -1; field in ValueAnimator
646 mStartTime = currentTime - seekTime; in setCurrentFraction()
739 return (long) ((AnimationUtils.currentAnimationTimeMillis() - mStartTime) / durationScale); in getCurrentPlayTime()
1034 mStartTime = -1; in start()
1160 long currentPlayTime = currentTime - mStartTime; in reverse()
1162 mStartTime = currentTime - timeLeft; in reverse()
1203 mStartTime = -1; in endAnimation()
1269 mStartTime += adjustment; in commitAnimationFrame()
1294 (float)(currentTime - mStartTime) / scaledDuration : 1f; in animateBasedOnTime()
1397 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;
1177 return overallPlayTime - node.mStartTime;
1523 mRootNode.mStartTime = 0;
1574 if (event.mNode.mStartTime == event.mNode.mEndTime) {
1576 } else if (event.mNode.mEndTime == event.mNode.mStartTime
1659 node.mStartTime = DURATION_INFINITE;
1678 visited.get(j).mStartTime = DURATION_INFINITE;
1681 child.mStartTime = DURATION_INFINITE;
1688 if (child.mStartTime != DURATION_INFINITE) {
[all …]
/frameworks/base/core/java/android/widget/
DEdgeEffect.java89 private long mStartTime; field in EdgeEffect
204 if (mState == STATE_PULL_DECAY && now - mStartTime < mDuration) { in onPull()
212 mStartTime = now; in onPull()
254 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in onRelease()
272 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in onAbsorb()
359 final float t = Math.min((time - mStartTime) / mDuration, 1.f); in update()
371 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in update()
383 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in update()
DOverScroller.java308 final long elapsedTime = time - mScrollerX.mStartTime; in computeScrollOffset()
526 final long startTime = Math.min(mScrollerX.mStartTime, mScrollerY.mStartTime); in timePassed()
560 private long mStartTime; field in OverScroller.SplineOverScroller
686 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in startScroll()
709 final int elapsedTime = (int) (time - mStartTime); in extendDuration()
720 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in springback()
751 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in fling()
808 mStartTime -= (int) (1000.0f * (totalDuration - durationToApex)); in fitOnBounceCurve()
846 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in notifyEdgeReached()
882 mStartTime += mDuration; in continueWhenFinished()
[all …]
DScroller.java79 private long mStartTime; field in Scroller
304 int timePassed = (int)(AnimationUtils.currentAnimationTimeMillis() - mStartTime); in computeScrollOffset()
390 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in startScroll()
448 mStartTime = AnimationUtils.currentAnimationTimeMillis(); in fling()
524 return (int)(AnimationUtils.currentAnimationTimeMillis() - mStartTime); in timePassed()
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DPlayerAdapter.java27 private long mStartTime; field in PlayerAdapter
51 mStartTime = System.currentTimeMillis(); in seekTo()
63 long position = mStartPosition + (System.currentTimeMillis() - mStartTime) * speed; in getCurrentPosition()
95 mStartTime = System.currentTimeMillis(); in play()
DPlaybackControlGlue.java45 private long mStartTime; field in PlaybackControlGlue
205 long position = mStartPosition + (System.currentTimeMillis() - mStartTime) * speed; in getCurrentPosition()
239 mStartTime = System.currentTimeMillis(); in play()
/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.java147 long mStartTime = -1; field in Animation
313 mStartTime = Long.MIN_VALUE; in cancel()
506 mStartTime = startTimeMillis; in setStartTime()
681 return mStartTime; in getStartTime()
843 if (mStartTime == -1) { in getTransformation()
844 mStartTime = currentTime; in getTransformation()
851 normalizedTime = ((float) (currentTime - (mStartTime + startOffset))) / in getTransformation()
855 normalizedTime = currentTime < mStartTime ? 0.0f : 1.0f; in getTransformation()
898 mStartTime = -1; in getTransformation()
914 return mStartTime == Long.MIN_VALUE; in isCanceled()
/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/base/cmds/incidentd/src/
DFdBuffer.cpp34 mStartTime(-1), in FdBuffer()
58 mStartTime = uptimeMillis(); in read()
77 int64_t remainingTime = (mStartTime + timeout) - uptimeMillis(); in read()
DFdBuffer.h74 int64_t durationMs() { return mFinishTime - mStartTime; } in durationMs()
78 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/services/core/java/com/android/server/wm/
DDimLayer.java64 private long mStartTime; field in DimLayer
253 return SystemClock.uptimeMillis() + duration < mStartTime + mDuration; in durationEndsEarlier()
302 mStartTime = curTime; in show()
308 + mStartTime + " mTargetAlpha=" + mTargetAlpha); in show()
349 float alpha = mStartAlpha + alphaDelta * (curTime - mStartTime) / mDuration; in stepAnimation()
380 pw.print(" mStartTime="); pw.print(mStartTime); in printTo()
/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/support/v7/mediarouter/src/android/support/v7/app/
DOverlayListView.java110 private long mStartTime; field in OverlayListView.OverlayObject
207 mStartTime = startTime; in startAnimation()
231 float normalizedTime = (currentTime - mStartTime) / (float) mDuration; in update()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/media/
DPlaybackBannerControlGlue.java216 private long mStartTime; field in PlaybackBannerControlGlue
521 mStartTime = System.currentTimeMillis(); in onPlayCompleted()
638 long position = mStartPosition + (System.currentTimeMillis() - mStartTime) * speed; in getCurrentPosition()
671 mStartTime = System.currentTimeMillis(); in play()
685 mStartTime = System.currentTimeMillis(); in pause()
698 mStartTime = System.currentTimeMillis(); in fakePause()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DBarTransitions.java145 private long mStartTime; field in BarTransitions.BarBackgroundDrawable
216 mStartTime = now; in applyModeBackground()
261 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()

123