/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | PagedViewCellLayoutChildren.java | 37 private int mHeightGap; field in class:PagedViewCellLayoutChildren 57 mHeightGap = heightGap; 94 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap,
|
H A D | ShortcutAndWidgetContainer.java | 40 private int mHeightGap; field in class:ShortcutAndWidgetContainer 56 mHeightGap = heightGap; 105 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(), 119 lp.setup(cellWidth, cellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(), mCountX);
|
H A D | PagedViewCellLayout.java | 46 private int mHeightGap; field in class:PagedViewCellLayout 71 mOriginalWidthGap = mOriginalHeightGap = mWidthGap = mHeightGap = -1; 76 mChildren.setGap(mWidthGap, mHeightGap); 190 mHeightGap = Math.min(mMaxGap,numHeightGaps > 0 ? (vFreeSpace / numHeightGaps) : 0); 192 mChildren.setGap(mWidthGap, mHeightGap); 195 mHeightGap = mOriginalHeightGap; 205 ((mCellCountY - 1) * mHeightGap); 230 return mCellCountY * mCellHeight + (mCellCountY - 1) * Math.max(0, mHeightGap); 287 mOriginalHeightGap = mHeightGap = heightGap; 337 int n = Math.max(1, (availHeight + mHeightGap) / (mCellHeigh [all...] |
H A D | CellLayout.java | 74 private int mHeightGap; field in class:CellLayout 192 mHeightGap = mOriginalHeightGap = a.getDimensionPixelSize(R.styleable.CellLayout_heightGap, 0); 286 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap, 336 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap, 811 result[1] = (y - vStartPadding) / (mCellHeight + mHeightGap); 845 result[1] = vStartPadding + cellY * (mCellHeight + mHeightGap); 873 result[1] = vStartPadding + cellY * (mCellHeight + mHeightGap) + 874 (spanY * mCellHeight + (spanY - 1) * mHeightGap) / 2; 888 final int top = vStartPadding + cellY * (mCellHeight + mHeightGap); 890 top + (spanY * mCellHeight + (spanY - 1) * mHeightGap)); [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | ShortcutAndWidgetContainer.java | 43 private int mHeightGap; field in class:ShortcutAndWidgetContainer 63 mHeightGap = heightGap; 117 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(), 148 lp.setup(cellWidth, cellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(),
|
H A D | CellLayout.java | 84 @Thunk int mHeightGap; field in class:CellLayout 196 mHeightGap = mOriginalHeightGap = 0; 276 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap, 362 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap, 372 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap, 697 result[1] = (y - vStartPadding) / (mCellHeight + mHeightGap); 731 result[1] = vStartPadding + cellY * (mCellHeight + mHeightGap); 759 result[1] = vStartPadding + cellY * (mCellHeight + mHeightGap) + 760 (spanY * mCellHeight + (spanY - 1) * mHeightGap) / 2; 774 final int top = vStartPadding + cellY * (mCellHeight + mHeightGap); [all...] |