summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaj Yengisetty <rajesh@cyngn.com>2015-01-27 17:29:19 (GMT)
committerAdnan Begovic <adnan@cyngn.com>2015-01-29 23:35:18 (GMT)
commitedbea0af1226978b06d7f877ae435797d31419af (patch)
tree4a0be13facf15ee773d7ad1d0c4bb11eb7f19110
parentb5f816dd32a4a85275f361d5d4a3c77aa197e775 (diff)
downloadandroid_packages_apps_Trebuchet-edbea0af1226978b06d7f877ae435797d31419af.zip
android_packages_apps_Trebuchet-edbea0af1226978b06d7f877ae435797d31419af.tar.gz
android_packages_apps_Trebuchet-edbea0af1226978b06d7f877ae435797d31419af.tar.bz2
DynamicGrid: tuning the icon size for some device
Change-Id: I2cd5cdb8c7ab41edbc6baa80f04278a614aeac82
-rw-r--r--src/com/android/launcher3/DynamicGrid.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/com/android/launcher3/DynamicGrid.java b/src/com/android/launcher3/DynamicGrid.java
index 1494311..779a5a6 100644
--- a/src/com/android/launcher3/DynamicGrid.java
+++ b/src/com/android/launcher3/DynamicGrid.java
@@ -87,15 +87,15 @@ public class DynamicGrid {
(useLargeIcons ? 58 : 46), fourByFourDefaultLayout,
R.xml.default_workspace_4x4_no_all_apps));
deviceProfiles.add(new DeviceProfile("Nexus 4",
- 335, 567, 4, 4, (useLargeIcons ? DEFAULT_ICON_SIZE_DP : 52), 13, (hasAA ? 5 : 5),
- (useLargeIcons ? 60 : 46), fourByFourDefaultLayout,
+ 335, 567, 4, 4, (useLargeIcons ? DEFAULT_ICON_SIZE_DP : 56), 13, (hasAA ? 5 : 5),
+ (useLargeIcons ? 60 : 48), fourByFourDefaultLayout,
R.xml.default_workspace_4x4_no_all_apps));
deviceProfiles.add(new DeviceProfile("Nexus 5",
- 359, 567, 4, 4, (useLargeIcons ? DEFAULT_ICON_SIZE_DP : 52), 13, (hasAA ? 5 : 5),
- (useLargeIcons ? 60 : 46), fourByFourDefaultLayout,
+ 359, 567, 4, 4, (useLargeIcons ? DEFAULT_ICON_SIZE_DP : 56), 13, (hasAA ? 5 : 5),
+ (useLargeIcons ? 60 : 48), fourByFourDefaultLayout,
R.xml.default_workspace_4x4_no_all_apps));
deviceProfiles.add(new DeviceProfile("Large Phone",
- 406, 694, 5, 5, (useLargeIcons ? 68 : 52), 14.4f, 5, (useLargeIcons ? 60 : 44),
+ 406, 694, 5, 5, (useLargeIcons ? 68 : 56), 14.4f, 5, (useLargeIcons ? 60 : 48),
R.xml.default_workspace_5x5, R.xml.default_workspace_5x5_no_all_apps));
// The tablet profile is odd in that the landscape orientation
// also includes the nav bar on the side