Searched refs:mWidthGap (Results 1 - 4 of 4) sorted by relevance
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | PagedViewCellLayout.java | 45 private int mWidthGap; field in class:PagedViewCellLayout 71 mOriginalWidthGap = mOriginalHeightGap = mWidthGap = mHeightGap = -1; 76 mChildren.setGap(mWidthGap, mHeightGap); 205 mWidthGap = Math.min(mMaxGap, numWidthGaps > 0 ? (hFreeSpace / numWidthGaps) : 0); 208 mChildren.setGap(mWidthGap, mHeightGap); 210 mWidthGap = mOriginalWidthGap; 219 ((mCellCountX - 1) * mWidthGap); 253 return mCellCountX * mCellWidth + (mCellCountX - 1) * Math.max(0, mWidthGap); 302 mOriginalWidthGap = mWidthGap = widthGap; 338 int n = Math.max(1, (availWidth + mWidthGap) / (mCellWidt [all...] |
H A D | CellLayoutChildren.java | 37 private int mWidthGap; field in class:CellLayoutChildren 52 mWidthGap = widthGap; 83 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap); 91 lp.setup(cellWidth, cellHeight, mWidthGap, mHeightGap);
|
H A D | PagedViewCellLayoutChildren.java | 36 private int mWidthGap; field in class:PagedViewCellLayoutChildren 56 mWidthGap = widthGap; 94 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap,
|
H A D | CellLayout.java | 70 private int mWidthGap; field in class:CellLayout 159 mWidthGap = mOriginalWidthGap = a.getDimensionPixelSize(R.styleable.CellLayout_widthGap, 0); 259 mChildren.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap); 398 int x = getPaddingLeft() - (mWidthGap / 2) - (width / 2); 414 x += mCellWidth + mWidthGap; 739 result[0] = (x - hStartPadding) / (mCellWidth + mWidthGap); 773 result[0] = hStartPadding + cellX * (mCellWidth + mWidthGap); 789 result[0] = hStartPadding + cellX * (mCellWidth + mWidthGap) + mCellWidth / 2; 802 return mWidthGap; 843 mWidthGap [all...] |
Completed in 77 milliseconds