diff options
Diffstat (limited to 'src/com/android/launcher2/CellLayout.java')
-rw-r--r-- | src/com/android/launcher2/CellLayout.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/com/android/launcher2/CellLayout.java b/src/com/android/launcher2/CellLayout.java index 518c79fc2..9440b89d3 100644 --- a/src/com/android/launcher2/CellLayout.java +++ b/src/com/android/launcher2/CellLayout.java @@ -906,11 +906,6 @@ public class CellLayout extends ViewGroup { int vFreeSpace = vSpace - (mCountY * mOriginalCellHeight); mWidthGap = Math.min(mMaxGap, numWidthGaps > 0 ? (hFreeSpace / numWidthGaps) : 0); mHeightGap = Math.min(mMaxGap,numHeightGaps > 0 ? (vFreeSpace / numHeightGaps) : 0); - int remainingHSpace = hFreeSpace - (numWidthGaps * mWidthGap); - int remainingVSpace = vFreeSpace - (numHeightGaps * mHeightGap); - mCellWidth = mOriginalCellWidth + remainingHSpace / mCountX; - mCellHeight = mOriginalCellHeight + remainingVSpace / mCountY; - mChildren.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap); } else { mWidthGap = mOriginalWidthGap; |