summaryrefslogtreecommitdiff
path: root/core/java/android/view/WindowManagerPolicy.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2011-05-09 17:10:34 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-05-09 17:10:34 -0700
commit05be6d6fe09ddfb706d1bef3b20c3d37f45e3c8a (patch)
treee267de423fabed80a38fd48d6f9e2910b69fc072 /core/java/android/view/WindowManagerPolicy.java
parentba54feb094fdf0eb2201eae5751104a144a2a31d (diff)
parent4907d1d5e2c7d244b07579b8c52153df69754e85 (diff)
am 4907d1d5: am 0c6cbf41: Merge "Better compat mode part one: start scaling windows." into honeycomb-mr2
* commit '4907d1d5e2c7d244b07579b8c52153df69754e85': Better compat mode part one: start scaling windows.
Diffstat (limited to 'core/java/android/view/WindowManagerPolicy.java')
-rw-r--r--core/java/android/view/WindowManagerPolicy.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/java/android/view/WindowManagerPolicy.java b/core/java/android/view/WindowManagerPolicy.java
index 334c68e9c06a..2058991aa735 100644
--- a/core/java/android/view/WindowManagerPolicy.java
+++ b/core/java/android/view/WindowManagerPolicy.java
@@ -458,6 +458,18 @@ public interface WindowManagerPolicy {
public int getMaxWallpaperLayer();
/**
+ * Return the display width available after excluding the window
+ * decor.
+ */
+ public int getNonDecorDisplayWidth(int fullWidth);
+
+ /**
+ * Return the display height available after excluding the screen
+ * decor.
+ */
+ public int getNonDecorDisplayHeight(int fullHeight);
+
+ /**
* Return whether the given window should forcibly hide everything
* behind it. Typically returns true for the keyguard.
*/