Home
last modified time | relevance | path

Searched refs:smallerSize (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DPagedViewCellLayout.java294 int smallerSize = Math.min(mCellWidth, mCellHeight); in getCellCountForDimensions() local
297 int spanX = (width + smallerSize) / smallerSize; in getCellCountForDimensions()
298 int spanY = (height + smallerSize) / smallerSize; in getCellCountForDimensions()
DCellLayout.java2999 int smallerSize = Math.min(actualWidth, actualHeight); in rectToCell() local
3002 int spanX = (int) Math.ceil(width / (float) smallerSize); in rectToCell()
3003 int spanY = (int) Math.ceil(height / (float) smallerSize); in rectToCell()