Home
last modified time | relevance | path

Searched refs:numPages (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libmedia/
DMediaUtils.cpp36 long numPages = sysconf(_SC_PHYS_PAGES); in limitProcessMemory() local
39 if (pageSize > 0 && numPages > 0) { in limitProcessMemory()
40 if (size_t(numPages) < SIZE_MAX / size_t(pageSize)) { in limitProcessMemory()
41 maxMem = size_t(numPages) * size_t(pageSize); in limitProcessMemory()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPageIndicator.java47 public void setNumPages(int numPages) { in setNumPages() argument
48 setVisibility(numPages > 1 ? View.VISIBLE : View.GONE); in setNumPages()
52 while (numPages < getChildCount()) { in setNumPages()
59 while (numPages > getChildCount()) { in setNumPages()
DPagedTileLayout.java248 int numPages = Math.max(nTiles / mPages.get(0).maxTiles(), 1); in emptyAndInflateOrRemovePages() local
251 if (nTiles > numPages * mPages.get(0).maxTiles()) { in emptyAndInflateOrRemovePages()
252 numPages++; in emptyAndInflateOrRemovePages()
259 if (NP == numPages) { in emptyAndInflateOrRemovePages()
262 while (mPages.size() < numPages) { in emptyAndInflateOrRemovePages()
267 while (mPages.size() > numPages) { in emptyAndInflateOrRemovePages()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java1022 long numPages = numBytes / pageSize; in setMaximumSize() local
1025 numPages++; in setMaximumSize()
1027 long newPageCount = DatabaseUtils.longForQuery(this, "PRAGMA max_page_count = " + numPages, in setMaximumSize()