OSDN Git Service

Introduce new transparent bars sysui flags.
authorJohn Spurlock <jspurlock@google.com>
Mon, 5 Aug 2013 16:22:40 +0000 (12:22 -0400)
committerJohn Spurlock <jspurlock@google.com>
Tue, 6 Aug 2013 18:17:22 +0000 (14:17 -0400)
commite1f366faf8691f0dacde1dad35b28fcc37120776
tree94dcee80bd467a3b030c508a5a6b24fc8d4f9c56
parent1ea19f4e4959448d3a97adbb7dd055924ec270e9
Introduce new transparent bars sysui flags.

Two new public sysui flags for views to request transparent
bars:
  View.SYSTEM_UI_FLAG_TRANSPARENT_STATUS
  View.SYSTEM_UI_FLAG_TRANSPARENT_NAVIGATION

This first change simply introduces the flags at the framework
level, and makes the requisite layout tweaks to WM.

As part of this change, expunge the term "hideybars" from the
codebase. The flag to declare support for transient bars is called:
  View.SYSTEM_UI_FLAG_ALLOW_TRANSIENT

Final visuals/transitions between opaque/transparent bars will be
done as a subsequent change. Right now the transparent style is
identical to the transient bars.

Change-Id: I5ead9c5e7b77f212df5b2a5f6e770596cd2226f3
api/current.txt
core/java/android/view/View.java
packages/SystemUI/res/values-land/refs.xml
packages/SystemUI/res/values-sw600dp-port/refs.xml
packages/SystemUI/res/values/strings.xml
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
packages/SystemUI/src/com/android/systemui/statusbar/policy/Prefs.java
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java