Searched refs:smallerSize (Results 1 – 2 of 2) sorted by relevance
305 int smallerSize = Math.min(mCellWidth, mCellHeight); in getCellCountForDimensions() local308 int spanX = (width + smallerSize) / smallerSize; in getCellCountForDimensions()309 int spanY = (height + smallerSize) / smallerSize; in getCellCountForDimensions()
2688 int smallerSize = Math.min(actualWidth, actualHeight); in rectToCell() local2691 int spanX = (int) Math.ceil(width / (float) smallerSize); in rectToCell()2692 int spanY = (int) Math.ceil(height / (float) smallerSize); in rectToCell()