FP2-1667: add number constraint for samples per MotionEvent

add number constraint for samples per MotionEvent

Bug:23905002

Signed-off-by: Adam Lesinski <adamlesinski@google.com>

(cherry picked from commit 552a8a5d8df32f659b8d11311a244cdc6d3b7733)

Change-Id: I9b7ea859889b7697bee4165a2746602212120543
(cherry picked from commit 5d17838adef13062717322e79d4db0b9bb6b2395)
2 files changed