Home
last modified time | relevance | path

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

/frameworks/native/libs/input/tests/
DMotionPredictorMetricsManager_test.cpp40 using PredictionPoint = MotionPredictorMetricsManager::PredictionPoint; typedef
150 MotionEvent makeMotionEvent(const std::vector<PredictionPoint>& predictionPoints) { in makeMotionEvent()
202 const std::vector<PredictionPoint> in TEST()
342 std::vector<PredictionPoint> generateConstantPredictions( in generateConstantPredictions()
345 std::vector<PredictionPoint> predictions; in generateConstantPredictions()
348 predictions.push_back(PredictionPoint{{.position = groundTruthPoint.position, in generateConstantPredictions()
360 std::vector<PredictionPoint> generatePredictionsByLinearExtrapolation( in generatePredictionsByLinearExtrapolation()
366 std::vector<PredictionPoint> predictions; in generatePredictionsByLinearExtrapolation()
375 PredictionPoint{{.position = predictionPosition, .pressure = predictionPressure}, in generatePredictionsByLinearExtrapolation()
386 const std::vector<PredictionPoint> predictionPoints = in TEST()
[all …]
/frameworks/native/include/input/
DMotionPredictorMetricsManager.h86 struct PredictionPoint : TouchPoint { struct
93 bool operator<(const PredictionPoint& other) const { argument
175 std::vector<PredictionPoint> mRecentPredictions;
198 void updateAggregatedMetrics(const PredictionPoint& predictionPoint);
/frameworks/native/libs/input/
DMotionPredictorMetricsManager.cpp125 PredictionPoint{{.position = Eigen::Vector2f{coords->getY(), coords->getX()}, in onPredict()
155 fuzzy_association_time_delta](const PredictionPoint& prediction) { in incorporateNewGroundTruth()
163 for (const PredictionPoint& prediction : mRecentPredictions) { in incorporateNewGroundTruth()
174 const PredictionPoint& predictionPoint) { in updateAggregatedMetrics()