Reduce unnecessary layout passes

- Also delete unused code
This commit is contained in:
Michael Jurka
2011-11-03 13:50:45 -07:00
parent ba1a7be15c
commit 81efbad05e
9 changed files with 47 additions and 80 deletions
-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);