Cherry-pick: [Android] Use getEventTime for long press timeout

Cherry-pick of Chromium crrev.com/r228366

BUG: 11063885

Original description:

Using getDownTime is better in most cases because it would not be
affected by tiny delays in delivering the event to Chrome.

However, there are situations in Android WebView when the input event
stream can be arbitrarily delayed, in which case using getDownTime is
not appropriate since it can be long in the past. So getEventTime is
the time when the event is delivered. This also matches with how the
rest of android views handle long press events.

Change-Id: I1de24e5d7d2a40fe97fccb4039b09450bba539d2
1 file changed