Home
last modified time | relevance | path

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

/frameworks/native/include/input/
DTfLiteMotionPredictor.h37 struct TfLiteMotionPredictorSample { struct
49 inline TfLiteMotionPredictorSample::Point operator-(const TfLiteMotionPredictorSample::Point& lhs, argument
50 const TfLiteMotionPredictorSample::Point& rhs) {
63 void pushSample(int64_t timestamp, TfLiteMotionPredictorSample sample);
79 TfLiteMotionPredictorSample axisFrom() const { return *mAxisFrom; } in axisFrom()
80 TfLiteMotionPredictorSample axisTo() const { return *mAxisTo; } in axisTo()
95 std::optional<TfLiteMotionPredictorSample> mAxisFrom;
96 std::optional<TfLiteMotionPredictorSample> mAxisTo;
/frameworks/native/libs/input/
DMotionPredictor.cpp56 TfLiteMotionPredictorSample::Point convertPrediction( in convertPrediction()
57 const TfLiteMotionPredictorSample::Point& axisFrom, in convertPrediction()
58 const TfLiteMotionPredictorSample::Point& axisTo, float r, float phi) { in convertPrediction()
59 const TfLiteMotionPredictorSample::Point axis = axisTo - axisFrom; in convertPrediction()
241 TfLiteMotionPredictorSample::Point axisFrom = mBuffers->axisFrom().position; in predict()
242 TfLiteMotionPredictorSample::Point axisTo = mBuffers->axisTo().position; in predict()
296 const TfLiteMotionPredictorSample::Point predictedPoint = in predict()
DTfLiteMotionPredictor.cpp203 const TfLiteMotionPredictorSample sample) { in pushSample()
215 const TfLiteMotionPredictorSample::Point v = sample.position - mAxisTo->position; in pushSample()
231 const TfLiteMotionPredictorSample::Point axis = mAxisTo->position - mAxisFrom->position; in pushSample()