OSDN Git Service

Rework how we decide whether to use system or status bar.
authorDianne Hackborn <hackbod@google.com>
Thu, 26 May 2011 07:55:58 +0000 (00:55 -0700)
committerDianne Hackborn <hackbod@google.com>
Thu, 26 May 2011 17:46:19 +0000 (10:46 -0700)
commit81e56d535c853d73ff537357da5b935f51cb779d
treeb0d69765bbefecbdeeadebc24b7e57f902af84b9
parent42f8094c066209a65b09d53611ef5c93daba4c51
Rework how we decide whether to use system or status bar.

The PhoneWindowManager is now responsible for determing this,
since it needs to do this before we can generate the configuration
since we need to take into account the system bar size we will use.

Also the Display should now report the screen height without
including the system bar.

Change-Id: I82dfcc5e327e4d13d82c373c6c870f557a99b757
16 files changed:
core/java/android/app/ContextImpl.java
core/java/android/content/res/CompatibilityInfo.java
core/java/android/util/DisplayMetrics.java
core/java/android/view/Display.java
core/java/android/view/IWindowManager.aidl
core/java/android/view/WindowManagerPolicy.java
core/res/res/values-large/config.xml
core/res/res/values-sw600dp/config.xml
core/res/res/values/config.xml
core/res/res/values/dimens.xml
packages/SystemUI/res/values-large/config.xml
packages/SystemUI/res/values/config.xml
packages/SystemUI/src/com/android/systemui/SystemUIService.java
packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
services/java/com/android/server/wm/WindowManagerService.java