Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a1edc85 authored by Jordan Demeulenaere's avatar Jordan Demeulenaere Committed by Automerger Merge Worker
Browse files

Wire the new FooterActions implementation behind a flag am: 4327ce40 am: b76f2ba6

parents 5dcaa51b b76f2ba6
Loading
Loading
Loading
Loading
+9 −1
Original line number Original line Diff line number Diff line
@@ -7,3 +7,11 @@ packages/SystemUI/src/com/android/systemui/keyguard/dagger
packages/SystemUI/src/com/android/systemui/keyguard/domain
packages/SystemUI/src/com/android/systemui/keyguard/domain
packages/SystemUI/src/com/android/systemui/keyguard/shared
packages/SystemUI/src/com/android/systemui/keyguard/shared
packages/SystemUI/src/com/android/systemui/keyguard/ui
packages/SystemUI/src/com/android/systemui/keyguard/ui
packages/SystemUI/src/com/android/systemui/qs/footer
packages/SystemUI/src/com/android/systemui/security
packages/SystemUI/src/com/android/systemui/common/
packages/SystemUI/tests/utils/src/com/android/systemui/qs/
packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/policy/FakeSecurityController.kt
packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/policy/FakeUserInfoController.kt
packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/policy/MockUserSwitcherControllerWrapper.kt
packages/SystemUI/tests/src/com/android/systemui/qs/footer/
 No newline at end of file
+1 −0
Original line number Original line Diff line number Diff line
@@ -14,6 +14,7 @@
     See the License for the specific language governing permissions and
     See the License for the specific language governing permissions and
     limitations under the License.
     limitations under the License.
-->
-->
<!-- TODO(b/242040009): Remove this file. -->
<FrameLayout
<FrameLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="0dp"
    android:layout_width="0dp"
+2 −1
Original line number Original line Diff line number Diff line
@@ -16,6 +16,7 @@
-->
-->


<!-- Action buttons for footer in QS/QQS, containing settings button, power off button etc -->
<!-- Action buttons for footer in QS/QQS, containing settings button, power off button etc -->
<!-- TODO(b/242040009): Clean up this file. -->
<com.android.systemui.qs.FooterActionsView
<com.android.systemui.qs.FooterActionsView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
@@ -25,7 +26,7 @@
    android:paddingTop="8dp"
    android:paddingTop="8dp"
    android:paddingBottom="@dimen/qs_footer_actions_bottom_padding"
    android:paddingBottom="@dimen/qs_footer_actions_bottom_padding"
    android:background="@drawable/qs_footer_actions_background"
    android:background="@drawable/qs_footer_actions_background"
    android:gravity="center_vertical"
    android:gravity="center_vertical|end"
    android:layout_gravity="bottom"
    android:layout_gravity="bottom"
>
>


+28 −0
Original line number Original line Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2022 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<com.android.systemui.statusbar.AlphaOptimizedFrameLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="@dimen/qs_footer_action_button_size"
    android:layout_height="@dimen/qs_footer_action_button_size"
    android:visibility="gone">
    <ImageView
        android:id="@+id/icon"
        android:layout_width="@dimen/qs_footer_icon_size"
        android:layout_height="@dimen/qs_footer_icon_size"
        android:layout_gravity="center"
        android:scaleType="centerInside" />
</com.android.systemui.statusbar.AlphaOptimizedFrameLayout>
 No newline at end of file
+39 −0
Original line number Original line Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2022 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<FrameLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="@dimen/qs_footer_action_button_size"
    android:layout_height="@dimen/qs_footer_action_button_size"
    android:background="@drawable/qs_footer_action_circle"
    android:visibility="gone">
    <TextView
        android:id="@+id/number"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textAppearance="@style/TextAppearance.QS.SecurityFooter"
        android:layout_gravity="center"
        android:textColor="?android:attr/textColorPrimary"
        android:textSize="18sp"/>
    <ImageView
        android:id="@+id/new_dot"
        android:layout_width="12dp"
        android:layout_height="12dp"
        android:scaleType="fitCenter"
        android:layout_gravity="bottom|end"
        android:src="@drawable/fgs_dot"
        android:contentDescription="@string/fgs_dot_content_description" />
</FrameLayout>
 No newline at end of file
Loading