am 6d559f9d: am bf5b632a: Use getViewHeightWithTitle() to honor the scrollbar setting when computing the maxScrollY for fling. This is honored in the regular scroll in computeVerticalScrollExtent().

Merge commit '6d559f9d5688b3e2b027e6fbd5c5cf4f0efbfc09' into eclair-mr2-plus-aosp

* commit '6d559f9d5688b3e2b027e6fbd5c5cf4f0efbfc09':
  Use getViewHeightWithTitle() to honor the scrollbar
This commit is contained in:
Grace Kloba
2009-11-11 17:28:07 -08:00
committed by Android Git Automerger

View File

@@ -4445,7 +4445,7 @@ public class WebView extends AbsoluteLayout
private int computeMaxScrollY() {
int maxContentH = computeVerticalScrollRange() + getTitleHeight();
return Math.max(maxContentH - getHeight(), getTitleHeight());
return Math.max(maxContentH - getViewHeightWithTitle(), getTitleHeight());
}
public void flingScroll(int vx, int vy) {