Loading src/com/android/launcher3/DeviceProfile.java +1 −1 Original line number Diff line number Diff line Loading @@ -723,7 +723,7 @@ public class DeviceProfile { // The side space with inline buttons should be what is defined in InvariantDeviceProfile int sideSpacePx = inlineNavButtonsEndSpacingPx; int maxHotseatWidthPx = availableWidthPx - sideSpacePx - hotseatBarEndOffset; int maxHotseatWidthPx = availableWidthPx - sideSpacePx - (hotseatBarEndOffset / 4); int maxHotseatIconsWidthPx = maxHotseatWidthPx - (isQsbInline ? hotseatQsbWidth : 0); hotseatBorderSpace = calculateHotseatBorderSpace(maxHotseatIconsWidthPx, (isQsbInline ? 1 : 0) + /* border between nav buttons and first icon */ 1); Loading src/com/android/launcher3/InvariantDeviceProfile.java +2 −2 Original line number Diff line number Diff line Loading @@ -390,8 +390,8 @@ public class InvariantDeviceProfile implements OnSharedPreferenceChangeListener for (WindowBounds bounds : displayInfo.supportedBounds) { boolean isTablet = displayInfo.isTablet(bounds); if (isTablet) { iconSize[INDEX_DEFAULT] *= 1.25f; iconSize[INDEX_LANDSCAPE] *= 1.25f; iconSize[INDEX_DEFAULT] *= 1.6f; iconSize[INDEX_LANDSCAPE] *= 1.6f; break; } } Loading Loading
src/com/android/launcher3/DeviceProfile.java +1 −1 Original line number Diff line number Diff line Loading @@ -723,7 +723,7 @@ public class DeviceProfile { // The side space with inline buttons should be what is defined in InvariantDeviceProfile int sideSpacePx = inlineNavButtonsEndSpacingPx; int maxHotseatWidthPx = availableWidthPx - sideSpacePx - hotseatBarEndOffset; int maxHotseatWidthPx = availableWidthPx - sideSpacePx - (hotseatBarEndOffset / 4); int maxHotseatIconsWidthPx = maxHotseatWidthPx - (isQsbInline ? hotseatQsbWidth : 0); hotseatBorderSpace = calculateHotseatBorderSpace(maxHotseatIconsWidthPx, (isQsbInline ? 1 : 0) + /* border between nav buttons and first icon */ 1); Loading
src/com/android/launcher3/InvariantDeviceProfile.java +2 −2 Original line number Diff line number Diff line Loading @@ -390,8 +390,8 @@ public class InvariantDeviceProfile implements OnSharedPreferenceChangeListener for (WindowBounds bounds : displayInfo.supportedBounds) { boolean isTablet = displayInfo.isTablet(bounds); if (isTablet) { iconSize[INDEX_DEFAULT] *= 1.25f; iconSize[INDEX_LANDSCAPE] *= 1.25f; iconSize[INDEX_DEFAULT] *= 1.6f; iconSize[INDEX_LANDSCAPE] *= 1.6f; break; } } Loading