Fixed split in Desktop windowing

When desktop windowing is enable and split is selected, during second app selection apps' scroll was far off on left. There were several things needed to fix this :
1. Hide DesktopTaskView during split select mode by changing splitAlpha
2. Fix min/max scroll calculation by excluding DesktopTaskView in split select mode
3. Exclude DesktopTaskView in updateGridProperties row length calcualtion

Testing: Manually needed to test multiple scenarios
1. Split focused task.
2. Split Even/Odd tasks in top and bottom rows.
3. Split tasks from home screen
4. Split and rotate screen.
5. Split from app icon chip

Test: SplitSelectStateControllerTest, Manual
BUG: 330342294
FIX: 330342294
Flag: com.android.launcher3.enable_large_desktop_windowing_tile
Change-Id: I789873100f42896c9ed3084accb0f6970abcba0c
This commit is contained in:
vinayjoglekar committed 2024-09-30 15:22:40 -07:00
1 parent 2b1208e803
commit 562ab4d188
7 files changed
+129 -60

No files matched your search

@@ -155,6 +155,9 @@ public final class RecentsViewStateController extends
0,
timings.getGridSlideSecondaryInterpolator());
mRecentsView.handleDesktopTaskInSplitSelectState(builder,
timings.getDesktopTaskFadeInterpolator());
if (!animate) {
AnimatorSet as = builder.buildAnim();
as.start();