Searched refs:deltaTime (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/core/java/android/animation/ |
D | TimeAnimator.java | 43 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/ |
D | ConsecutiveTapsGestureDetector.java | 105 long deltaTime = currentTapEvent.getEventTime() - previousTapEvent.getEventTime(); in isConsecutiveTap() local 107 && deltaTime < consecutiveTapTimeout; in isConsecutiveTap()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | GestureUtils.java | 39 final long deltaTime = secondUp.getEventTime() - firstUp.getEventTime(); in isTimedOut() local 40 return (deltaTime >= timeout); in isTimedOut()
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySavingStats.java | 319 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/ |
D | AAudioExampleUtils.h | 125 int64_t deltaTime = in calculateLatencyMillis() local 127 int64_t timeCurrentFramePlayed = nanoseconds1 + deltaTime; in calculateLatencyMillis()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/ |
D | SwipeDetector.java | 335 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/ |
D | GestureDetector.java | 851 final long deltaTime = secondDown.getEventTime() - firstUp.getEventTime(); in isConsideredDoubleTap() local 852 if (deltaTime > DOUBLE_TAP_TIMEOUT || deltaTime < DOUBLE_TAP_MIN_TIME) { in isConsideredDoubleTap()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | PlatLogoActivity.java | 381 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) { in onTimeUpdate() argument 383 mMatrix.postTranslate(deltaTime / 4f, 0); in onTimeUpdate()
|
/frameworks/av/media/libaudioclient/ |
D | AudioTrack.cpp | 2854 const int64_t deltaTime = in getTimestamp_l() 2856 if (deltaTime != 0) { in getTimestamp_l() 2858 deltaPosition * (long long)NANOS_PER_SECOND / deltaTime; in getTimestamp_l()
|
/frameworks/base/core/java/android/widget/ |
D | NumberPicker.java | 988 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/ |
D | BatteryStatsImpl.java | 1921 public void add(long deltaTime, int deltaCount) { in add() argument 1922 update(mCurrentReportedTotalTime + deltaTime, mCurrentReportedCount + deltaCount); in add() 3217 final long deltaTime = cur.time - last.time; in writeHistoryDelta() local 3222 if (deltaTime < 0 || deltaTime > Integer.MAX_VALUE) { in writeHistoryDelta() 3224 } else if (deltaTime >= DELTA_TIME_ABS) { in writeHistoryDelta() 3227 deltaTimeToken = (int)deltaTime; in writeHistoryDelta() 3261 + " deltaTime=" + deltaTime); in writeHistoryDelta() 3265 if (DEBUG) Slog.i(TAG, "WRITE DELTA: int deltaTime=" + (int)deltaTime); in writeHistoryDelta() 3266 dest.writeInt((int)deltaTime); in writeHistoryDelta() 3268 if (DEBUG) Slog.i(TAG, "WRITE DELTA: long deltaTime=" + deltaTime); in writeHistoryDelta() [all …]
|