Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/animation/
DTimeAnimator.java43 long deltaTime = (mPreviousTime < 0) ? 0 : (currentTime - mPreviousTime); in animateBasedOnTime() local
45 mListener.onTimeUpdate(this, totalTime, deltaTime); in animateBasedOnTime()
96 void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime); in onTimeUpdate() argument
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/gesture/
DConsecutiveTapsGestureDetector.java105 long deltaTime = currentTapEvent.getEventTime() - previousTapEvent.getEventTime(); in isConsecutiveTap() local
107 && deltaTime < consecutiveTapTimeout; in isConsecutiveTap()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DGestureUtils.java64 final long deltaTime = secondUp.getEventTime() - firstUp.getEventTime(); in isTimedOut() local
65 return (deltaTime >= timeout); in isTimedOut()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySavingStats.java319 final long deltaTime = stat.endTime - stat.startTime; in endLastStateLocked() local
323 stat.totalTimeMillis += deltaTime; in endLastStateLocked()
329 + ": " + (deltaTime / 1_000) + "s " in endLastStateLocked()
340 deltaTime, in endLastStateLocked() local
/frameworks/av/media/libaaudio/examples/utils/
DAAudioExampleUtils.h125 int64_t deltaTime = in calculateLatencyMillis() local
127 int64_t timeCurrentFramePlayed = nanoseconds1 + deltaTime; in calculateLatencyMillis()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/
DSwipeDetector.java335 private static float computeDampeningFactor(float deltaTime) { in computeDampeningFactor() argument
336 return deltaTime / (SCROLL_VELOCITY_DAMPENING_RC + deltaTime); in computeDampeningFactor()
/frameworks/base/core/java/android/view/
DGestureDetector.java879 final long deltaTime = secondDown.getEventTime() - firstUp.getEventTime(); in isConsideredDoubleTap() local
880 if (deltaTime > DOUBLE_TAP_TIMEOUT || deltaTime < DOUBLE_TAP_MIN_TIME) { in isConsideredDoubleTap()
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp3006 const int64_t deltaTime = in getTimestamp_l()
3008 if (deltaTime != 0) { in getTimestamp_l()
3010 deltaPosition * (long long)NANOS_PER_SECOND / deltaTime; in getTimestamp_l()
/frameworks/base/core/java/android/widget/
DNumberPicker.java988 long deltaTime = event.getEventTime() - mLastDownEventTime; in onTouchEvent() local
989 if (deltaMoveY <= mTouchSlop && deltaTime < ViewConfiguration.getTapTimeout()) { in onTouchEvent()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1925 public void add(long deltaTime, int deltaCount) { in add() argument
1926 update(mCurrentReportedTotalTime + deltaTime, mCurrentReportedCount + deltaCount); in add()
3221 final long deltaTime = cur.time - last.time; in writeHistoryDelta() local
3226 if (deltaTime < 0 || deltaTime > Integer.MAX_VALUE) { in writeHistoryDelta()
3228 } else if (deltaTime >= DELTA_TIME_ABS) { in writeHistoryDelta()
3231 deltaTimeToken = (int)deltaTime; in writeHistoryDelta()
3265 + " deltaTime=" + deltaTime); in writeHistoryDelta()
3269 if (DEBUG) Slog.i(TAG, "WRITE DELTA: int deltaTime=" + (int)deltaTime); in writeHistoryDelta()
3270 dest.writeInt((int)deltaTime); in writeHistoryDelta()
3272 if (DEBUG) Slog.i(TAG, "WRITE DELTA: long deltaTime=" + deltaTime); in writeHistoryDelta()
[all …]