Searched refs:mMaxGap (Results 1 – 3 of 3) 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()
73 private int mMaxGap; field in CellLayout198 mMaxGap = Integer.MAX_VALUE; in CellLayout()872 mWidthGap = Math.min(mMaxGap, numWidthGaps > 0 ? (hFreeSpace / numWidthGaps) : 0); in onMeasure()873 mHeightGap = Math.min(mMaxGap,numHeightGaps > 0 ? (vFreeSpace / numHeightGaps) : 0); in onMeasure()