mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Add more border space options
This give options to landscape layouts to have different border options Bug: 222109350 Test: manual and HSV Change-Id: If823dd09c945438f77e57ff80a8a0c4fc0b4c8a6
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user