Searched refs:mHeightGap (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | PagedViewCellLayout.java | 46 private int mHeightGap; field in PagedViewCellLayout 71 mOriginalWidthGap = mOriginalHeightGap = mWidthGap = mHeightGap = -1; in PagedViewCellLayout() 76 mChildren.setGap(mWidthGap, mHeightGap); in PagedViewCellLayout() 201 mHeightGap = Math.min(mMaxGap,numHeightGaps > 0 ? (vFreeSpace / numHeightGaps) : 0); in onMeasure() 203 mChildren.setGap(mWidthGap, mHeightGap); in onMeasure() 206 mHeightGap = mOriginalHeightGap; in onMeasure() 216 ((mCellCountY - 1) * mHeightGap); in onMeasure() 241 return mCellCountY * mCellHeight + (mCellCountY - 1) * Math.max(0, mHeightGap); in getContentHeight() 298 mOriginalHeightGap = mHeightGap = heightGap; in setGap() 348 int n = Math.max(1, (availHeight + mHeightGap) / (mCellHeight + mHeightGap)); in estimateCellVSpan() [all …]
|
D | ShortcutAndWidgetContainer.java | 40 private int mHeightGap; field in ShortcutAndWidgetContainer 55 mHeightGap = heightGap; in setCellDimensions() 103 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap); in setupLp() 111 lp.setup(cellWidth, cellHeight, mWidthGap, mHeightGap); in measureChild()
|
D | PagedViewCellLayoutChildren.java | 37 private int mHeightGap; field in PagedViewCellLayoutChildren 57 mHeightGap = heightGap; in setGap() 94 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap, in onMeasure()
|
D | CellLayout.java | 71 private int mHeightGap; field in CellLayout 186 … mHeightGap = mOriginalHeightGap = a.getDimensionPixelSize(R.styleable.CellLayout_heightGap, 0); in CellLayout() 279 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap); in CellLayout() 756 result[1] = (y - vStartPadding) / (mCellHeight + mHeightGap); in pointToCellExact() 790 result[1] = vStartPadding + cellY * (mCellHeight + mHeightGap); in cellToPoint() 818 result[1] = vStartPadding + cellY * (mCellHeight + mHeightGap) + in regionToCenterPoint() 819 (spanY * mCellHeight + (spanY - 1) * mHeightGap) / 2; in regionToCenterPoint() 833 final int top = vStartPadding + cellY * (mCellHeight + mHeightGap); in regionToRect() 835 top + (spanY * mCellHeight + (spanY - 1) * mHeightGap)); in regionToRect() 858 return mHeightGap; in getHeightGap() [all …]
|