summaryrefslogtreecommitdiffstats
path: root/src/com/android
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2014-01-17 14:43:02 -0800
committerDanesh M <daneshm90@gmail.com>2014-06-06 22:54:27 -0700
commit06fa60d9896845d8c70bc4cb233e35041498e137 (patch)
tree57a51ceee7d94f754fc99cd19f7993fd6bb769dd /src/com/android
parent98623772f1573d53e3c5d2e88c9707a7247dac4a (diff)
downloadandroid_packages_apps_Trebuchet-06fa60d9896845d8c70bc4cb233e35041498e137.tar.gz
android_packages_apps_Trebuchet-06fa60d9896845d8c70bc4cb233e35041498e137.tar.bz2
android_packages_apps_Trebuchet-06fa60d9896845d8c70bc4cb233e35041498e137.zip
Adding specific buckets for N5 in dynamic grid. (Bug 12604220)
Change-Id: I1fa62b7d16f557c7191fb1666d687b8784a88857
Diffstat (limited to 'src/com/android')
-rw-r--r--src/com/android/launcher3/DynamicGrid.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/com/android/launcher3/DynamicGrid.java b/src/com/android/launcher3/DynamicGrid.java
index 2501f9f24..9be377e8e 100644
--- a/src/com/android/launcher3/DynamicGrid.java
+++ b/src/com/android/launcher3/DynamicGrid.java
@@ -70,12 +70,14 @@ public class DynamicGrid {
275, 420, 3, 4, (useLargeIcons ? 54 : 48), 13, (hasAA ? 5 : 5), (useLargeIcons ? 54 : 48)));
deviceProfiles.add(new DeviceProfile("Stubby",
255, 450, 3, 4, (useLargeIcons ? 54 : 48), 13, (hasAA ? 5 : 5), (useLargeIcons ? 54 : 48)));
- deviceProfiles.add(new DeviceProfile("Nexus S",
- 296, 491.33f, 4, 4, (useLargeIcons ? 56 : 48), 13, (hasAA ? 5 : 5), (useLargeIcons ? 56 : 48)));
+ deviceProfiles.add(new DeviceProfile("Nexus 5",
+ 359, 567, 4, 4, (useLargeIcons ? DEFAULT_ICON_SIZE_DP : 56), 13, (hasAA ? 5 : 5), 56));
deviceProfiles.add(new DeviceProfile("Nexus 4",
359, 518, 4, 4, (useLargeIcons ? DEFAULT_ICON_SIZE_DP : 52), 13, (hasAA ? 5 : 5), (useLargeIcons ? 56 : 48)));
deviceProfiles.add(new DeviceProfile("Large Phone",
- 400, 680, 5, 5, (useLargeIcons ? 64 : 56), 14.4f, 5, (useLargeIcons ? 64 : 56)));
+ 335, 567, 4, 4, (useLargeIcons ? DEFAULT_ICON_SIZE_DP : 56), 13, (hasAA ? 5 : 5), 56));
+ deviceProfiles.add(new DeviceProfile("Large Phone",
+ 406, 694, 5, 5, (useLargeIcons ? 64 : 56), 14.4f, 5, 56));
// The tablet profile is odd in that the landscape orientation
// also includes the nav bar on the side
deviceProfiles.add(new DeviceProfile("Nexus 7",