am 22bfcbca: Merge change 25831 into eclair

Merge commit '22bfcbca4f9f4e88dee120c5bf71545f40289e00' into eclair-plus-aosp

* commit '22bfcbca4f9f4e88dee120c5bf71545f40289e00':
  When double tap zoom out to overview mode, force reveal the full
This commit is contained in:
Grace Kloba
2009-09-18 23:16:45 -07:00
committed by Android Git Automerger

View File

@@ -4517,6 +4517,8 @@ public class WebView extends AbsoluteLayout
} }
} }
if (mInZoomOverview) { if (mInZoomOverview) {
// Force the titlebar fully reveal in overview mode
if (mScrollY < getTitleHeight()) mScrollY = 0;
zoomWithPreview((float) getViewWidth() / mZoomOverviewWidth); zoomWithPreview((float) getViewWidth() / mZoomOverviewWidth);
} else { } else {
// mLastTouchX and mLastTouchY are the point in the current viewport // mLastTouchX and mLastTouchY are the point in the current viewport