diff options
author | Jeff Brown <jeffbrown@google.com> | 2011-03-16 11:52:47 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2011-03-16 11:52:47 -0700 |
commit | e325e9ada7be366468199157234a16d7606a0abe (patch) | |
tree | 4cb11132ffe13dffc8f6994d67e5127eec9fe965 /native | |
parent | 843e29d3751017267b96565c543df0301c31a9f7 (diff) | |
download | frameworks_base-e325e9ada7be366468199157234a16d7606a0abe.zip frameworks_base-e325e9ada7be366468199157234a16d7606a0abe.tar.gz frameworks_base-e325e9ada7be366468199157234a16d7606a0abe.tar.bz2 |
Fix an incorrect NDK function prototype.
The function definition includes a history_index parameter but it was
missing from the header file. So the function declaration must be
fixed.
Bug: 4108565
Change-Id: I7bacfacb28fdd51ffc80ae016c1b6ebb51fbd66f
Diffstat (limited to 'native')
-rw-r--r-- | native/include/android/input.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/native/include/android/input.h b/native/include/android/input.h index 86be54a..953ee10 100644 --- a/native/include/android/input.h +++ b/native/include/android/input.h @@ -657,7 +657,8 @@ int64_t AMotionEvent_getHistoricalEventTime(AInputEvent* motion_event, * and views. * Whole numbers are pixels; the value may have a fraction for input devices * that are sub-pixel precise. */ -float AMotionEvent_getHistoricalRawX(const AInputEvent* motion_event, size_t pointer_index); +float AMotionEvent_getHistoricalRawX(const AInputEvent* motion_event, size_t pointer_index, + size_t history_index); /* Get the historical raw Y coordinate of this event for the given pointer index that * occurred between this event and the previous motion event. @@ -666,7 +667,8 @@ float AMotionEvent_getHistoricalRawX(const AInputEvent* motion_event, size_t poi * and views. * Whole numbers are pixels; the value may have a fraction for input devices * that are sub-pixel precise. */ -float AMotionEvent_getHistoricalRawY(const AInputEvent* motion_event, size_t pointer_index); +float AMotionEvent_getHistoricalRawY(const AInputEvent* motion_event, size_t pointer_index, + size_t history_index); /* Get the historical X coordinate of this event for the given pointer index that * occurred between this event and the previous motion event. |