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

Commit b4924521 authored by Ahan Wu's avatar Ahan Wu
Browse files

Remove DrawableEngine and related logics

We will always render image wallpaper with GLEngine so the
DrawableEnigne is no longer necessary.

Remove DrawableEngine and related code including tests makes the code
more clean.

Bug: 123617158
Test: Manually set wallpaper by Photos and rotate home
Test: runtest systemui

Change-Id: I630112e755b74217e44518ec93273c99fb173f24
parent b30e8b8a
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -43,14 +43,6 @@
                   android:visibility="invisible" />
    </com.android.systemui.statusbar.BackDropView>

    <com.android.systemui.wallpaper.AodMaskView
        android:id="@+id/aod_mask"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:importantForAccessibility="no"
        android:visibility="invisible"
        sysui:ignoreRightInset="true" />

    <com.android.systemui.statusbar.ScrimView
        android:id="@+id/scrim_behind"
        android:layout_width="match_parent"
+0 −5
Original line number Diff line number Diff line
@@ -111,11 +111,6 @@
    <!-- Optional cancel button on Keyguard -->
    <item type="id" name="cancel_button"/>

    <!-- AodMaskView transition tag -->
    <item type="id" name="aod_mask_transition_progress_tag" />
    <item type="id" name="aod_mask_transition_progress_end_tag" />
    <item type="id" name="aod_mask_transition_progress_start_tag" />

    <!-- For saving DynamicAnimation physics animations as view tags. -->
    <item type="id" name="translation_x_dynamicanimation_tag"/>
    <item type="id" name="translation_y_dynamicanimation_tag"/>
+1 −526

File changed.

Preview size limit exceeded, changes collapsed.

+0 −8
Original line number Diff line number Diff line
@@ -214,14 +214,6 @@ public enum ScrimState {
    public void prepare(ScrimState previousState) {
    }

    /**
     * Check if lockscreen wallpaper or music album art exists.
     * @return true if lockscreen wallpaper or music album art exists.
     */
    public boolean hasBackdrop() {
        return mHasBackdrop;
    }

    public int getIndex() {
        return mIndex;
    }
+0 −37

File changed.

Preview size limit exceeded, changes collapsed.

Loading