diff options
author | Dianne Hackborn <hackbod@google.com> | 2010-11-18 19:47:42 -0800 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2010-11-18 19:57:49 -0800 |
commit | 8e11ef0d949a52fec15359ec35557b2e773b093d (patch) | |
tree | e05b9bc14369925d52a27e8f913e5c5a5533727e /policy | |
parent | 71d4ecb185bbe9e699aa85c65c98427a67a3fb12 (diff) | |
download | frameworks_base-8e11ef0d949a52fec15359ec35557b2e773b093d.zip frameworks_base-8e11ef0d949a52fec15359ec35557b2e773b093d.tar.gz frameworks_base-8e11ef0d949a52fec15359ec35557b2e773b093d.tar.bz2 |
Some work on issue #3201795: Improve transition when keyboard comes up
Now try to slide dialogs if they end up moving due to the IME (or
other system things) showing/hiding. Pretty hackish, but seems to
work.
Change-Id: Icd297e941cf847fa920c9605145c46be63043d52
Diffstat (limited to 'policy')
-rwxr-xr-x | policy/src/com/android/internal/policy/impl/PhoneWindowManager.java | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java index cc391d5..5287289 100755 --- a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +++ b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java @@ -283,7 +283,7 @@ public class PhoneWindowManager implements WindowManagerPolicy { // the same as mCur*, but may be larger if the screen decor has supplied // content insets. int mContentLeft, mContentTop, mContentRight, mContentBottom; - // During layout, the current screen borders along with input method + // During layout, the current screen borders along which input method // windows are placed. int mDockLeft, mDockTop, mDockRight, mDockBottom; // During layout, the layer at which the doc window is placed. @@ -1510,13 +1510,6 @@ public class PhoneWindowManager implements WindowManagerPolicy { return; } - if (false) { - if ("com.google.android.youtube".equals(attrs.packageName) - && attrs.type == WindowManager.LayoutParams.TYPE_APPLICATION_PANEL) { - Log.i(TAG, "GOTCHA!"); - } - } - final int fl = attrs.flags; final int sim = attrs.softInputMode; @@ -1629,16 +1622,6 @@ public class PhoneWindowManager implements WindowManagerPolicy { + " pf=" + pf.toShortString() + " df=" + df.toShortString() + " cf=" + cf.toShortString() + " vf=" + vf.toShortString()); - if (false) { - if ("com.google.android.youtube".equals(attrs.packageName) - && attrs.type == WindowManager.LayoutParams.TYPE_APPLICATION_PANEL) { - if (true || localLOGV) Log.v(TAG, "Computing frame of " + win + - ": sim=#" + Integer.toHexString(sim) - + " pf=" + pf.toShortString() + " df=" + df.toShortString() - + " cf=" + cf.toShortString() + " vf=" + vf.toShortString()); - } - } - win.computeFrameLw(pf, df, cf, vf); // Dock windows carve out the bottom of the screen, so normal windows |