Merge "Correct AllApps horizontal padding" into udc-qpr-dev

This commit is contained in:
Thales Lima authored and Android (Google) Code Review committed 2023-06-13 11:04:47 +00:00
commit eb83006b0b
2 files changed
+4 -3

No files matched your search

+2 -1
View File
@@ -857,7 +857,8 @@ public class DeviceProfile {
allAppsLeftRightMargin = Math.max(1, (availableWidthPx - usedWidth) / 2);
} else {
allAppsLeftRightPadding =
desiredWorkspaceHorizontalMarginPx + cellLayoutHorizontalPadding;
Math.max(0, desiredWorkspaceHorizontalMarginPx + cellLayoutHorizontalPadding
- (allAppsBorderSpacePx.x / 2));
}
}