From 771526c88f5cc4b56a41cb12aa06a28d377a07d5 Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Fri, 27 Apr 2012 15:13:25 -0700 Subject: Resample touch events on frame boundaries. Bug: 6375101 Change-Id: I8774e366306bb2b6b4e42b913525bf25b0380ec3 --- include/androidfw/Input.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/androidfw/Input.h') diff --git a/include/androidfw/Input.h b/include/androidfw/Input.h index a98e1a27f9f5..044f2bf59538 100644 --- a/include/androidfw/Input.h +++ b/include/androidfw/Input.h @@ -208,6 +208,7 @@ 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