diff options
author | Adam Lesinski <adamlesinski@google.com> | 2015-10-12 22:23:05 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-10-12 22:23:05 +0000 |
commit | 76fc5f18e6a0271a1f04db54924653faac73912e (patch) | |
tree | 2caa1a29392bf7b8f5b5c86871c7b509eec226ab /include | |
parent | 33c3c1bd71de8a903b6a07f0b1c4f2f670313778 (diff) | |
parent | 16b0ae105e4e94ff09d1517b68f7c66f2022a19e (diff) | |
download | frameworks_native-76fc5f18e6a0271a1f04db54924653faac73912e.zip frameworks_native-76fc5f18e6a0271a1f04db54924653faac73912e.tar.gz frameworks_native-76fc5f18e6a0271a1f04db54924653faac73912e.tar.bz2 |
am 16b0ae10: Merge "add number constraint for samples per MotionEvent" into mnc-dr-dev
* commit '16b0ae105e4e94ff09d1517b68f7c66f2022a19e':
add number constraint for samples per MotionEvent
Diffstat (limited to 'include')
-rw-r--r-- | include/input/Input.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/input/Input.h b/include/input/Input.h index 4a67f47..92b3d36 100644 --- a/include/input/Input.h +++ b/include/input/Input.h @@ -111,6 +111,11 @@ enum { #define MAX_POINTERS 16 /* + * Maximum number of samples supported per motion event. + */ +#define MAX_SAMPLES UINT16_MAX + +/* * Maximum pointer id value supported in a motion event. * Smallest pointer id is 0. * (This is limited by our use of BitSet32 to track pointer assignments.) |