launcher: create more space options
The grid doesn't have a constant space between cells anymore, so we need new attributes for the different spaces in different situations. Bug: 191879424 Test: checking cell size and extra space in dumpsys Change-Id: I4b6aae5b3fea281490c00cd13d0cd3a25372f21b
This commit is contained in:
1 parent
bfb6996484
commit
78d00adcbe
14 files changed
+246
-125
No files matched your search
@@ -1050,7 +1050,10 @@ public class LoaderTask implements Runnable {
|
||||
deviceProfile.getCellSize(cellSize);
|
||||
FileLog.d(TAG, "DeviceProfile available width: " + deviceProfile.availableWidthPx
|
||||
+ ", available height: " + deviceProfile.availableHeightPx
|
||||
+ ", cellLayoutBorderSpacingPx: " + deviceProfile.cellLayoutBorderSpacingPx
|
||||
+ ", cellLayoutBorderSpacePx Horizontal: "
|
||||
+ deviceProfile.cellLayoutBorderSpacePx.x
|
||||
+ ", cellLayoutBorderSpacePx Vertical: "
|
||||
+ deviceProfile.cellLayoutBorderSpacePx.y
|
||||
+ ", cellSize: " + cellSize);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user