Home
last modified time | relevance | path

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

/aosp12/frameworks/native/libs/input/
H A DInputTransport.cpp1119 nsecs_t maxPredict = current->eventTime + min(delta / 2, RESAMPLE_MAX_PREDICTION); in resampleTouchState() local
1120 if (sampleTime > maxPredict) { in resampleTouchState()
1124 sampleTime - current->eventTime, maxPredict - current->eventTime); in resampleTouchState()
1126 sampleTime = maxPredict; in resampleTouchState()