Reduce unnecessary layout passes

- Also delete unused code
This commit is contained in:
Michael Jurka committed 2011-11-10 11:22:48 -08:00
1 parent ba1a7be15c
commit 81efbad05e
9 files changed
+47 -80

No files matched your search

-1
View File
@@ -2960,7 +2960,6 @@ public class Workspace extends SmoothPagedView
addInScreen(view, container, screen, mTargetCell[0], mTargetCell[1], info.spanX,
info.spanY, insertAtFirst);
cellLayout.onDropChild(view);
cellLayout.animateDrop();
CellLayout.LayoutParams lp = (CellLayout.LayoutParams) view.getLayoutParams();
cellLayout.getChildrenLayout().measureChild(view);