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
diff --git a/src/com/android/launcher3/Folder.java b/src/com/android/launcher3/Folder.java
index cf1a432..4de9297 100644
--- a/src/com/android/launcher3/Folder.java
+++ b/src/com/android/launcher3/Folder.java
@@ -832,10 +832,6 @@
return true;
}
- public DropTarget getDropTargetDelegate(DragObject d) {
- return null;
- }
-
private void setupContentDimensions(int count) {
ArrayList<View> list = getItemsInReadingOrder();
@@ -1208,4 +1204,9 @@
startEditingFolderName();
}
}
+
+ @Override
+ public void getHitRectRelativeToDragLayer(Rect outRect) {
+ getHitRect(outRect);
+ }
}