Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DMotionPredictorMetricsManager.cpp112 void MotionPredictorMetricsManager::onPredict(const MotionEvent& predictionEvent) { in onPredict() argument
113 const size_t numPredictions = predictionEvent.getHistorySize() + 1; in onPredict()
121 predictionEvent.getHistoricalRawPointerCoords(/*pointerIndex=*/0, i); in onPredict()
123 const nsecs_t targetTimestamp = predictionEvent.getHistoricalEventTime(i); in onPredict()
127 predictionEvent.getHistoricalPressure(/*pointerIndex=*/0, in onPredict()
/frameworks/native/include/input/
DMotionPredictorMetricsManager.h73 void onPredict(const MotionEvent& predictionEvent);
/frameworks/native/libs/input/tests/
DMotionPredictorMetricsManager_test.cpp157 MotionEvent predictionEvent = in makeMotionEvent() local
170 predictionEvent.addSample(predictionPoints[i].targetTimestamp, &coords); in makeMotionEvent()
172 return predictionEvent; in makeMotionEvent()