diff options
| author | 2022-11-15 12:13:04 -0800 | |
|---|---|---|
| committer | 2022-12-21 17:10:33 -0800 | |
| commit | 39147ceecf38b27875939e603ad45d9f1d6bd6ea (patch) | |
| tree | 05fc49c245238b66f8fe350cd6f2e06bc2974eea /libs/binder/ProcessState.cpp | |
| 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
Diffstat (limited to 'libs/binder/ProcessState.cpp')
0 files changed, 0 insertions, 0 deletions