Lines Matching refs:eventTime

222 void VelocityTracker::addMovement(nsecs_t eventTime, BitSet32 idBits, const Position* positions) {
228 && eventTime >= mLastEventTime + ASSUME_POINTER_STOPPED_TIME) {
231 (eventTime - mLastEventTime) * 0.000001f);
237 mLastEventTime = eventTime;
244 mStrategy->addMovement(eventTime, idBits, positions);
247 ALOGD("VelocityTracker: addMovement eventTime=%lld, idBits=0x%08x, activePointerId=%d",
248 eventTime, idBits.value, mActivePointerId);
314 nsecs_t eventTime;
319 eventTime = event->getHistoricalEventTime(h);
325 addMovement(eventTime, idBits, positions);
328 eventTime = event->getEventTime();
334 addMovement(eventTime, idBits, positions);
378 void LeastSquaresVelocityTrackerStrategy::addMovement(nsecs_t eventTime, BitSet32 idBits,
385 movement.eventTime = eventTime;
578 nsecs_t age = newestMovement.eventTime - movement.eventTime;
605 outEstimator->time = newestMovement.eventTime;
622 outEstimator->time = newestMovement.eventTime;
639 float deltaMillis = (mMovements[nextIndex].eventTime- mMovements[index].eventTime)
656 float ageMillis = (mMovements[mIndex].eventTime - mMovements[index].eventTime)
678 float ageMillis = (mMovements[mIndex].eventTime - mMovements[index].eventTime)
713 void IntegratingVelocityTrackerStrategy::addMovement(nsecs_t eventTime, BitSet32 idBits,
721 updateState(state, eventTime, position.x, position.y);
723 initState(state, eventTime, position.x, position.y);
744 nsecs_t eventTime, float xpos, float ypos) const {
745 state.updateTime = eventTime;
757 nsecs_t eventTime, float xpos, float ypos) const {
761 if (eventTime <= state.updateTime + MIN_TIME_DELTA) {
765 float dt = (eventTime - state.updateTime) * 0.000000001f;
766 state.updateTime = eventTime;
835 void LegacyVelocityTrackerStrategy::addMovement(nsecs_t eventTime, BitSet32 idBits,
842 movement.eventTime = eventTime;
860 nsecs_t minTime = newestMovement.eventTime - HORIZON;
867 || nextOldestMovement.eventTime < minTime) {
897 nsecs_t duration = movement.eventTime - oldestMovement.eventTime;
916 outEstimator->time = newestMovement.eventTime;