Searched refs:numPages (Results 1 – 6 of 6) sorted by relevance
35 long numPages = sysconf(_SC_PHYS_PAGES); in limitProcessMemory() local38 if (pageSize > 0 && numPages > 0) { in limitProcessMemory()39 if (size_t(numPages) < SIZE_MAX / size_t(pageSize)) { in limitProcessMemory()40 maxMem = size_t(numPages) * size_t(pageSize); in limitProcessMemory()
47 public void setNumPages(int numPages) { in setNumPages() argument52 setNumPages(numPages, color); in setNumPages()56 public void setNumPages(int numPages, int color) { in setNumPages() argument57 setVisibility(numPages > 1 ? View.VISIBLE : View.GONE); in setNumPages()58 if (numPages == getChildCount()) { in setNumPages()64 while (numPages < getChildCount()) { in setNumPages()67 while (numPages > getChildCount()) { in setNumPages()
294 final int numPages = getNumPages(); in emptyAndInflateOrRemovePages() local299 if (NP == numPages) { in emptyAndInflateOrRemovePages()302 while (mPages.size() < numPages) { in emptyAndInflateOrRemovePages()306 while (mPages.size() > numPages) { in emptyAndInflateOrRemovePages()432 int numPages = Math.max(nTiles / mPages.get(0).maxTiles(), 1); in getNumPages() local435 if (nTiles > numPages * mPages.get(0).maxTiles()) { in getNumPages()436 numPages++; in getNumPages()439 return numPages; in getNumPages()
37 val numPages = childCount in setLocation() constant38 super.setLocation(numPages - 1 - location) in setLocation()
308 val numPages = mediaContent.getChildCount() in <lambda>() constant309 pageIndicator.setNumPages(numPages, Color.WHITE) in <lambda>()310 if (numPages == 1) { in <lambda>()
1124 long numPages = numBytes / pageSize; in setMaximumSize() local1127 numPages++; in setMaximumSize()1129 long newPageCount = DatabaseUtils.longForQuery(this, "PRAGMA max_page_count = " + numPages, in setMaximumSize()