[Android] Impove PopupWindow-based handle visibility
WebView embedders can disable fling animation updates by overriding
computeScroll. This in turn makes the fling existence notifications
unreliable, which causes visibility issues with PopupWindow-based
selection handles. Instead of polling for scroll status, hide the
handles when the View is touch scrolling, unfocused or outside the
viewport. Also temporarily hide the handles when a scroll change is
detected, handling the case where a fling is active.
BUG=528365
Review URL: https://codereview.chromium.org/
1338513002
Cr-Commit-Position: refs/heads/master@{#349033}