diff options
author | 2012-04-27 15:13:25 -0700 | |
---|---|---|
committer | 2012-04-27 15:58:42 -0700 | |
commit | 771526c88f5cc4b56a41cb12aa06a28d377a07d5 (patch) | |
tree | 71c36f271192ee66f069f0d1130a73e91b8302b9 /include/androidfw/Input.h | |
parent | 330314c6fb7c178c0f0da65d6aa8c9e7d3004568 (diff) |
Resample touch events on frame boundaries.
Bug: 6375101
Change-Id: I8774e366306bb2b6b4e42b913525bf25b0380ec3
Diffstat (limited to 'include/androidfw/Input.h')
-rw-r--r-- | include/androidfw/Input.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |