1. A method, comprising: at an electronic device with one or more processors, memory, and a touch-sensitive display: receiving data relating to device movement and data relating to device orientation; receiving a touch input on the touch-sensitive display; processing the received data relating to device movement and the received data relating to device orientation to determine whether the electronic device is in one of a first or second state based on the received data relating to device movement and data relating to device orientation, wherein the first state occurs when a user is looking at the electronic device; if it is determined that the electronic device is in the first proximity state, processing the touch input as an intentional touch input; if it is determined that the electronic device is in the second proximity state, processing the touch input as an unintentional touch input; and in response to detecting a first change in the received data relating to device movement and the received data relating to device orientation, determining that the device has changed from the second state to the first state.