Fixing folders to always show in view, removing old assets and references to LauncherModel count.

This commit is contained in:
Winson Chung
2013-08-22 16:15:50 -07:00
parent fe14e04987
commit 892c74d460
36 changed files with 143 additions and 116 deletions
@@ -64,8 +64,8 @@ public class PagedViewCellLayout extends ViewGroup implements Page {
Resources resources = context.getResources();
mOriginalCellWidth = mCellWidth = grid.cellWidthPx;
mOriginalCellHeight = mCellHeight = grid.cellHeightPx;
mCellCountX = LauncherModel.getCellCountX();
mCellCountY = LauncherModel.getCellCountY();
mCellCountX = (int) grid.numColumns;
mCellCountY = (int) grid.numRows;
mOriginalWidthGap = mOriginalHeightGap = mWidthGap = mHeightGap = -1;
mMaxGap = resources.getDimensionPixelSize(R.dimen.apps_customize_max_gap);