Searched refs:deltaTime (Results 1 – 11 of 11) sorted by relevance
43 long deltaTime = (mPreviousTime < 0) ? 0 : (currentTime - mPreviousTime); in animateBasedOnTime() local45 mListener.onTimeUpdate(this, totalTime, deltaTime); in animateBasedOnTime()96 void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime); in onTimeUpdate() argument
105 long deltaTime = currentTapEvent.getEventTime() - previousTapEvent.getEventTime(); in isConsecutiveTap() local107 && deltaTime < consecutiveTapTimeout; in isConsecutiveTap()
64 final long deltaTime = secondUp.getEventTime() - firstUp.getEventTime(); in isTimedOut() local65 return (deltaTime >= timeout); in isTimedOut()
346 final long deltaTime = stat.endTime - stat.startTime;350 stat.totalTimeMillis += deltaTime;356 + ": " + (deltaTime / 1_000) + "s "367 deltaTime,
151 int64_t deltaTime = in calculateLatencyMillis() local153 int64_t timeCurrentFramePlayed = nanoseconds1 + deltaTime; in calculateLatencyMillis()
335 private static float computeDampeningFactor(float deltaTime) { in computeDampeningFactor() argument336 return deltaTime / (SCROLL_VELOCITY_DAMPENING_RC + deltaTime); in computeDampeningFactor()
353 var deltaTime = 1f in <lambda>() variable357 deltaTime = MathUtils.constrain( in <lambda>()364 VELOCITY_SCALE * diff / deltaTime, MIN_VELOCITY, MAX_VELOCITY) in <lambda>()
873 final long deltaTime = secondDown.getEventTime() - firstUp.getEventTime(); in isConsideredDoubleTap() local874 if (deltaTime > DOUBLE_TAP_TIMEOUT || deltaTime < DOUBLE_TAP_MIN_TIME) { in isConsideredDoubleTap()
987 long deltaTime = event.getEventTime() - mLastDownEventTime; in onTouchEvent() local988 if (deltaMoveY <= mTouchSlop && deltaTime < ViewConfiguration.getTapTimeout()) { in onTouchEvent()
3517 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()
4141 final long deltaTime = cur.time - last.time; in writeHistoryDelta() local4146 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()