Searched refs:mMaxGap (Results 1 – 2 of 2) sorted by relevance
47 private int mMaxGap; field in PagedViewCellLayout72 mMaxGap = resources.getDimensionPixelSize(R.dimen.apps_customize_max_gap); in PagedViewCellLayout()189 mWidthGap = Math.min(mMaxGap, numWidthGaps > 0 ? (hFreeSpace / numWidthGaps) : 0); in onMeasure()190 mHeightGap = Math.min(mMaxGap,numHeightGaps > 0 ? (vFreeSpace / numHeightGaps) : 0); in onMeasure()
75 private int mMaxGap; field in CellLayout193 mMaxGap = a.getDimensionPixelSize(R.styleable.CellLayout_maxGap, 0); in CellLayout()995 mWidthGap = Math.min(mMaxGap, numWidthGaps > 0 ? (hFreeSpace / numWidthGaps) : 0); in onMeasure()996 mHeightGap = Math.min(mMaxGap,numHeightGaps > 0 ? (vFreeSpace / numHeightGaps) : 0); in onMeasure()