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() 190 mHeightGap = Math.min(mMaxGap,numHeightGaps > 0 ? (vFreeSpace / numHeightGaps) : 0); in onMeasure() 192 mChildren.setGap(mWidthGap, mHeightGap); in onMeasure() 195 mHeightGap = mOriginalHeightGap; in onMeasure() 205 ((mCellCountY - 1) * mHeightGap); in onMeasure() 230 return mCellCountY * mCellHeight + (mCellCountY - 1) * Math.max(0, mHeightGap); in getContentHeight() 287 mOriginalHeightGap = mHeightGap = heightGap; in setGap() 337 int n = Math.max(1, (availHeight + mHeightGap) / (mCellHeight + mHeightGap)); in estimateCellVSpan() [all …]
|
D | ShortcutAndWidgetContainer.java | 40 private int mHeightGap; field in ShortcutAndWidgetContainer 56 mHeightGap = heightGap; in setCellDimensions() 105 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(), in setupLp() 119 lp.setup(cellWidth, cellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(), mCountX); in measureChild()
|
D | CellLayout.java | 74 private int mHeightGap; field in CellLayout 192 … mHeightGap = mOriginalHeightGap = a.getDimensionPixelSize(R.styleable.CellLayout_heightGap, 0); in CellLayout() 286 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap, in CellLayout() 336 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap, in setGridSize() 811 result[1] = (y - vStartPadding) / (mCellHeight + mHeightGap); in pointToCellExact() 845 result[1] = vStartPadding + cellY * (mCellHeight + mHeightGap); in cellToPoint() 873 result[1] = vStartPadding + cellY * (mCellHeight + mHeightGap) + in regionToCenterPoint() 874 (spanY * mCellHeight + (spanY - 1) * mHeightGap) / 2; in regionToCenterPoint() 888 final int top = vStartPadding + cellY * (mCellHeight + mHeightGap); in regionToRect() 890 top + (spanY * mCellHeight + (spanY - 1) * mHeightGap)); in regionToRect() [all …]
|
D | PagedViewCellLayoutChildren.java | 37 private int mHeightGap; field in PagedViewCellLayoutChildren 57 mHeightGap = heightGap; in setGap() 94 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap, in onMeasure()
|