Don't animate tapped item if the target screen is full

This commit is contained in:
Patrick Dubroy committed 2010-12-20 11:24:54 -08:00
1 parent 6920c2ce34
commit 047379aa61
3 files changed
+31 -28

No files matched your search

-7
View File
@@ -2217,13 +2217,6 @@ public class Workspace extends SmoothPagedView
localPixelX, localPixelY, spanX, spanY, ignoreView, recycle);
}
/**
* Estimate the size that a child with the given dimensions will take in the current screen.
*/
void estimateChildSize(int minWidth, int minHeight, int[] result) {
((CellLayout)getChildAt(mCurrentPage)).estimateChildSize(minWidth, minHeight, result);
}
void setLauncher(Launcher launcher) {
mLauncher = launcher;
mSpringLoadedDragController = new SpringLoadedDragController(mLauncher);