OSDN Git Service

If we defer processing the touch events, pass the
authorGrace Kloba <klobag@google.com>
Tue, 13 Apr 2010 23:27:41 +0000 (16:27 -0700)
committerGrace Kloba <klobag@google.com>
Tue, 13 Apr 2010 23:27:41 +0000 (16:27 -0700)
commit102ed89dbccdebb8d4c1fc0c3ec2957d55be1a22
tree6600ead3496f9498af00d9fc6af260edeaf05304
parentdb281311a0e957ba989509cf11f2085b4db12074
If we defer processing the touch events, pass the
original view coordinate with TouchEventData and use
them when we reprocess the events. We can't depend
on contentToView() to convert the doc point to the
view point. When we originally convert the view to
doc, the scroll position in UI doesn't change. When
we convert the doc back to view, we are chasing a
moving target. That is why we saw bigger delta.

Fix  http://b/issue?id=2577274
core/java/android/webkit/WebView.java
core/java/android/webkit/WebViewCore.java