Home
last modified time | relevance | path

Searched refs:deltaTime (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/animation/
DTimeAnimator.java19 long deltaTime = (mPreviousTime < 0) ? 0 : (currentTime - mPreviousTime); in animationFrame() local
21 mListener.onTimeUpdate(this, totalTime, deltaTime); in animationFrame()
64 void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime); in onTimeUpdate() argument
DValueAnimator.java1055 long deltaTime = currentTime - mDelayStartTime; in delayedAnimationFrame() local
1056 if (deltaTime > mStartDelay) { in delayedAnimationFrame()
1059 mStartTime = currentTime - (deltaTime - mStartDelay); in delayedAnimationFrame()
/frameworks/base/core/java/android/os/
DBatteryStats.java534 final long deltaTime = time - last.time; in writeDelta() local
539 if (deltaTime < 0 || deltaTime > Integer.MAX_VALUE) { in writeDelta()
541 } else if (deltaTime >= DELTA_TIME_ABS) { in writeDelta()
544 deltaTimeToken = (int)deltaTime; in writeDelta()
561 + " deltaTime=" + deltaTime); in writeDelta()
565 if (DEBUG) Slog.i(TAG, "WRITE DELTA: int deltaTime=" + (int)deltaTime); in writeDelta()
566 dest.writeInt((int)deltaTime); in writeDelta()
568 if (DEBUG) Slog.i(TAG, "WRITE DELTA: long deltaTime=" + deltaTime); in writeDelta()
569 dest.writeLong(deltaTime); in writeDelta()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBeanBag.java300 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) { in reset()
312 nv.update(deltaTime / 1000f); in reset()
/frameworks/base/services/java/com/android/server/accessibility/
DTouchExplorer.java1169 final long deltaTime = secondUp.getEventTime() - firstUp.getEventTime(); in isTimedOut() local
1170 return (deltaTime >= timeout); in isTimedOut()
/frameworks/base/core/java/android/widget/
DNumberPicker.java864 long deltaTime = event.getEventTime() - mLastDownEventTime; in onTouchEvent() local
865 if (deltaMoveY <= mTouchSlop && deltaTime < ViewConfiguration.getTapTimeout()) { in onTouchEvent()
/frameworks/base/core/java/android/view/
DViewRootImpl.java2095 long deltaTime = SystemClock.uptimeMillis() - mResizeBufferStartTime; in draw() local
2096 if (deltaTime < mResizeBufferDuration) { in draw()
2097 float amt = deltaTime/(float) mResizeBufferDuration; in draw()