Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DMotionPredictor.cpp58 const TfLiteMotionPredictorSample::Point& axisTo, float r, float phi) { in convertPrediction() argument
59 const TfLiteMotionPredictorSample::Point axis = axisTo - axisFrom; in convertPrediction()
63 return {.x = axisTo.x + x_delta, .y = axisTo.y + y_delta}; in convertPrediction()
242 TfLiteMotionPredictorSample::Point axisTo = mBuffers->axisTo().position; in predict() local
246 ALOGD("axisTo: %f, %f", axisTo.x, axisTo.y); in predict()
297 convertPrediction(axisFrom, axisTo, predictedR[i], predictedPhi[i]); in predict()
329 axisFrom = axisTo; in predict()
330 axisTo = predictedPoint; in predict()
/frameworks/native/libs/input/tests/
DTfLiteMotionPredictor_test.cpp64 ASSERT_EQ(buffers.axisTo().position.x, 150); in TEST()
65 ASSERT_EQ(buffers.axisTo().position.y, 250); in TEST()
73 ASSERT_EQ(buffers.axisTo().position.x, 150); in TEST()
74 ASSERT_EQ(buffers.axisTo().position.y, 250); in TEST()
81 ASSERT_EQ(buffers.axisTo().position.x, 180); in TEST()
82 ASSERT_EQ(buffers.axisTo().position.y, 280); in TEST()
/frameworks/native/include/input/
DTfLiteMotionPredictor.h80 TfLiteMotionPredictorSample axisTo() const { return *mAxisTo; } in axisTo() function