From 7174a491bc1f89da65eaef3be25f3ea3f3e3bab5 Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Mon, 14 May 2012 17:00:27 -0700 Subject: 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 --- include/androidfw/Input.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/androidfw/Input.h') 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); -- cgit v1.2.3-59-g8ed1b