Merge "Add more border space options" into tm-dev am: c307cd137f

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17252662

Change-Id: Ie09dde59b68d3b453b92c50e0928c1976e239adf
This commit is contained in:
Thales Lima authored and Automerger Merge Worker committed 2022-03-21 22:45:00 +00:00
commit 69cc2e059f
2 files changed
+14

No files matched your search

@@ -838,6 +838,8 @@ public class InvariantDeviceProfile {
minCellSize[INDEX_TWO_PANEL_LANDSCAPE] = new PointF(x, y);
float borderSpace = a.getFloat(R.styleable.ProfileDisplayOption_borderSpace, 0);
float borderSpaceLandscape = a.getFloat(
R.styleable.ProfileDisplayOption_borderSpaceLandscape, borderSpace);
float borderSpaceTwoPanelPortrait = a.getFloat(
R.styleable.ProfileDisplayOption_borderSpaceTwoPanelPortrait, borderSpace);
float borderSpaceTwoPanelLandscape = a.getFloat(
@@ -846,6 +848,11 @@ public class InvariantDeviceProfile {
x = a.getFloat(R.styleable.ProfileDisplayOption_borderSpaceHorizontal, borderSpace);
y = a.getFloat(R.styleable.ProfileDisplayOption_borderSpaceVertical, borderSpace);
borderSpaces[INDEX_DEFAULT] = new PointF(x, y);
x = a.getFloat(R.styleable.ProfileDisplayOption_borderSpaceLandscapeHorizontal,
borderSpaceLandscape);
y = a.getFloat(R.styleable.ProfileDisplayOption_borderSpaceLandscapeVertical,
borderSpaceLandscape);
borderSpaces[INDEX_LANDSCAPE] = new PointF(x, y);
x = a.getFloat(