Home
last modified time | relevance | path

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

/frameworks/native/libs/input/tests/
DTfLiteMotionPredictor_test.cpp62 ASSERT_EQ(buffers.axisFrom().position.x, 100); in TEST()
63 ASSERT_EQ(buffers.axisFrom().position.y, 200); in TEST()
71 ASSERT_EQ(buffers.axisFrom().position.x, 100); in TEST()
72 ASSERT_EQ(buffers.axisFrom().position.y, 200); in TEST()
79 ASSERT_EQ(buffers.axisFrom().position.x, 150); in TEST()
80 ASSERT_EQ(buffers.axisFrom().position.y, 250); in TEST()
/frameworks/native/libs/input/
DMotionPredictor.cpp57 const TfLiteMotionPredictorSample::Point& axisFrom, in convertPrediction() argument
59 const TfLiteMotionPredictorSample::Point axis = axisTo - axisFrom; in convertPrediction()
241 TfLiteMotionPredictorSample::Point axisFrom = mBuffers->axisFrom().position; in predict() local
245 ALOGD("axisFrom: %f, %f", axisFrom.x, axisFrom.y); in predict()
297 convertPrediction(axisFrom, axisTo, predictedR[i], predictedPhi[i]); in predict()
329 axisFrom = axisTo; in predict()
/frameworks/native/include/input/
DTfLiteMotionPredictor.h79 TfLiteMotionPredictorSample axisFrom() const { return *mAxisFrom; } in axisFrom() function