summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/FolderPagedView.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2015-04-24 15:20:43 -0700
committerSunny Goyal <sunnygoyal@google.com>2015-04-24 15:28:20 -0700
commitf7a29e83f06909b378dba39c83a522375682710a (patch)
tree8b42bc5a30c2e0c87a638048d29a9094366bf4ba /src/com/android/launcher3/FolderPagedView.java
parente2df0620c13b9dc7e63224153b98fdbb48546f9b (diff)
downloadandroid_packages_apps_Trebuchet-f7a29e83f06909b378dba39c83a522375682710a.tar.gz
android_packages_apps_Trebuchet-f7a29e83f06909b378dba39c83a522375682710a.tar.bz2
android_packages_apps_Trebuchet-f7a29e83f06909b378dba39c83a522375682710a.zip
Removing some unused method params from CellLayout
> Replacing various distance calculations with Math.hypot > Moving findVacantCell to Utilities Change-Id: I0cb194b603e52b3bb2b29a095bb4da2bb408ab13
Diffstat (limited to 'src/com/android/launcher3/FolderPagedView.java')
-rw-r--r--src/com/android/launcher3/FolderPagedView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/FolderPagedView.java b/src/com/android/launcher3/FolderPagedView.java
index 3f08f43c2..43765a250 100644
--- a/src/com/android/launcher3/FolderPagedView.java
+++ b/src/com/android/launcher3/FolderPagedView.java
@@ -559,7 +559,7 @@ public class FolderPagedView extends PagedView {
public int findNearestArea(int pixelX, int pixelY) {
int pageIndex = getNextPage();
CellLayout page = getPageAt(pageIndex);
- page.findNearestArea(pixelX, pixelY, 1, 1, null, false, sTempPosArray);
+ page.findNearestArea(pixelX, pixelY, 1, 1, sTempPosArray);
if (mFolder.isLayoutRtl()) {
sTempPosArray[0] = page.getCountX() - sTempPosArray[0] - 1;
}