From 104a4c8b69dcad5d68d95a33c82807ccff6ace57 Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Wed, 8 Nov 2023 18:56:15 +0000 Subject: [PATCH] Add Launcher support for left-right splits on portrait foldables Bug: 291018646 Test: Manual Flag: enable_left_right_split_in_portrait Change-Id: I92af7ffd83770f7e942c3892a12b1611ff5b50f4 Signed-off-by: Winson Chung --- .../util/SplitAnimationController.kt | 2 +- .../util/SplitToWorkspaceController.java | 7 ++-- .../views/DigitalWellBeingToast.java | 2 +- .../quickstep/views/OverviewActionsView.java | 7 ++-- .../android/quickstep/views/RecentsView.java | 10 +++--- src/com/android/launcher3/DeviceProfile.java | 17 ++++++++++ src/com/android/launcher3/Utilities.java | 10 ++++-- .../launcher3/apppairs/AppPairIcon.java | 2 +- .../touch/PortraitPagedViewHandler.java | 32 +++++++++---------- .../DeviceProfileDumpTest/phonePortrait.txt | 1 + .../phonePortrait3Button.txt | 1 + .../phoneVerticalBar.txt | 1 + .../phoneVerticalBar3Button.txt | 1 + .../DeviceProfileDumpTest/tabletLandscape.txt | 1 + .../tabletLandscape3Button.txt | 1 + .../DeviceProfileDumpTest/tabletPortrait.txt | 1 + .../tabletPortrait3Button.txt | 1 + .../twoPanelLandscape.txt | 1 + .../twoPanelLandscape3Button.txt | 1 + .../twoPanelPortrait.txt | 1 + .../twoPanelPortrait3Button.txt | 1 + 21 files changed, 68 insertions(+), 33 deletions(-) diff --git a/quickstep/src/com/android/quickstep/util/SplitAnimationController.kt b/quickstep/src/com/android/quickstep/util/SplitAnimationController.kt index 6ee65d4489..172be7dcdd 100644 --- a/quickstep/src/com/android/quickstep/util/SplitAnimationController.kt +++ b/quickstep/src/com/android/quickstep/util/SplitAnimationController.kt @@ -134,7 +134,7 @@ class SplitAnimationController(val splitSelectStateController: SplitSelectStateC val iconView: View = taskIdAttributeContainer.iconView.asView() builder.add(ObjectAnimator.ofFloat(thumbnail, TaskThumbnailView.SPLASH_ALPHA, 1f)) thumbnail.setShowSplashForSplitSelection(true) - if (deviceProfile.isLandscape) { + if (deviceProfile.isLeftRightSplit) { // Center view first so scaling happens uniformly, alternatively we can move pivotX to 0 val centerThumbnailTranslationX: Float = (taskViewWidth - thumbnail.width) / 2f val centerIconTranslationX: Float = (taskViewWidth - iconView.width) / 2f diff --git a/quickstep/src/com/android/quickstep/util/SplitToWorkspaceController.java b/quickstep/src/com/android/quickstep/util/SplitToWorkspaceController.java index bdbdfd8084..ebdc3a8c4f 100644 --- a/quickstep/src/com/android/quickstep/util/SplitToWorkspaceController.java +++ b/quickstep/src/com/android/quickstep/util/SplitToWorkspaceController.java @@ -53,7 +53,6 @@ import com.android.systemui.shared.system.InteractionJankMonitorWrapper; public class SplitToWorkspaceController { private final Launcher mLauncher; - private final DeviceProfile mDP; private final SplitSelectStateController mController; private final int mHalfDividerSize; @@ -61,7 +60,6 @@ public class SplitToWorkspaceController { public SplitToWorkspaceController(Launcher launcher, SplitSelectStateController controller) { mLauncher = launcher; - mDP = mLauncher.getDeviceProfile(); mController = controller; mIconCache = LauncherAppState.getInstanceNoCreate().getIconCache(); mHalfDividerSize = mLauncher.getResources().getDimensionPixelSize( @@ -136,7 +134,8 @@ public class SplitToWorkspaceController { private void startWorkspaceAnimation(@NonNull View view, @Nullable Bitmap bitmap, @Nullable Drawable icon) { - boolean isTablet = mLauncher.getDeviceProfile().isTablet; + DeviceProfile dp = mLauncher.getDeviceProfile(); + boolean isTablet = dp.isTablet; SplitAnimationTimings timings = AnimUtils.getDeviceSplitToConfirmTimings(isTablet); PendingAnimation pendingAnimation = new PendingAnimation(timings.getDuration()); @@ -147,7 +146,7 @@ public class SplitToWorkspaceController { RecentsView recentsView = mLauncher.getOverviewPanel(); recentsView.getPagedOrientationHandler().getFinalSplitPlaceholderBounds(mHalfDividerSize, - mDP, mController.getActiveSplitStagePosition(), firstTaskEndingBounds, + dp, mController.getActiveSplitStagePosition(), firstTaskEndingBounds, secondTaskEndingBounds); FloatingTaskView firstFloatingTaskView = mController.getFirstFloatingTaskView(); diff --git a/quickstep/src/com/android/quickstep/views/DigitalWellBeingToast.java b/quickstep/src/com/android/quickstep/views/DigitalWellBeingToast.java index e5a0e10e41..57b265b2b4 100644 --- a/quickstep/src/com/android/quickstep/views/DigitalWellBeingToast.java +++ b/quickstep/src/com/android/quickstep/views/DigitalWellBeingToast.java @@ -180,7 +180,7 @@ public final class DigitalWellBeingToast { } // For portrait grid only height of task changes, not width. So we keep the text the same - if (!mActivity.getDeviceProfile().isLandscape) { + if (!mActivity.getDeviceProfile().isLeftRightSplit) { mSplitBannerConfig = SPLIT_GRID_BANNER_LARGE; return; } diff --git a/quickstep/src/com/android/quickstep/views/OverviewActionsView.java b/quickstep/src/com/android/quickstep/views/OverviewActionsView.java index 7f1d6198c6..b549058587 100644 --- a/quickstep/src/com/android/quickstep/views/OverviewActionsView.java +++ b/quickstep/src/com/android/quickstep/views/OverviewActionsView.java @@ -308,9 +308,10 @@ public class OverviewActionsView extends FrameLayo requestLayout(); - mSplitButton.setCompoundDrawablesRelativeWithIntrinsicBounds( - (dp.isLandscape ? R.drawable.ic_split_horizontal : R.drawable.ic_split_vertical), - 0, 0, 0); + int splitIconRes = dp.isLeftRightSplit + ? R.drawable.ic_split_horizontal + : R.drawable.ic_split_vertical; + mSplitButton.setCompoundDrawablesRelativeWithIntrinsicBounds(splitIconRes, 0, 0, 0); } /** diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index 22a5064b4f..9769d6bb6d 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java @@ -3417,8 +3417,8 @@ public abstract class RecentsView 0 + && res.getBoolean(leftRightSplitPortraitResId); + if (allowLeftRightSplitInPortrait && isTablet) { + isLeftRightSplit = !isLandscape; + } else { + isLeftRightSplit = isLandscape; + } // Calculate all of the remaining variables. extraSpace = updateAvailableDimensions(res); @@ -1986,6 +2002,7 @@ public class DeviceProfile { writer.println(prefix + "\tisLandscape:" + isLandscape); writer.println(prefix + "\tisMultiWindowMode:" + isMultiWindowMode); writer.println(prefix + "\tisTwoPanels:" + isTwoPanels); + writer.println(prefix + "\tisLeftRightSplit:" + isLeftRightSplit); writer.println(prefix + pxToDpStr("windowX", windowX)); writer.println(prefix + pxToDpStr("windowY", windowY)); diff --git a/src/com/android/launcher3/Utilities.java b/src/com/android/launcher3/Utilities.java index 8ba6d2c53e..b74699a097 100644 --- a/src/com/android/launcher3/Utilities.java +++ b/src/com/android/launcher3/Utilities.java @@ -758,10 +758,16 @@ public final class Utilities { */ public static List getSplitPositionOptions( DeviceProfile dp) { + int splitIconRes = dp.isLeftRightSplit + ? R.drawable.ic_split_horizontal + : R.drawable.ic_split_vertical; + int stagePosition = dp.isLeftRightSplit + ? STAGE_POSITION_BOTTOM_OR_RIGHT + : STAGE_POSITION_TOP_OR_LEFT; return Collections.singletonList(new SplitPositionOption( - dp.isLandscape ? R.drawable.ic_split_horizontal : R.drawable.ic_split_vertical, + splitIconRes, R.string.recent_task_option_split_screen, - dp.isLandscape ? STAGE_POSITION_BOTTOM_OR_RIGHT : STAGE_POSITION_TOP_OR_LEFT, + stagePosition, STAGE_TYPE_MAIN )); } diff --git a/src/com/android/launcher3/apppairs/AppPairIcon.java b/src/com/android/launcher3/apppairs/AppPairIcon.java index 8121245c3e..4cf64715f2 100644 --- a/src/com/android/launcher3/apppairs/AppPairIcon.java +++ b/src/com/android/launcher3/apppairs/AppPairIcon.java @@ -134,7 +134,7 @@ public class AppPairIcon extends FrameLayout implements DraggableView { mCenterChannelSize = CENTER_CHANNEL_SCALE * defaultIconSize; mBigRadius = BIG_RADIUS_SCALE * defaultIconSize; mSmallRadius = SMALL_RADIUS_SCALE * defaultIconSize; - mIsLandscape = grid.isLandscape; + mIsLandscape = grid.isLeftRightSplit; // Calculate drawable area position float leftBound = (canvas.getWidth() / 2f) - (defaultIconSize / 2f); diff --git a/src/com/android/launcher3/touch/PortraitPagedViewHandler.java b/src/com/android/launcher3/touch/PortraitPagedViewHandler.java index 158747cc7c..04b6710064 100644 --- a/src/com/android/launcher3/touch/PortraitPagedViewHandler.java +++ b/src/com/android/launcher3/touch/PortraitPagedViewHandler.java @@ -258,7 +258,7 @@ public class PortraitPagedViewHandler implements PagedOrientationHandler { @Override public int getSplitTranslationDirectionFactor(int stagePosition, DeviceProfile deviceProfile) { - if (deviceProfile.isLandscape && stagePosition == STAGE_POSITION_BOTTOM_OR_RIGHT) { + if (deviceProfile.isLeftRightSplit && stagePosition == STAGE_POSITION_BOTTOM_OR_RIGHT) { return -1; } else { return 1; @@ -348,7 +348,7 @@ public class PortraitPagedViewHandler implements PagedOrientationHandler { } // Set translations - if (deviceProfile.isLandscape) { + if (deviceProfile.isLeftRightSplit) { if (desiredTaskId == splitBounds.rightBottomTaskId) { float leftTopTaskPercent = splitBounds.appsStackedVertically ? splitBounds.topTaskPercent @@ -430,7 +430,7 @@ public class PortraitPagedViewHandler implements PagedOrientationHandler { options.add(new SplitPositionOption( R.drawable.ic_split_horizontal, R.string.recent_task_option_split_screen, STAGE_POSITION_BOTTOM_OR_RIGHT, STAGE_TYPE_MAIN)); - } else if (dp.isLandscape) { + } else if (dp.isLeftRightSplit) { options.add(new SplitPositionOption( R.drawable.ic_split_horizontal, R.string.recent_task_option_split_screen, STAGE_POSITION_TOP_OR_LEFT, STAGE_TYPE_MAIN)); @@ -452,7 +452,7 @@ public class PortraitPagedViewHandler implements PagedOrientationHandler { int insetSizeAdjustment = getPlaceholderSizeAdjustment(dp, pinToRight); out.set(0, 0, screenWidth, placeholderHeight + insetSizeAdjustment); - if (!dp.isLandscape) { + if (!dp.isLeftRightSplit) { // portrait, phone or tablet - spans width of screen, nothing else to do out.inset(placeholderInset, 0); @@ -497,7 +497,7 @@ public class PortraitPagedViewHandler implements PagedOrientationHandler { @StagePosition int stagePosition) { boolean pinToRight = stagePosition == STAGE_POSITION_BOTTOM_OR_RIGHT; float insetAdjustment = getPlaceholderSizeAdjustment(dp, pinToRight) / 2f; - if (!dp.isLandscape) { + if (!dp.isLeftRightSplit) { out.setX(onScreenRectCenterX / fullscreenScaleX - 1.0f * drawableWidth / 2); out.setY((onScreenRectCenterY + insetAdjustment) / fullscreenScaleY @@ -566,7 +566,7 @@ public class PortraitPagedViewHandler implements PagedOrientationHandler { int screenWidth = dp.widthPx; out1.set(0, 0, screenWidth, screenHeight / 2 - splitDividerSize); out2.set(0, screenHeight / 2 + splitDividerSize, screenWidth, screenHeight); - if (!dp.isLandscape) { + if (!dp.isLeftRightSplit) { // Portrait - the window bounds are always top and bottom half return; } @@ -607,13 +607,13 @@ public class PortraitPagedViewHandler implements PagedOrientationHandler { float scaledDividerHeight = dividerHeight * scale; if (desiredStagePosition == SplitConfigurationOptions.STAGE_POSITION_TOP_OR_LEFT) { - if (dp.isLandscape) { + if (dp.isLeftRightSplit) { outRect.right = outRect.left + Math.round(outRect.width() * topLeftTaskPercent); } else { outRect.bottom = Math.round(outRect.top + scaledTopTaskHeight); } } else { - if (dp.isLandscape) { + if (dp.isLeftRightSplit) { outRect.left += Math.round(outRect.width() * (topLeftTaskPercent + dividerBarPercent)); } else { @@ -637,7 +637,7 @@ public class PortraitPagedViewHandler implements PagedOrientationHandler { int secondarySnapshotWidth; float taskPercent = splitBoundsConfig.appsStackedVertically ? splitBoundsConfig.topTaskPercent : splitBoundsConfig.leftTaskPercent; - if (dp.isLandscape) { + if (dp.isLeftRightSplit) { int scaledDividerBar = Math.round(parentWidth * dividerScale); primarySnapshotHeight = totalThumbnailHeight; primarySnapshotWidth = Math.round(parentWidth * taskPercent); @@ -742,7 +742,7 @@ public class PortraitPagedViewHandler implements PagedOrientationHandler { secondaryIconParams.gravity = TOP | START; secondaryIconParams.topMargin = primaryIconParams.topMargin; secondaryIconParams.setMarginStart(primaryIconParams.getMarginStart()); - if (deviceProfile.isLandscape) { + if (deviceProfile.isLeftRightSplit) { if (isRtl) { primaryIconView.setTranslationX(-primarySnapshotWidth); } else { @@ -756,7 +756,7 @@ public class PortraitPagedViewHandler implements PagedOrientationHandler { secondaryIconView.setTranslationY( primarySnapshotHeight + (deviceProfile.isTablet ? 0 : dividerThickness)); } - } else if (deviceProfile.isLandscape) { + } else if (deviceProfile.isLeftRightSplit) { // We calculate the "midpoint" of the thumbnail area, and place the icons there. // This is the place where the thumbnail area splits by default, in a near-50/50 split. // It is usually not exactly 50/50, due to insets/screen cutouts. @@ -826,7 +826,7 @@ public class PortraitPagedViewHandler implements PagedOrientationHandler { if (!deviceProfile.isTablet) { throw new IllegalStateException("Default position available only for large screens"); } - if (deviceProfile.isLandscape) { + if (deviceProfile.isLeftRightSplit) { return STAGE_POSITION_BOTTOM_OR_RIGHT; } else { return STAGE_POSITION_TOP_OR_LEFT; @@ -836,7 +836,7 @@ public class PortraitPagedViewHandler implements PagedOrientationHandler { @Override public Pair getSplitSelectTaskOffset(FloatProperty primary, FloatProperty secondary, DeviceProfile deviceProfile) { - if (deviceProfile.isLandscape) { // or seascape + if (deviceProfile.isLeftRightSplit) { // or seascape return new Pair<>(primary, secondary); } else { return new Pair<>(secondary, primary); @@ -846,7 +846,7 @@ public class PortraitPagedViewHandler implements PagedOrientationHandler { @Override public float getFloatingTaskOffscreenTranslationTarget(View floatingTask, RectF onScreenRect, @StagePosition int stagePosition, DeviceProfile dp) { - if (dp.isLandscape) { + if (dp.isLeftRightSplit) { float currentTranslationX = floatingTask.getTranslationX(); return stagePosition == STAGE_POSITION_TOP_OR_LEFT ? currentTranslationX - onScreenRect.width() @@ -860,7 +860,7 @@ public class PortraitPagedViewHandler implements PagedOrientationHandler { @Override public void setFloatingTaskPrimaryTranslation(View floatingTask, float translation, DeviceProfile dp) { - if (dp.isLandscape) { + if (dp.isLeftRightSplit) { floatingTask.setTranslationX(translation); } else { floatingTask.setTranslationY(translation); @@ -870,7 +870,7 @@ public class PortraitPagedViewHandler implements PagedOrientationHandler { @Override public Float getFloatingTaskPrimaryTranslation(View floatingTask, DeviceProfile dp) { - return dp.isLandscape + return dp.isLeftRightSplit ? floatingTask.getTranslationX() : floatingTask.getTranslationY(); } diff --git a/tests/assets/dumpTests/DeviceProfileDumpTest/phonePortrait.txt b/tests/assets/dumpTests/DeviceProfileDumpTest/phonePortrait.txt index 8473b68d81..18752e9f0d 100644 --- a/tests/assets/dumpTests/DeviceProfileDumpTest/phonePortrait.txt +++ b/tests/assets/dumpTests/DeviceProfileDumpTest/phonePortrait.txt @@ -7,6 +7,7 @@ DeviceProfile: isLandscape:false isMultiWindowMode:false isTwoPanels:false + isLeftRightSplit:false windowX: 0.0px (0.0dp) windowY: 0.0px (0.0dp) widthPx: 1080.0px (411.42856dp) diff --git a/tests/assets/dumpTests/DeviceProfileDumpTest/phonePortrait3Button.txt b/tests/assets/dumpTests/DeviceProfileDumpTest/phonePortrait3Button.txt index c23fcc0d2a..c0de8d8594 100644 --- a/tests/assets/dumpTests/DeviceProfileDumpTest/phonePortrait3Button.txt +++ b/tests/assets/dumpTests/DeviceProfileDumpTest/phonePortrait3Button.txt @@ -7,6 +7,7 @@ DeviceProfile: isLandscape:false isMultiWindowMode:false isTwoPanels:false + isLeftRightSplit:false windowX: 0.0px (0.0dp) windowY: 0.0px (0.0dp) widthPx: 1080.0px (411.42856dp) diff --git a/tests/assets/dumpTests/DeviceProfileDumpTest/phoneVerticalBar.txt b/tests/assets/dumpTests/DeviceProfileDumpTest/phoneVerticalBar.txt index 5cd7dc83c6..920ba6f49b 100644 --- a/tests/assets/dumpTests/DeviceProfileDumpTest/phoneVerticalBar.txt +++ b/tests/assets/dumpTests/DeviceProfileDumpTest/phoneVerticalBar.txt @@ -7,6 +7,7 @@ DeviceProfile: isLandscape:true isMultiWindowMode:false isTwoPanels:false + isLeftRightSplit:true windowX: 0.0px (0.0dp) windowY: 0.0px (0.0dp) widthPx: 2400.0px (914.2857dp) diff --git a/tests/assets/dumpTests/DeviceProfileDumpTest/phoneVerticalBar3Button.txt b/tests/assets/dumpTests/DeviceProfileDumpTest/phoneVerticalBar3Button.txt index f8afa37f42..65460eca1a 100644 --- a/tests/assets/dumpTests/DeviceProfileDumpTest/phoneVerticalBar3Button.txt +++ b/tests/assets/dumpTests/DeviceProfileDumpTest/phoneVerticalBar3Button.txt @@ -7,6 +7,7 @@ DeviceProfile: isLandscape:true isMultiWindowMode:false isTwoPanels:false + isLeftRightSplit:true windowX: 0.0px (0.0dp) windowY: 0.0px (0.0dp) widthPx: 2400.0px (914.2857dp) diff --git a/tests/assets/dumpTests/DeviceProfileDumpTest/tabletLandscape.txt b/tests/assets/dumpTests/DeviceProfileDumpTest/tabletLandscape.txt index 32e1f1b427..1781673128 100644 --- a/tests/assets/dumpTests/DeviceProfileDumpTest/tabletLandscape.txt +++ b/tests/assets/dumpTests/DeviceProfileDumpTest/tabletLandscape.txt @@ -7,6 +7,7 @@ DeviceProfile: isLandscape:true isMultiWindowMode:false isTwoPanels:false + isLeftRightSplit:true windowX: 0.0px (0.0dp) windowY: 0.0px (0.0dp) widthPx: 2560.0px (1280.0dp) diff --git a/tests/assets/dumpTests/DeviceProfileDumpTest/tabletLandscape3Button.txt b/tests/assets/dumpTests/DeviceProfileDumpTest/tabletLandscape3Button.txt index 7c52c904de..bd9e2675a4 100644 --- a/tests/assets/dumpTests/DeviceProfileDumpTest/tabletLandscape3Button.txt +++ b/tests/assets/dumpTests/DeviceProfileDumpTest/tabletLandscape3Button.txt @@ -7,6 +7,7 @@ DeviceProfile: isLandscape:true isMultiWindowMode:false isTwoPanels:false + isLeftRightSplit:true windowX: 0.0px (0.0dp) windowY: 0.0px (0.0dp) widthPx: 2560.0px (1280.0dp) diff --git a/tests/assets/dumpTests/DeviceProfileDumpTest/tabletPortrait.txt b/tests/assets/dumpTests/DeviceProfileDumpTest/tabletPortrait.txt index b284ce08bc..e983ef76fc 100644 --- a/tests/assets/dumpTests/DeviceProfileDumpTest/tabletPortrait.txt +++ b/tests/assets/dumpTests/DeviceProfileDumpTest/tabletPortrait.txt @@ -7,6 +7,7 @@ DeviceProfile: isLandscape:false isMultiWindowMode:false isTwoPanels:false + isLeftRightSplit:false windowX: 0.0px (0.0dp) windowY: 0.0px (0.0dp) widthPx: 1600.0px (800.0dp) diff --git a/tests/assets/dumpTests/DeviceProfileDumpTest/tabletPortrait3Button.txt b/tests/assets/dumpTests/DeviceProfileDumpTest/tabletPortrait3Button.txt index 7001967624..aa92838ff9 100644 --- a/tests/assets/dumpTests/DeviceProfileDumpTest/tabletPortrait3Button.txt +++ b/tests/assets/dumpTests/DeviceProfileDumpTest/tabletPortrait3Button.txt @@ -7,6 +7,7 @@ DeviceProfile: isLandscape:false isMultiWindowMode:false isTwoPanels:false + isLeftRightSplit:false windowX: 0.0px (0.0dp) windowY: 0.0px (0.0dp) widthPx: 1600.0px (800.0dp) diff --git a/tests/assets/dumpTests/DeviceProfileDumpTest/twoPanelLandscape.txt b/tests/assets/dumpTests/DeviceProfileDumpTest/twoPanelLandscape.txt index ba83533a8d..43e4a604e6 100644 --- a/tests/assets/dumpTests/DeviceProfileDumpTest/twoPanelLandscape.txt +++ b/tests/assets/dumpTests/DeviceProfileDumpTest/twoPanelLandscape.txt @@ -7,6 +7,7 @@ DeviceProfile: isLandscape:true isMultiWindowMode:false isTwoPanels:true + isLeftRightSplit:true windowX: 0.0px (0.0dp) windowY: 0.0px (0.0dp) widthPx: 2208.0px (841.1429dp) diff --git a/tests/assets/dumpTests/DeviceProfileDumpTest/twoPanelLandscape3Button.txt b/tests/assets/dumpTests/DeviceProfileDumpTest/twoPanelLandscape3Button.txt index 1b1240b60e..e7ea83982b 100644 --- a/tests/assets/dumpTests/DeviceProfileDumpTest/twoPanelLandscape3Button.txt +++ b/tests/assets/dumpTests/DeviceProfileDumpTest/twoPanelLandscape3Button.txt @@ -7,6 +7,7 @@ DeviceProfile: isLandscape:true isMultiWindowMode:false isTwoPanels:true + isLeftRightSplit:true windowX: 0.0px (0.0dp) windowY: 0.0px (0.0dp) widthPx: 2208.0px (841.1429dp) diff --git a/tests/assets/dumpTests/DeviceProfileDumpTest/twoPanelPortrait.txt b/tests/assets/dumpTests/DeviceProfileDumpTest/twoPanelPortrait.txt index 11e70776c5..043380c607 100644 --- a/tests/assets/dumpTests/DeviceProfileDumpTest/twoPanelPortrait.txt +++ b/tests/assets/dumpTests/DeviceProfileDumpTest/twoPanelPortrait.txt @@ -7,6 +7,7 @@ DeviceProfile: isLandscape:false isMultiWindowMode:false isTwoPanels:true + isLeftRightSplit:false windowX: 0.0px (0.0dp) windowY: 0.0px (0.0dp) widthPx: 1840.0px (700.9524dp) diff --git a/tests/assets/dumpTests/DeviceProfileDumpTest/twoPanelPortrait3Button.txt b/tests/assets/dumpTests/DeviceProfileDumpTest/twoPanelPortrait3Button.txt index 1a8b3ac217..a1b3e957e7 100644 --- a/tests/assets/dumpTests/DeviceProfileDumpTest/twoPanelPortrait3Button.txt +++ b/tests/assets/dumpTests/DeviceProfileDumpTest/twoPanelPortrait3Button.txt @@ -7,6 +7,7 @@ DeviceProfile: isLandscape:false isMultiWindowMode:false isTwoPanels:true + isLeftRightSplit:false windowX: 0.0px (0.0dp) windowY: 0.0px (0.0dp) widthPx: 1840.0px (700.9524dp)