am 46452f6c: am 22bfcbca: Merge change 25831 into eclair

Merge commit '46452f6c7efd834f54ffcf16cbb48ad0c00715d1'

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

View File

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