* Use the scaled size for surface view instead of native. The surface will be always scaled

by surface flinger in compatiblity mode. The original approach confused the app because
 the surface size and the view size were different.
* a few clean up. removed unsed arguments, obsolete conditions from getTranslator()
 (expandable check was a bug)
This commit is contained in:
Mitsuru Oshima
2009-07-22 20:38:58 -07:00
parent e0ef973b13
commit 589cebe2d5
4 changed files with 17 additions and 64 deletions

View File

@@ -6837,6 +6837,10 @@ public class WindowManagerService extends IWindowManager.Stub implements Watchdo
pw.print(mOrientationChanging);
pw.print(" mAppFreezing="); pw.println(mAppFreezing);
}
if (mHScale != 1 || mVScale != 1) {
pw.print(prefix); pw.print("mHScale="); pw.print(mHScale);
pw.print(" mVScale="); pw.println(mVScale);
}
}
@Override