Patent ID: 9740396
Date: 2017-08-22
CPC Classifications: G06F

Claim:
1. A method, comprising: receiving, at a user device, motion sensor data indicative of movements of the user device over a period of time; determining, by one or more computer processors of the user device, a value of a vibration metric representative of the movements of the user device based at least in part on the motion sensor data, wherein the value of the vibration metric is a measure of a level of vibration of the user device over the period of time; selecting, by the one or more computer processors, a value for a gesture detection parameter based at least in part on the value of the vibration metric, wherein the gesture detection parameter comprises at least one of a tap radius or a swipe angle, and wherein the value of the gesture detection parameter is selected to compensate for reduced gesture accuracy caused by the level of vibration of the user device; receiving, by the one or more computer processors, a touch input corresponding to a touch event detected at a touch-sensitive display of the user device; determining, by the one or more computer processors and based at least in part on the touch input, that the touch event does not include interaction with a touch input coordinate that lies outside of a boundary defined by the value of the gesture detection parameter; and determining, by the one or more computer processors, that the touch event corresponds to a tap or a swipe based at least in part on determining that the touch event does not include interaction with a touch input coordinate that lies outside of the boundary defined by the value of the gesture detection parameter.