am e5b6d02f: Translate the content dimension to the view space before setting them to the view.
Merge commit 'e5b6d02f34af2cd81615653b00c96a421d5ea819' into eclair-plus-aosp * commit 'e5b6d02f34af2cd81615653b00c96a421d5ea819': Translate the content dimension to the view space before setting them to the view.
This commit is contained in:
@@ -4935,8 +4935,8 @@ public class WebView extends AbsoluteLayout
|
|||||||
int measuredWidth = widthSize;
|
int measuredWidth = widthSize;
|
||||||
|
|
||||||
// Grab the content size from WebViewCore.
|
// Grab the content size from WebViewCore.
|
||||||
int contentHeight = mContentHeight;
|
int contentHeight = Math.round(mContentHeight * mActualScale);
|
||||||
int contentWidth = mContentWidth;
|
int contentWidth = Math.round(mContentWidth * mActualScale);
|
||||||
|
|
||||||
// Log.d(LOGTAG, "------- measure " + heightMode);
|
// Log.d(LOGTAG, "------- measure " + heightMode);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user