diff options
author | 2012-05-14 17:00:27 -0700 | |
---|---|---|
committer | 2012-05-14 18:31:53 -0700 | |
commit | 7174a491bc1f89da65eaef3be25f3ea3f3e3bab5 (patch) | |
tree | 2171b655c03b965e92a68889ff5bdfea6da10757 /include/androidfw/Input.h | |
parent | 85bd0d62830a098c1bdc720dfdcf4fe1b18b657c (diff) |
Improve touch event resampling.
Fixed a few bugs related to the id-to-index mapping for
pointer coordinates.
Tightened the bounds on the resampling time interval to
avoid predicting too far into the future.
Only lerp X and Y components of motion events.
Alter the future to satisfy past predictions. (Rewrite touch
events to conceal obvious discontinuities.)
Added a system property to control whether resampling is enabled
for debugging purposes.
Bug: 6375101
Change-Id: I35972d63278bc4e78148053a4125ad9abeebfedb
Diffstat (limited to 'include/androidfw/Input.h')
-rw-r--r-- | include/androidfw/Input.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/androidfw/Input.h b/include/androidfw/Input.h index aa8b82459a09..2c91fab90357 100644 --- a/include/androidfw/Input.h +++ b/include/androidfw/Input.h @@ -176,7 +176,6 @@ struct PointerCoords { status_t setAxisValue(int32_t axis, float value); void scale(float scale); - void lerp(const PointerCoords& a, const PointerCoords& b, float alpha); inline float getX() const { return getAxisValue(AMOTION_EVENT_AXIS_X); |