diff options
author | Jorim Jaggi <jjaggi@google.com> | 2014-09-11 18:17:56 +0200 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2014-09-12 18:42:20 +0200 |
commit | e19b1ac57c116c8592d64a83b1f1484a5b1898ed (patch) | |
tree | 9729b7b087a424e3babc3ed703d372852ad085f7 /packages/SystemUI/res | |
parent | 2418d7381f1a1c15b26af252d7d08745c1858af4 (diff) | |
download | frameworks_base-e19b1ac57c116c8592d64a83b1f1484a5b1898ed.zip frameworks_base-e19b1ac57c116c8592d64a83b1f1484a5b1898ed.tar.gz frameworks_base-e19b1ac57c116c8592d64a83b1f1484a5b1898ed.tar.bz2 |
Avoid some more layer creations
Bug: 17287256
Change-Id: I8c0c6f1f189b70d9a0c261f75987def3464d808d
Diffstat (limited to 'packages/SystemUI/res')
4 files changed, 8 insertions, 8 deletions
diff --git a/packages/SystemUI/res/layout/keyguard_user_switcher.xml b/packages/SystemUI/res/layout/keyguard_user_switcher.xml index 7c918c2..3730bbe 100644 --- a/packages/SystemUI/res/layout/keyguard_user_switcher.xml +++ b/packages/SystemUI/res/layout/keyguard_user_switcher.xml @@ -14,7 +14,7 @@ ~ See the License for the specific language governing permissions and ~ limitations under the License --> -<com.android.systemui.statusbar.AlphaOptimizedLinearLayout +<com.android.keyguard.AlphaOptimizedLinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/keyguard_user_switcher" android:orientation="vertical" @@ -23,4 +23,4 @@ android:gravity="end" android:visibility="gone" android:paddingTop="4dp"> -</com.android.systemui.statusbar.AlphaOptimizedLinearLayout> +</com.android.keyguard.AlphaOptimizedLinearLayout> diff --git a/packages/SystemUI/res/layout/status_bar.xml b/packages/SystemUI/res/layout/status_bar.xml index 0d414f9..245c128 100644 --- a/packages/SystemUI/res/layout/status_bar.xml +++ b/packages/SystemUI/res/layout/status_bar.xml @@ -57,7 +57,7 @@ > <!-- The alpha of this area is both controlled from PhoneStatusBarTransitions and PhoneStatusBar (DISABLE_NOTIFICATION_ICONS), so we need two views here. --> - <com.android.systemui.statusbar.AlphaOptimizedLinearLayout + <com.android.keyguard.AlphaOptimizedLinearLayout android:id="@+id/notification_icon_area_inner" android:layout_width="match_parent" android:layout_height="match_parent" @@ -74,10 +74,10 @@ android:layout_alignParentStart="true" android:gravity="center_vertical" android:orientation="horizontal"/> - </com.android.systemui.statusbar.AlphaOptimizedLinearLayout> + </com.android.keyguard.AlphaOptimizedLinearLayout> </com.android.systemui.statusbar.AlphaOptimizedFrameLayout> - <com.android.systemui.statusbar.AlphaOptimizedLinearLayout android:id="@+id/system_icon_area" + <com.android.keyguard.AlphaOptimizedLinearLayout android:id="@+id/system_icon_area" android:layout_width="wrap_content" android:layout_height="match_parent" android:orientation="horizontal" @@ -94,7 +94,7 @@ android:paddingStart="7dp" android:gravity="center_vertical|start" /> - </com.android.systemui.statusbar.AlphaOptimizedLinearLayout> + </com.android.keyguard.AlphaOptimizedLinearLayout> </LinearLayout> <ViewStub diff --git a/packages/SystemUI/res/layout/status_bar_expanded_header.xml b/packages/SystemUI/res/layout/status_bar_expanded_header.xml index 34e062c..7ea9145 100644 --- a/packages/SystemUI/res/layout/status_bar_expanded_header.xml +++ b/packages/SystemUI/res/layout/status_bar_expanded_header.xml @@ -44,7 +44,7 @@ android:scaleType="centerInside"/> </com.android.systemui.statusbar.phone.MultiUserSwitch> - <ImageButton android:id="@+id/settings_button" + <com.android.keyguard.AlphaOptimizedImageButton android:id="@+id/settings_button" style="@android:style/Widget.Material.Button.Borderless" android:layout_toStartOf="@id/multi_user_switch" android:layout_width="48dp" diff --git a/packages/SystemUI/res/layout/system_icons.xml b/packages/SystemUI/res/layout/system_icons.xml index 8f25d99..21386ef 100644 --- a/packages/SystemUI/res/layout/system_icons.xml +++ b/packages/SystemUI/res/layout/system_icons.xml @@ -20,7 +20,7 @@ android:layout_height="match_parent" android:gravity="center_vertical"> - <com.android.systemui.statusbar.AlphaOptimizedLinearLayout android:id="@+id/statusIcons" + <com.android.keyguard.AlphaOptimizedLinearLayout android:id="@+id/statusIcons" android:layout_width="wrap_content" android:layout_height="match_parent" android:gravity="center_vertical" |