Loading res/values-land/dimens.xml +1 −2 Original line number Diff line number Diff line Loading @@ -27,8 +27,7 @@ <!-- Dynamic grid --> <dimen name="dynamic_grid_overview_bar_item_width">120dp</dimen> <dimen name="dynamic_grid_page_indicator_size">24dp</dimen> <dimen name="dynamic_grid_icon_drawable_padding">8dp</dimen> <dimen name="dynamic_grid_cell_padding_x">8dp</dimen> <dimen name="folder_preview_padding">5dp</dimen> <!-- Hotseat --> <dimen name="dynamic_grid_hotseat_land_left_nav_bar_right_padding">18dp</dimen> Loading src/com/android/launcher3/DeviceProfile.java +2 −2 Original line number Diff line number Diff line Loading @@ -344,7 +344,7 @@ public class DeviceProfile { updateFolderCellSize(1f, dm, res); // Don't let the folder get too close to the edges of the screen. int folderMargin = 4 * edgeMarginPx; int folderMargin = edgeMarginPx; // Check if the icons fit within the available height. float usedHeight = folderCellHeightPx * inv.numFolderRows + folderBottomPanelSize; Loading Loading @@ -497,7 +497,7 @@ public class DeviceProfile { // In portrait, we want the pages spaced such that there is no // overhang of the previous / next page into the current page viewport. // We assume symmetrical padding in portrait mode. return Math.max(defaultPageSpacingPx, getWorkspacePadding(null).left + 1); return Math.max(defaultPageSpacingPx, getWorkspacePadding(null).left / 2 + 1); } } Loading src/com/android/launcher3/folder/PreviewBackground.java +1 −1 Original line number Diff line number Diff line Loading @@ -88,7 +88,7 @@ public class PreviewBackground { public boolean isClipping = true; // Drawing / animation configurations private static final float ACCEPT_SCALE_FACTOR = 1.25f; private static final float ACCEPT_SCALE_FACTOR = 1.20f; private static final float ACCEPT_COLOR_MULTIPLIER = 1.5f; // Expressed on a scale from 0 to 255. Loading Loading
res/values-land/dimens.xml +1 −2 Original line number Diff line number Diff line Loading @@ -27,8 +27,7 @@ <!-- Dynamic grid --> <dimen name="dynamic_grid_overview_bar_item_width">120dp</dimen> <dimen name="dynamic_grid_page_indicator_size">24dp</dimen> <dimen name="dynamic_grid_icon_drawable_padding">8dp</dimen> <dimen name="dynamic_grid_cell_padding_x">8dp</dimen> <dimen name="folder_preview_padding">5dp</dimen> <!-- Hotseat --> <dimen name="dynamic_grid_hotseat_land_left_nav_bar_right_padding">18dp</dimen> Loading
src/com/android/launcher3/DeviceProfile.java +2 −2 Original line number Diff line number Diff line Loading @@ -344,7 +344,7 @@ public class DeviceProfile { updateFolderCellSize(1f, dm, res); // Don't let the folder get too close to the edges of the screen. int folderMargin = 4 * edgeMarginPx; int folderMargin = edgeMarginPx; // Check if the icons fit within the available height. float usedHeight = folderCellHeightPx * inv.numFolderRows + folderBottomPanelSize; Loading Loading @@ -497,7 +497,7 @@ public class DeviceProfile { // In portrait, we want the pages spaced such that there is no // overhang of the previous / next page into the current page viewport. // We assume symmetrical padding in portrait mode. return Math.max(defaultPageSpacingPx, getWorkspacePadding(null).left + 1); return Math.max(defaultPageSpacingPx, getWorkspacePadding(null).left / 2 + 1); } } Loading
src/com/android/launcher3/folder/PreviewBackground.java +1 −1 Original line number Diff line number Diff line Loading @@ -88,7 +88,7 @@ public class PreviewBackground { public boolean isClipping = true; // Drawing / animation configurations private static final float ACCEPT_SCALE_FACTOR = 1.25f; private static final float ACCEPT_SCALE_FACTOR = 1.20f; private static final float ACCEPT_COLOR_MULTIPLIER = 1.5f; // Expressed on a scale from 0 to 255. Loading