Prediction for motion events

The class MotionPredictor will be used to call into native code to
execute prediction algorithm.

The feature can be enabled by setting the appropriate config on the
device.

To enable the feature:
adb shell setprop persist.input.enable_motion_prediction true

Bug: 210158587
Test: m MotionPrediction && adb install $ANDROID_PRODUCT_OUT/system/app/MotionPrediction/MotionPrediction.apk
Change-Id: Iaee80d99b18da2f788fa8eacf2e14a6b5c6a7088
28 files changed