Home
last modified time | relevance | path

Searched refs:maxPredict (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/libs/input/
DInputConsumer.cpp633 nsecs_t maxPredict = current->eventTime + std::min(delta / 2, RESAMPLE_MAX_PREDICTION); in resampleTouchState() local
634 if (sampleTime > maxPredict) { in resampleTouchState()
638 sampleTime - current->eventTime, maxPredict - current->eventTime); in resampleTouchState()
639 sampleTime = maxPredict; in resampleTouchState()