From dbc5e0166c67cb6d31e1c7ae07b3e6305d10d295 Mon Sep 17 00:00:00 2001 From: cretin45 Date: Tue, 22 Dec 2015 15:04:28 -0800 Subject: Trebuchet: Adjust device profiles and add one for bacon Change-Id: Ib96af9891f08506e3f83e1fd21835665ae4be6c2 --- src/com/android/launcher3/InvariantDeviceProfile.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/com/android') diff --git a/src/com/android/launcher3/InvariantDeviceProfile.java b/src/com/android/launcher3/InvariantDeviceProfile.java index 72bb4f202..e21a070ad 100644 --- a/src/com/android/launcher3/InvariantDeviceProfile.java +++ b/src/com/android/launcher3/InvariantDeviceProfile.java @@ -251,11 +251,14 @@ public class InvariantDeviceProfile { 296, 491.33f, 4, 4, 4, 4, 4, (useLargeIcons? 58 : 46), 13, 5, (useLargeIcons? 58 : 46), R.xml.default_workspace_4x4)); predefinedDeviceProfiles.add(new InvariantDeviceProfile("Nexus 4", - 335, 567, 4, 4, 4, 4, 4, (useLargeIcons ? DEFAULT_ICON_SIZE_DP : 56), 13, 5, - (useLargeIcons? 68 : 56), R.xml.default_workspace_4x4)); + 335, 567, 4, 4, 4, 4, 4, (useLargeIcons ? DEFAULT_ICON_SIZE_DP : 52), 13, 5, + (useLargeIcons? 60 : 50), R.xml.default_workspace_4x4)); predefinedDeviceProfiles.add(new InvariantDeviceProfile("Nexus 5", - 359, 567, 4, 4, 4, 4, 4, (useLargeIcons ? DEFAULT_ICON_SIZE_DP : 56), 13, 5, - (useLargeIcons? 68 : 56), R.xml.default_workspace_4x4)); + 359, 567, 4, 4, 4, 4, 4, (useLargeIcons ? DEFAULT_ICON_SIZE_DP : 52), 13, 5, + (useLargeIcons? 60 : 50), R.xml.default_workspace_4x4)); + predefinedDeviceProfiles.add(new InvariantDeviceProfile("Bacon", + 336, 592, 4, 4, 4, 4, 4, (useLargeIcons ? DEFAULT_ICON_SIZE_DP : 52), 13, 5, + (useLargeIcons? 60 : 48), R.xml.default_workspace_4x4)); predefinedDeviceProfiles.add(new InvariantDeviceProfile("Large Phone", 406, 694, 5, 5, 4, 4, 4, (useLargeIcons ? 68 : 56), 14.4f, 5, (useLargeIcons ? 60 : 48), R.xml.default_workspace_5x5)); -- cgit v1.2.3