Loading core/java/android/webkit/WebView.java +4 −0 Original line number Diff line number Diff line Loading @@ -4814,6 +4814,8 @@ public class WebView extends AbsoluteLayout boolean done = false; boolean keepScrollBarsVisible = false; if (Math.abs(fDeltaX) < 1.0f && Math.abs(fDeltaY) < 1.0f) { mLastTouchX = x; mLastTouchY = y; keepScrollBarsVisible = done = true; } else { if (mSnapScrollMode == SNAP_X || mSnapScrollMode == SNAP_Y) { Loading Loading @@ -4865,6 +4867,8 @@ public class WebView extends AbsoluteLayout } else { // keep the scrollbar on the screen even there is no // scroll mLastTouchX = x; mLastTouchY = y; keepScrollBarsVisible = true; } mLastTouchTime = eventTime; Loading Loading
core/java/android/webkit/WebView.java +4 −0 Original line number Diff line number Diff line Loading @@ -4814,6 +4814,8 @@ public class WebView extends AbsoluteLayout boolean done = false; boolean keepScrollBarsVisible = false; if (Math.abs(fDeltaX) < 1.0f && Math.abs(fDeltaY) < 1.0f) { mLastTouchX = x; mLastTouchY = y; keepScrollBarsVisible = done = true; } else { if (mSnapScrollMode == SNAP_X || mSnapScrollMode == SNAP_Y) { Loading Loading @@ -4865,6 +4867,8 @@ public class WebView extends AbsoluteLayout } else { // keep the scrollbar on the screen even there is no // scroll mLastTouchX = x; mLastTouchY = y; keepScrollBarsVisible = true; } mLastTouchTime = eventTime; Loading