summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick Dubroy <dubroy@google.com>2010-07-14 11:14:47 -0700
committerPatrick Dubroy <dubroy@google.com>2010-07-14 11:14:54 -0700
commit6d5c6ecb5f19966b8ff79fdf48d96bd00dc1dd91 (patch)
tree7cd52298fe4630576c026c522c7a778a1dbf553e /src
parent440c360bc395c43683fa9ca226e59f9e35f9e926 (diff)
downloadandroid_packages_apps_Trebuchet-6d5c6ecb5f19966b8ff79fdf48d96bd00dc1dd91.tar.gz
android_packages_apps_Trebuchet-6d5c6ecb5f19966b8ff79fdf48d96bd00dc1dd91.tar.bz2
android_packages_apps_Trebuchet-6d5c6ecb5f19966b8ff79fdf48d96bd00dc1dd91.zip
Fix bug with estimate drop cell offset
Change-Id: I9b8370a858dab7d656bbfb1897e469ef4f2aec06
Diffstat (limited to 'src')
-rw-r--r--src/com/android/launcher2/CellLayout.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher2/CellLayout.java b/src/com/android/launcher2/CellLayout.java
index 3f60d5047..62ede4d33 100644
--- a/src/com/android/launcher2/CellLayout.java
+++ b/src/com/android/launcher2/CellLayout.java
@@ -704,7 +704,7 @@ public class CellLayout extends ViewGroup {
final int countX = getCountX();
final int countY = getCountY();
- pointToCellRounded(originX + (mCellWidth / 2), originY + (mCellHeight / 2), result);
+ pointToCellRounded(originX, originY, result);
// If the item isn't fully on this screen, snap to the edges
int rightOverhang = result[0] + spanX - countX;