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

Commit baef70ab authored by Heemin Seog's avatar Heemin Seog Committed by Automerger Merge Worker
Browse files

DO NOT MERGE Add generic rotary support for sysui overlay window am: e076c234

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13714485

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iea8554941ceb6197115feca7c7d3b55fab0fbdb3
parents 83228fef e076c234
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -14,10 +14,7 @@
  ~ limitations under the License.
  -->

<!-- Car customizations
     Car has solid black background instead of a transparent one
-->
<LinearLayout
<com.android.car.ui.FocusArea
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/keyguard_container"
    android:layout_width="match_parent"
+0 −2
Original line number Diff line number Diff line
@@ -66,7 +66,6 @@
        android:src="@drawable/ic_backspace"
        android:clickable="true"
        android:tint="@android:color/white"
        android:background="@drawable/ripple_drawable"
        android:contentDescription="@string/keyboardview_keycode_delete" />
    <com.android.keyguard.NumPadKey
        android:id="@+id/key0"
@@ -77,7 +76,6 @@
        style="@style/NumPadKeyButton.LastRow"
        android:src="@drawable/ic_done"
        android:tint="@android:color/white"
        android:background="@drawable/ripple_drawable"
        android:contentDescription="@string/keyboardview_keycode_enter" />
</merge>
+1 −3
Original line number Diff line number Diff line
@@ -17,10 +17,8 @@
<resources>
    <dimen name="num_pad_margin_left">112dp</dimen>
    <dimen name="num_pad_margin_right">144dp</dimen>
    <dimen name="num_pad_key_width">80dp</dimen>
    <dimen name="num_pad_key_width">120dp</dimen>
    <dimen name="num_pad_key_height">80dp</dimen>
    <dimen name="num_pad_key_margin_horizontal">@*android:dimen/car_padding_5</dimen>
    <dimen name="num_pad_key_margin_bottom">@*android:dimen/car_padding_5</dimen>
    <dimen name="pin_entry_height">@dimen/num_pad_key_height</dimen>
    <dimen name="divider_height">1dp</dimen>
    <dimen name="key_enter_margin_top">128dp</dimen>
+2 −5
Original line number Diff line number Diff line
@@ -23,12 +23,11 @@
        <item name="android:layout_width">@dimen/num_pad_key_width</item>
        <item name="android:layout_height">@dimen/num_pad_key_height</item>
        <item name="android:layout_marginBottom">@dimen/num_pad_key_margin_bottom</item>
        <item name="android:background">?android:attr/selectableItemBackground</item>
        <item name="textView">@id/pinEntry</item>
    </style>

    <style name="NumPadKeyButton.MiddleColumn">
        <item name="android:layout_marginStart">@dimen/num_pad_key_margin_horizontal</item>
        <item name="android:layout_marginEnd">@dimen/num_pad_key_margin_horizontal</item>
    </style>

    <style name="NumPadKeyButton.LastRow">
@@ -36,12 +35,10 @@
    </style>

    <style name="NumPadKeyButton.LastRow.MiddleColumn">
        <item name="android:layout_marginStart">@dimen/num_pad_key_margin_horizontal</item>
        <item name="android:layout_marginEnd">@dimen/num_pad_key_margin_horizontal</item>
    </style>

    <style name="KeyguardButton" parent="@android:style/Widget.DeviceDefault.Button">
        <item name="android:background">@drawable/keyguard_button_background</item>
        <item name="android:background">?android:attr/selectableItemBackground</item>
        <item name="android:textColor">@color/button_text</item>
        <item name="android:textAllCaps">false</item>
    </style>
+25 −18
Original line number Diff line number Diff line
@@ -14,8 +14,14 @@
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<com.android.systemui.car.userswitcher.UserSwitcherContainer

<com.android.car.ui.FocusArea
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/user_switcher_container"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:gravity="center">
    <com.android.systemui.car.userswitcher.UserSwitcherContainer
        android:id="@+id/container"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
@@ -40,3 +46,4 @@
        </FrameLayout>

    </com.android.systemui.car.userswitcher.UserSwitcherContainer>
</com.android.car.ui.FocusArea>
Loading