Home
last modified time | relevance | path

Searched refs:mMaxGap (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DPagedViewCellLayout.java47 private int mMaxGap; field in PagedViewCellLayout
72 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()
DCellLayout.java75 private int mMaxGap; field in CellLayout
193 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()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java73 private int mMaxGap; field in CellLayout
198 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()