diff options
author | Mitsuru Oshima <oshima@google.com> | 2009-07-06 17:20:38 -0700 |
---|---|---|
committer | Mitsuru Oshima <oshima@google.com> | 2009-07-08 15:21:30 -0700 |
commit | 1ecf5d28817f0a051e77488380dcd5bc622ea169 (patch) | |
tree | c40b5f6e9d5d1ef01d90a6d476760af465737a97 /core/java/android/view/WindowManager.java | |
parent | 7761920b2a2efc76d08c63d5be1b3ce829746e4b (diff) | |
download | frameworks_base-1ecf5d28817f0a051e77488380dcd5bc622ea169.zip frameworks_base-1ecf5d28817f0a051e77488380dcd5bc622ea169.tar.gz frameworks_base-1ecf5d28817f0a051e77488380dcd5bc622ea169.tar.bz2 |
Re-implementation of large screen support using window manager.
* added background filler surface to fill the outer rim. Using the same layer as dim surface because
they never co-exists (in the same window)
* clean up the obsolete code in CompatibiltyMode/ViewRoot for support large screen support.
Diffstat (limited to 'core/java/android/view/WindowManager.java')
-rw-r--r-- | core/java/android/view/WindowManager.java | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/core/java/android/view/WindowManager.java b/core/java/android/view/WindowManager.java index bdb86d7..e96a15b 100644 --- a/core/java/android/view/WindowManager.java +++ b/core/java/android/view/WindowManager.java @@ -484,11 +484,19 @@ public interface WindowManager extends ViewManager { public static final int FLAG_SHOW_WHEN_LOCKED = 0x00080000; /** Window flag: special flag to let a window ignore the compatibility scaling. - * This is used by SurfaceView to create a window that does not scale the content. + * This is used by SurfaceView to pass this info into ViewRoot, and not used + * by WindowManager. * * {@hide} */ public static final int FLAG_NO_COMPATIBILITY_SCALING = 0x00100000; + /** Window flag: special flag to limit the size of the window to be + * original size ([320x480] x density). Used to create window for applications + * running under compatibility mode. + * + * {@hide} */ + public static final int FLAG_COMPATIBLE_WINDOW = 0x00200000; + /** Window flag: a special option intended for system dialogs. When * this flag is set, the window will demand focus unconditionally when * it is created. |