Loading core/java/android/webkit/WebView.java +15 −6 Original line number Diff line number Diff line Loading @@ -3053,8 +3053,10 @@ public class WebView extends AbsoluteLayout abortAnimation(); mPrivateHandler.removeMessages(RESUME_WEBCORE_PRIORITY); WebViewCore.resumePriority(); if (!mSelectingText) { WebViewCore.resumeUpdatePicture(mWebViewCore); } } } else { super.computeScroll(); } Loading Loading @@ -3818,7 +3820,9 @@ public class WebView extends AbsoluteLayout } void onFixedLengthZoomAnimationEnd() { if (!mSelectingText) { WebViewCore.resumeUpdatePicture(mWebViewCore); } onZoomAnimationEnd(); } Loading Loading @@ -4647,6 +4651,7 @@ public class WebView extends AbsoluteLayout // called by mSelectCallback.onDestroyActionMode mSelectCallback.finish(); mSelectCallback = null; WebViewCore.resumePriority(); WebViewCore.resumeUpdatePicture(mWebViewCore); invalidate(); // redraw without selection } Loading Loading @@ -5552,7 +5557,9 @@ public class WebView extends AbsoluteLayout // is possible on emulator. mLastVelocity = 0; WebViewCore.resumePriority(); if (!mSelectingText) { WebViewCore.resumeUpdatePicture(mWebViewCore); } break; } stopTouch(); Loading Loading @@ -5681,8 +5688,8 @@ public class WebView extends AbsoluteLayout mVelocityTracker = null; } if (mTouchMode == TOUCH_DRAG_MODE || mTouchMode == TOUCH_DRAG_LAYER_MODE) { if ((mTouchMode == TOUCH_DRAG_MODE || mTouchMode == TOUCH_DRAG_LAYER_MODE) && !mSelectingText) { WebViewCore.resumePriority(); WebViewCore.resumeUpdatePicture(mWebViewCore); } Loading Loading @@ -6053,7 +6060,9 @@ public class WebView extends AbsoluteLayout } if ((maxX == 0 && vy == 0) || (maxY == 0 && vx == 0)) { WebViewCore.resumePriority(); if (!mSelectingText) { WebViewCore.resumeUpdatePicture(mWebViewCore); } if (mScroller.springBack(mScrollX, mScrollY, 0, computeMaxScrollX(), 0, computeMaxScrollY())) { invalidate(); Loading Loading
core/java/android/webkit/WebView.java +15 −6 Original line number Diff line number Diff line Loading @@ -3053,8 +3053,10 @@ public class WebView extends AbsoluteLayout abortAnimation(); mPrivateHandler.removeMessages(RESUME_WEBCORE_PRIORITY); WebViewCore.resumePriority(); if (!mSelectingText) { WebViewCore.resumeUpdatePicture(mWebViewCore); } } } else { super.computeScroll(); } Loading Loading @@ -3818,7 +3820,9 @@ public class WebView extends AbsoluteLayout } void onFixedLengthZoomAnimationEnd() { if (!mSelectingText) { WebViewCore.resumeUpdatePicture(mWebViewCore); } onZoomAnimationEnd(); } Loading Loading @@ -4647,6 +4651,7 @@ public class WebView extends AbsoluteLayout // called by mSelectCallback.onDestroyActionMode mSelectCallback.finish(); mSelectCallback = null; WebViewCore.resumePriority(); WebViewCore.resumeUpdatePicture(mWebViewCore); invalidate(); // redraw without selection } Loading Loading @@ -5552,7 +5557,9 @@ public class WebView extends AbsoluteLayout // is possible on emulator. mLastVelocity = 0; WebViewCore.resumePriority(); if (!mSelectingText) { WebViewCore.resumeUpdatePicture(mWebViewCore); } break; } stopTouch(); Loading Loading @@ -5681,8 +5688,8 @@ public class WebView extends AbsoluteLayout mVelocityTracker = null; } if (mTouchMode == TOUCH_DRAG_MODE || mTouchMode == TOUCH_DRAG_LAYER_MODE) { if ((mTouchMode == TOUCH_DRAG_MODE || mTouchMode == TOUCH_DRAG_LAYER_MODE) && !mSelectingText) { WebViewCore.resumePriority(); WebViewCore.resumeUpdatePicture(mWebViewCore); } Loading Loading @@ -6053,7 +6060,9 @@ public class WebView extends AbsoluteLayout } if ((maxX == 0 && vy == 0) || (maxY == 0 && vx == 0)) { WebViewCore.resumePriority(); if (!mSelectingText) { WebViewCore.resumeUpdatePicture(mWebViewCore); } if (mScroller.springBack(mScrollX, mScrollY, 0, computeMaxScrollX(), 0, computeMaxScrollY())) { invalidate(); Loading