/packages/apps/Launcher2/src/com/android/launcher2/ |
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 | ShortcutAndWidgetContainer.java | 39 private int mWidthGap; field in class:ShortcutAndWidgetContainer 55 mWidthGap = widthGap; 105 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(), 119 lp.setup(cellWidth, cellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(), mCountX);
|
H A D | PagedViewCellLayout.java | 45 private int mWidthGap; field in class:PagedViewCellLayout 71 mOriginalWidthGap = mOriginalHeightGap = mWidthGap = mHeightGap = -1; 76 mChildren.setGap(mWidthGap, mHeightGap); 189 mWidthGap = Math.min(mMaxGap, numWidthGaps > 0 ? (hFreeSpace / numWidthGaps) : 0); 192 mChildren.setGap(mWidthGap, mHeightGap); 194 mWidthGap = mOriginalWidthGap; 203 ((mCellCountX - 1) * mWidthGap); 237 return mCellCountX * mCellWidth + (mCellCountX - 1) * Math.max(0, mWidthGap); 286 mOriginalWidthGap = mWidthGap = widthGap; 322 int n = Math.max(1, (availWidth + mWidthGap) / (mCellWidt [all...] |
H A D | CellLayout.java | 73 private int mWidthGap; field in class:CellLayout 191 mWidthGap = mOriginalWidthGap = a.getDimensionPixelSize(R.styleable.CellLayout_widthGap, 0); 286 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap, 336 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap, 810 result[0] = (x - hStartPadding) / (mCellWidth + mWidthGap); 844 result[0] = hStartPadding + cellX * (mCellWidth + mWidthGap); 871 result[0] = hStartPadding + cellX * (mCellWidth + mWidthGap) + 872 (spanX * mCellWidth + (spanX - 1) * mWidthGap) / 2; 887 final int left = hStartPadding + cellX * (mCellWidth + mWidthGap); 889 result.set(left, top, left + (spanX * mCellWidth + (spanX - 1) * mWidthGap), [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | ShortcutAndWidgetContainer.java | 42 private int mWidthGap; field in class:ShortcutAndWidgetContainer 62 mWidthGap = widthGap; 117 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(), 148 lp.setup(cellWidth, cellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(),
|
H A D | CellLayout.java | 82 @Thunk int mWidthGap; field in class:CellLayout 194 mWidthGap = mOriginalWidthGap = 0; 276 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap, 362 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap, 372 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap, 700 result[0] = (x - hStartPadding) / (mCellWidth + mWidthGap); 734 result[0] = hStartPadding + cellX * (mCellWidth + mWidthGap); 761 result[0] = hStartPadding + cellX * (mCellWidth + mWidthGap) + 762 (spanX * mCellWidth + (spanX - 1) * mWidthGap) / 2; 777 final int left = hStartPadding + cellX * (mCellWidth + mWidthGap); [all...] |