Home
last modified time | relevance | path

Searched refs:deltaTime (Results 1 – 11 of 11) 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.java346 final long deltaTime = stat.endTime - stat.startTime;
350 stat.totalTimeMillis += deltaTime;
356 + ": " + (deltaTime / 1_000) + "s "
367 deltaTime,
/frameworks/av/media/libaaudio/examples/utils/
DAAudioExampleUtils.h151 int64_t deltaTime = in calculateLatencyMillis() local
153 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/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShadeDepthController.kt353 var deltaTime = 1f in <lambda>() variable
357 deltaTime = MathUtils.constrain( in <lambda>()
364 VELOCITY_SCALE * diff / deltaTime, MIN_VELOCITY, MAX_VELOCITY) in <lambda>()
/frameworks/base/core/java/android/view/
DGestureDetector.java873 final long deltaTime = secondDown.getEventTime() - firstUp.getEventTime(); in isConsideredDoubleTap() local
874 if (deltaTime > DOUBLE_TAP_TIMEOUT || deltaTime < DOUBLE_TAP_MIN_TIME) { in isConsideredDoubleTap()
/frameworks/base/core/java/android/widget/
DNumberPicker.java987 long deltaTime = event.getEventTime() - mLastDownEventTime; in onTouchEvent() local
988 if (deltaMoveY <= mTouchSlop && deltaTime < ViewConfiguration.getTapTimeout()) { in onTouchEvent()
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp3517 const int64_t deltaTime = in getTimestamp_l()
3519 if (deltaTime != 0) { in getTimestamp_l()
3521 deltaPosition * (long long)NANOS_PER_SECOND / deltaTime; in getTimestamp_l()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java4141 final long deltaTime = cur.time - last.time; in writeHistoryDelta() local
4146 if (deltaTime < 0 || deltaTime > Integer.MAX_VALUE) { in writeHistoryDelta()
4148 } else if (deltaTime >= DELTA_TIME_ABS) { in writeHistoryDelta()
4151 deltaTimeToken = (int)deltaTime; in writeHistoryDelta()
4185 + " deltaTime=" + deltaTime); in writeHistoryDelta()
4189 if (DEBUG) Slog.i(TAG, "WRITE DELTA: int deltaTime=" + (int)deltaTime); in writeHistoryDelta()
4190 dest.writeInt((int)deltaTime); in writeHistoryDelta()
4192 if (DEBUG) Slog.i(TAG, "WRITE DELTA: long deltaTime=" + deltaTime); in writeHistoryDelta()
4193 dest.writeLong(deltaTime); in writeHistoryDelta()