commit | 39147ceecf38b27875939e603ad45d9f1d6bd6ea | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Tue Nov 15 12:13:04 2022 -0800 |
committer | Siarhei Vishniakou <svv@google.com> | Wed Dec 21 17:10:33 2022 -0800 |
tree | 05fc49c245238b66f8fe350cd6f2e06bc2974eea | |
parent | dcd031a26a503ef6d0dd0c9a5f4cba9ac378e29b [diff] |
Add native MotionPredictor The native MotionPredictor will call neural net code to create motion predictions for the provided gesture stream. In this CL, a simple linear extrapolation model is provided in order to test the API. To enable prediction: adb shell setprop persist.input.enable_motion_prediction true Bug: 167946763 Test: atest InputTests inputflinger_tests libinput_tests Change-Id: Id8a23b728aeb844288d5b8daae0829d61d4c1482