summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/FolderPagedView.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2015-06-01 14:38:24 -0700
committerWinson Chung <winsonc@google.com>2015-06-05 09:49:12 -0700
commit2c6e5ccbcd7c3f87e7e85029782440600dc0a3d8 (patch)
treef181fbee9f46ddf18adc42a4d9c823ccd2f1b5fe /src/com/android/launcher3/FolderPagedView.java
parenta56eab41fbfe26b185cc8240d50d231d0db41837 (diff)
downloadandroid_packages_apps_Trebuchet-2c6e5ccbcd7c3f87e7e85029782440600dc0a3d8.tar.gz
android_packages_apps_Trebuchet-2c6e5ccbcd7c3f87e7e85029782440600dc0a3d8.tar.bz2
android_packages_apps_Trebuchet-2c6e5ccbcd7c3f87e7e85029782440600dc0a3d8.zip
Ensuring that we use the screen width more optimally in AllApps.
- Fixing issue with prediction bar height being calculated incorrectly - Fixing issue where the prediction bar divider was not drawn exactly between the bar and the first row of apps - Removing padding to allow scrollbars to reach full height Bug: 20222023 Bug: 21335377 Change-Id: I2c0614a36e2294d0d6184a6bff4847876ffe971e
Diffstat (limited to 'src/com/android/launcher3/FolderPagedView.java')
-rw-r--r--src/com/android/launcher3/FolderPagedView.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/launcher3/FolderPagedView.java b/src/com/android/launcher3/FolderPagedView.java
index 7d90ba2f7..b7a5aa8cf 100644
--- a/src/com/android/launcher3/FolderPagedView.java
+++ b/src/com/android/launcher3/FolderPagedView.java
@@ -87,8 +87,8 @@ public class FolderPagedView extends PagedView {
LauncherAppState app = LauncherAppState.getInstance();
InvariantDeviceProfile profile = app.getInvariantDeviceProfile();
- mMaxCountX = (int) profile.numFolderColumns;
- mMaxCountY = (int) profile.numFolderRows;
+ mMaxCountX = profile.numFolderColumns;
+ mMaxCountY = profile.numFolderRows;
mMaxItemsPerPage = mMaxCountX * mMaxCountY;