From 7d30a37007bac318db1c9af47a9af12d348042a5 Mon Sep 17 00:00:00 2001 From: Adam Cohen Date: Mon, 1 Jul 2013 17:03:59 -0700 Subject: Porting PagedView from KG to gain simplified scaling model, reordering -> We are no longer scaling individual Celllayouts, instead we are scaling the entire Workspace (and the CellLayouts come along for the ride) -> Due to the above change, many assumptions were broken. In particular, our drag and drop / animation archiecture is fairly fragile due to the frequent and complex mapping of points between different bits of the hierarchy. This CL contains a number of fixes which address such breakages. Change-Id: I2e630eab17528729b764b61f587858f6499fd318 --- src/com/android/launcher3/FolderIcon.java | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/com/android/launcher3/FolderIcon.java') diff --git a/src/com/android/launcher3/FolderIcon.java b/src/com/android/launcher3/FolderIcon.java index e11d7d18a..92f126c3f 100644 --- a/src/com/android/launcher3/FolderIcon.java +++ b/src/com/android/launcher3/FolderIcon.java @@ -427,10 +427,6 @@ public class FolderIcon extends LinearLayout implements FolderListener { onDrop(item, d.dragView, null, 1.0f, mInfo.contents.size(), d.postAnimationRunnable, d); } - public DropTarget getDropTargetDelegate(DragObject d) { - return null; - } - private void computePreviewDrawingParams(int drawableSize, int totalSize) { if (mIntrinsicIconSize != drawableSize || mTotalWidth != totalSize) { mIntrinsicIconSize = drawableSize; -- cgit v1.2.3