Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQuickQSPanel.java127 public void setMaxTiles(int maxTiles) { in setMaxTiles() argument
128 mMaxTiles = maxTiles; in setMaxTiles()
251 int maxTiles = mRecords.size();
253 if (maxTiles == 0){ // Early return during setup
259 final int leftoverWhitespace = availableWidth - maxTiles * mCellWidth;
261 smallestHorizontalMarginNeeded = leftoverWhitespace / Math.max(1, maxTiles - 1);
265 mColumns = maxTiles;
268 Math.min(maxTiles, availableWidth / mCellWidth );
DPagedTileLayout.java230 final int tileCount = mPages.get(0).maxTiles(); in distributeTiles()
248 int numPages = Math.max(nTiles / mPages.get(0).maxTiles(), 1); in emptyAndInflateOrRemovePages()
251 numPages += (nTiles % mPages.get(0).maxTiles() == 0 ? 0 : 1); in emptyAndInflateOrRemovePages()
439 return mRecords.size() >= maxTiles(); in isFull()
442 public int maxTiles() { in maxTiles() method in PagedTileLayout.TilePage