Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/ui/compose/
DPartitionedGridLayout.kt89 fillUpRow(nTiles = largeTiles.size, columns = columns / 2) in <lambda>()
249 fillUpRow(nTiles = largeTiles.size, columns = columns / 2) in <lambda>()
259 fillUpRow(nTiles = smallTiles.size, columns = columns) in <lambda>()
302 private fun gridHeight(nTiles: Int, tileHeight: Dp, columns: Int, padding: Dp): Dp { in <lambda>()
303 val rows = (nTiles + columns - 1) / columns in <lambda>()
308 private fun LazyGridScope.fillUpRow(nTiles: Int, columns: Int) { in <lambda>()
309 if (nTiles % columns != 0) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPagedTileLayout.java521 final int nTiles = mTiles.size(); in onMeasure() local
532 if (mPages.get(0).updateMaxRows(availableHeight, nTiles) || mDistributeTiles) { in onMeasure()
586 final int nTiles = mTiles.size(); in getNumPages() local
588 int numPages = Math.max(nTiles / mPages.get(0).maxTiles(), 1); in getNumPages()
591 if (nTiles > numPages * mPages.get(0).maxTiles()) { in getNumPages()