summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorcretin45 <cretin45@gmail.com>2015-12-22 15:04:28 -0800
committercretin45 <cretin45@gmail.com>2015-12-22 15:04:28 -0800
commitc30f77d55a35d471e235c22225c4b83bccb05459 (patch)
treea7802fdc4c85fc396713b205cbe64ed448e69688 /src
parentcc3bc30c54278be8fec1a29a7c0a11a129077ea7 (diff)
downloadandroid_packages_apps_Trebuchet-c30f77d55a35d471e235c22225c4b83bccb05459.tar.gz
android_packages_apps_Trebuchet-c30f77d55a35d471e235c22225c4b83bccb05459.tar.bz2
android_packages_apps_Trebuchet-c30f77d55a35d471e235c22225c4b83bccb05459.zip
Trebuchet: Adjust device profiles and add one for bacon
Change-Id: Ib96af9891f08506e3f83e1fd21835665ae4be6c2
Diffstat (limited to 'src')
-rw-r--r--src/com/android/launcher3/InvariantDeviceProfile.java11
1 files changed, 7 insertions, 4 deletions
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));