Home
last modified time | relevance | path

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

/frameworks/native/libs/input/tests/
DMotionPredictorMetricsManager_test.cpp135 MotionEvent makeMotionEvent(const GroundTruthPoint& groundTruthPoint) { in makeMotionEvent() argument
139 .x(groundTruthPoint.position[1]) in makeMotionEvent()
140 .y(groundTruthPoint.position[0]) in makeMotionEvent()
141 .axis(AMOTION_EVENT_AXIS_PRESSURE, groundTruthPoint.pressure); in makeMotionEvent()
144 .eventTime(groundTruthPoint.timestamp) in makeMotionEvent()
184 const GroundTruthPoint groundTruthPoint{{.position = Eigen::Vector2f(10.0f, 20.0f), in TEST() local
187 const MotionEvent groundTruthMotionEvent = makeMotionEvent(groundTruthPoint); in TEST()
192 EXPECT_EQ(groundTruthPoint.position[0], groundTruthMotionEvent.getRawPointerCoords(0)->getY()); in TEST()
193 EXPECT_EQ(groundTruthPoint.position[1], groundTruthMotionEvent.getRawPointerCoords(0)->getX()); in TEST()
194 EXPECT_EQ(groundTruthPoint.pressure, in TEST()
[all …]
/frameworks/native/libs/input/
DMotionPredictorMetricsManager.cpp81 const GroundTruthPoint groundTruthPoint{{.position = Eigen::Vector2f{coords->getY(), in onRecord() local
91 incorporateNewGroundTruth(groundTruthPoint); in onRecord()
95 incorporateNewGroundTruth(groundTruthPoint); in onRecord()
144 const GroundTruthPoint& groundTruthPoint) { in incorporateNewGroundTruth() argument
146 mRecentGroundTruthPoints.pushBack(groundTruthPoint); in incorporateNewGroundTruth()
154 [&groundTruthPoint, in incorporateNewGroundTruth()
157 groundTruthPoint.timestamp - fuzzy_association_time_delta; in incorporateNewGroundTruth()
165 groundTruthPoint.timestamp - fuzzy_association_time_delta) && in incorporateNewGroundTruth()
167 groundTruthPoint.timestamp + fuzzy_association_time_delta)) { in incorporateNewGroundTruth()
/frameworks/native/include/input/
DMotionPredictorMetricsManager.h194 void incorporateNewGroundTruth(const GroundTruthPoint& groundTruthPoint);