Searched refs:deltaTime (Results 1 – 10 of 10) 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()
319 final long deltaTime = stat.endTime - stat.startTime; in endLastStateLocked() local323 stat.totalTimeMillis += deltaTime; in endLastStateLocked()329 + ": " + (deltaTime / 1_000) + "s " in endLastStateLocked()340 deltaTime, in endLastStateLocked() local
125 int64_t deltaTime = in calculateLatencyMillis() local127 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()
879 final long deltaTime = secondDown.getEventTime() - firstUp.getEventTime(); in isConsideredDoubleTap() local880 if (deltaTime > DOUBLE_TAP_TIMEOUT || deltaTime < DOUBLE_TAP_MIN_TIME) { in isConsideredDoubleTap()
3006 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()
988 long deltaTime = event.getEventTime() - mLastDownEventTime; in onTouchEvent() local989 if (deltaMoveY <= mTouchSlop && deltaTime < ViewConfiguration.getTapTimeout()) { in onTouchEvent()
1925 public void add(long deltaTime, int deltaCount) { in add() argument1926 update(mCurrentReportedTotalTime + deltaTime, mCurrentReportedCount + deltaCount); in add()3221 final long deltaTime = cur.time - last.time; in writeHistoryDelta() local3226 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 …]