Searched refs:numPages (Results 1 – 4 of 4) sorted by relevance
36 long numPages = sysconf(_SC_PHYS_PAGES); in limitProcessMemory() local39 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()
47 public void setNumPages(int numPages) { in setNumPages() argument48 setVisibility(numPages > 1 ? View.VISIBLE : View.GONE); in setNumPages()52 while (numPages < getChildCount()) { in setNumPages()59 while (numPages > getChildCount()) { in setNumPages()
248 int numPages = Math.max(nTiles / mPages.get(0).maxTiles(), 1); in emptyAndInflateOrRemovePages() local251 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()
1022 long numPages = numBytes / pageSize; in setMaximumSize() local1025 numPages++; in setMaximumSize()1027 long newPageCount = DatabaseUtils.longForQuery(this, "PRAGMA max_page_count = " + numPages, in setMaximumSize()