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

Commit fae3f9c5 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by android-build-merger
Browse files

Merge "Add shadow for minimized dock" into nyc-dev

am: a5df489c

* commit 'a5df489c':
  Add shadow for minimized dock

Change-Id: Iab5e97a8a5cb521aadf519359816ff2c48de7e71
parents eae7a2de a5df489c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -42,4 +42,9 @@ oneway interface IDockedStackListener {
     * @param animDuration The duration of the animation for changing the minimized state.
     */
    void onDockedStackMinimizedChanged(boolean minimized, long animDuration);

    /**
     * Called when window manager repositioned the docked stack after a screen rotation change.
     */
    void onDockSideChanged(int newDockSide);
}
+5 −0
Original line number Diff line number Diff line
@@ -24,6 +24,11 @@
        android:id="@+id/docked_divider_background"
        android:background="@color/docked_divider_background"/>

    <com.android.systemui.stackdivider.MinimizedDockShadow
        style="@style/DockedDividerMinimizedShadow"
        android:id="@+id/minimized_dock_shadow"
        android:alpha="0"/>">

    <com.android.systemui.stackdivider.DividerHandleView
        style="@style/DockedDividerHandle"
        android:id="@+id/docked_divider_handle"
+4 −0
Original line number Diff line number Diff line
@@ -31,4 +31,8 @@
        <item name="android:layout_height">96dp</item>
    </style>

    <style name="DockedDividerMinimizedShadow">
        <item name="android:layout_width">8dp</item>
        <item name="android:layout_height">match_parent</item>
    </style>
</resources>
+3 −1
Original line number Diff line number Diff line
@@ -151,7 +151,9 @@

    <color name="docked_divider_background">#ff000000</color>
    <color name="docked_divider_handle">#ffffff</color>
    <drawable name="forced_resizable_background">#40000000</drawable>
    <drawable name="forced_resizable_background">#59000000</drawable>
    <color name="minimize_dock_shadow_start">#60000000</color>
    <color name="minimize_dock_shadow_end">#00000000</color>

    <color name="default_remote_input_background">@*android:color/notification_default_color</color>
    <color name="remote_input_hint">#99ffffff</color>
+5 −0
Original line number Diff line number Diff line
@@ -308,6 +308,11 @@
        <item name="android:layout_gravity">center_vertical</item>
    </style>

    <style name="DockedDividerMinimizedShadow">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">8dp</item>
    </style>

    <style name="DockedDividerHandle">
        <item name="android:layout_gravity">center_horizontal</item>
        <item name="android:layout_width">96dp</item>
Loading