Move docked stack to the side in landscape instead of clip
Bug: 27154882 Bug: 27972642 Change-Id: Ie170571e356199bfbde014c80d670fd238825828
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user