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

Commit bcff1431 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Move docked stack to the side in landscape instead of clip

Bug: 27154882
Bug: 27972642
Change-Id: Ie170571e356199bfbde014c80d670fd238825828
parent e1d43614
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -957,9 +957,11 @@ public class TaskStack implements DimLayer.DimLayerUser,
                    (int) (minimizeAmount * topInset + (1 - minimizeAmount) * mBounds.bottom);
        } else if (dockSide == DOCKED_LEFT) {
            mTmpAdjustedBounds.set(mBounds);
            final int width = mBounds.width();
            mTmpAdjustedBounds.right =
                    (int) (minimizeAmount * mDockedStackMinimizeThickness
                            + (1 - minimizeAmount) * mBounds.right);
            mTmpAdjustedBounds.left = mTmpAdjustedBounds.right - width;
        } else if (dockSide == DOCKED_RIGHT) {
            mTmpAdjustedBounds.set(mBounds);
            mTmpAdjustedBounds.left =