Home
last modified time | relevance | path

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

/frameworks/native/include/input/
DMotionPredictorMetricsManager.h90 nsecs_t targetTimestamp; member
94 return this->targetTimestamp < other.targetTimestamp;
/frameworks/native/libs/input/
DMotionPredictorMetricsManager.cpp123 const nsecs_t targetTimestamp = predictionEvent.getHistoricalEventTime(i); in onPredict() local
130 .targetTimestamp = targetTimestamp}); in onPredict()
156 return prediction.targetTimestamp > in incorporateNewGroundTruth()
164 if ((prediction.targetTimestamp > in incorporateNewGroundTruth()
166 (prediction.targetTimestamp < in incorporateNewGroundTruth()
207 static_cast<float>(predictionPoint.targetTimestamp - predictionPoint.originTimestamp); in updateAggregatedMetrics()
/frameworks/native/libs/input/tests/
DMotionPredictorMetricsManager_test.cpp81 if (arg.targetTimestamp != target.targetTimestamp) {
82 *result_listener << "Target timestamp mismatch. Actual: " << arg.targetTimestamp
83 << ", expected: " << target.targetTimestamp;
160 .eventTime(predictionPoints[0].targetTimestamp) in makeMotionEvent()
170 predictionEvent.addSample(predictionPoints[i].targetTimestamp, &coords); in makeMotionEvent()
205 .targetTimestamp = originTimestamp + 5 * NANOS_PER_MILLIS}, in TEST()
208 .targetTimestamp = originTimestamp + 10 * NANOS_PER_MILLIS}, in TEST()
211 .targetTimestamp = originTimestamp + 15 * NANOS_PER_MILLIS}}; in TEST()
225 EXPECT_EQ(predictionPoints[i].targetTimestamp, in TEST()
351 .targetTimestamp = predictionTimestamp}); in generateConstantPredictions()
[all …]