/packages/apps/Launcher3/src/com/android/launcher3/ |
D | PagedViewCellLayout.java | 43 private int mHeightGap; field in PagedViewCellLayout 66 mOriginalWidthGap = mOriginalHeightGap = mWidthGap = mHeightGap = -1; in PagedViewCellLayout() 70 mChildren.setGap(mWidthGap, mHeightGap); in PagedViewCellLayout() 184 mHeightGap = numHeightGaps > 0 ? (vFreeSpace / numHeightGaps) : 0; in onMeasure() 186 mChildren.setGap(mWidthGap, mHeightGap); in onMeasure() 189 mHeightGap = mOriginalHeightGap; in onMeasure() 199 ((mCellCountY - 1) * mHeightGap); in onMeasure() 224 return mCellCountY * mCellHeight + (mCellCountY - 1) * Math.max(0, mHeightGap); in getContentHeight() 281 mOriginalHeightGap = mHeightGap = heightGap; in setGap() 331 int n = Math.max(1, (availHeight + mHeightGap) / (mCellHeight + mHeightGap)); in estimateCellVSpan() [all …]
|
D | CellLayout.java | 72 private int mHeightGap; field in CellLayout 197 mHeightGap = mOriginalHeightGap = 0; in CellLayout() 288 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap, in CellLayout() 312 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap, in setCellDimensions() 322 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap, in setGridSize() 701 result[1] = (y - vStartPadding) / (mCellHeight + mHeightGap); in pointToCellExact() 735 result[1] = vStartPadding + cellY * (mCellHeight + mHeightGap); in cellToPoint() 763 result[1] = vStartPadding + cellY * (mCellHeight + mHeightGap) + in regionToCenterPoint() 764 (spanY * mCellHeight + (spanY - 1) * mHeightGap) / 2; in regionToCenterPoint() 778 final int top = vStartPadding + cellY * (mCellHeight + mHeightGap); in regionToRect() [all …]
|
D | ShortcutAndWidgetContainer.java | 42 private int mHeightGap; field in ShortcutAndWidgetContainer 59 mHeightGap = heightGap; in setCellDimensions() 113 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(), in setupLp() 147 lp.setup(cellWidth, cellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(), in measureChild()
|
D | PagedViewCellLayoutChildren.java | 37 private int mHeightGap; field in PagedViewCellLayoutChildren 57 mHeightGap = heightGap; in setGap() 95 mCellWidth, mCellHeight, mWidthGap, mHeightGap, in onMeasure() local
|
/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 | 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 | 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 | PagedViewCellLayoutChildren.java | 37 private int mHeightGap; field in PagedViewCellLayoutChildren 57 mHeightGap = heightGap; in setGap() 94 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap, in onMeasure()
|