Searched refs:groundTruthPoint (Results 1 – 3 of 3) sorted by relevance
135 MotionEvent makeMotionEvent(const GroundTruthPoint& groundTruthPoint) { in makeMotionEvent() argument139 .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() local187 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 …]
81 const GroundTruthPoint groundTruthPoint{{.position = Eigen::Vector2f{coords->getY(), in onRecord() local91 incorporateNewGroundTruth(groundTruthPoint); in onRecord()95 incorporateNewGroundTruth(groundTruthPoint); in onRecord()144 const GroundTruthPoint& groundTruthPoint) { in incorporateNewGroundTruth() argument146 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()
194 void incorporateNewGroundTruth(const GroundTruthPoint& groundTruthPoint);