am 30408434: am f8033360: Merge "Give IMEs the entire screen to use for measuring purposes." into klp-dev
* commit '30408434d3c04efa2b4a18838f9dfe0b5760f4ef': Give IMEs the entire screen to use for measuring purposes.
This commit is contained in:
@@ -1179,7 +1179,8 @@ public final class ViewRootImpl implements ViewParent,
|
|||||||
mFullRedrawNeeded = true;
|
mFullRedrawNeeded = true;
|
||||||
mLayoutRequested = true;
|
mLayoutRequested = true;
|
||||||
|
|
||||||
if (lp.type == WindowManager.LayoutParams.TYPE_STATUS_BAR_PANEL) {
|
if (lp.type == WindowManager.LayoutParams.TYPE_STATUS_BAR_PANEL
|
||||||
|
|| lp.type == WindowManager.LayoutParams.TYPE_INPUT_METHOD) {
|
||||||
// NOTE -- system code, won't try to do compat mode.
|
// NOTE -- system code, won't try to do compat mode.
|
||||||
Point size = new Point();
|
Point size = new Point();
|
||||||
mDisplay.getRealSize(size);
|
mDisplay.getRealSize(size);
|
||||||
@@ -1273,7 +1274,8 @@ public final class ViewRootImpl implements ViewParent,
|
|||||||
|| lp.height == ViewGroup.LayoutParams.WRAP_CONTENT) {
|
|| lp.height == ViewGroup.LayoutParams.WRAP_CONTENT) {
|
||||||
windowSizeMayChange = true;
|
windowSizeMayChange = true;
|
||||||
|
|
||||||
if (lp.type == WindowManager.LayoutParams.TYPE_STATUS_BAR_PANEL) {
|
if (lp.type == WindowManager.LayoutParams.TYPE_STATUS_BAR_PANEL
|
||||||
|
|| lp.type == WindowManager.LayoutParams.TYPE_INPUT_METHOD) {
|
||||||
// NOTE -- system code, won't try to do compat mode.
|
// NOTE -- system code, won't try to do compat mode.
|
||||||
Point size = new Point();
|
Point size = new Point();
|
||||||
mDisplay.getRealSize(size);
|
mDisplay.getRealSize(size);
|
||||||
|
|||||||
Reference in New Issue
Block a user