Searched refs:numPages (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/utils/ |
D | LimitProcessMemory.cpp | 35 long numPages = sysconf(_SC_PHYS_PAGES); in limitProcessMemory() local 38 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | PageIndicator.java | 126 public void setNumPages(int numPages) { in setNumPages() argument 127 setVisibility(numPages > 1 ? View.VISIBLE : View.GONE); in setNumPages() 131 if (numPages == childCount && calculateWidth(childCount) == getMeasuredWidth()) { in setNumPages() 137 while (numPages < getChildCount()) { in setNumPages() 140 while (numPages > getChildCount()) { in setNumPages() 301 private int calculateWidth(int numPages) { 302 return (mPageIndicatorWidth - mPageDotWidth) * (numPages - 1) + mPageDotWidth;
|
D | PagedTileLayout.java | 154 int numPages = mPages.size(); in onConfigurationChanged() local 155 for (int i = 0; i < numPages; i++) { in onConfigurationChanged() 430 final int numPages = getNumPages(); in emptyAndInflateOrRemovePages() local 436 mPageIndicator.setNumPages(numPages); in emptyAndInflateOrRemovePages() 438 if (NP == numPages) { in emptyAndInflateOrRemovePages() 441 while (mPages.size() < numPages) { in emptyAndInflateOrRemovePages() 445 while (mPages.size() > numPages) { in emptyAndInflateOrRemovePages() 588 int numPages = Math.max(nTiles / mPages.get(0).maxTiles(), 1); in getNumPages() local 591 if (nTiles > numPages * mPages.get(0).maxTiles()) { in getNumPages() 592 numPages++; in getNumPages() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
D | ManagementPageIndicator.kt | 37 val numPages = childCount in setLocation() constant 38 super.setLocation(numPages - 1 - location) in setLocation()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 1902 void updatePage(EngineWindowPage currentPage, Set<RectF> areas, int pageIndx, int numPages, in updatePage() argument 1945 currentPage, areas, pageIndx, numPages, wallpaperDimAmount); in updatePage() 1952 currentPage, areas, pageIndx, numPages, wallpaperDimAmount); in updatePage() 1964 int pageIndx, int numPages, float wallpaperDimAmount) { in updatePageColors() argument 1978 RectF subArea = generateSubRect(area, pageIndx, numPages); in updatePageColors() 1998 + " and with page " + pageIndx + " of " + numPages); in updatePageColors() 2006 + " of " + numPages); in updatePageColors() 2021 private RectF generateSubRect(RectF in, int pageInx, int numPages) { in generateSubRect() argument 2022 float minLeft = (float) (pageInx) / (float) (numPages); in generateSubRect() 2023 float maxRight = (float) (pageInx + 1) / (float) (numPages); in generateSubRect() [all …]
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteDatabase.java | 1369 long numPages = numBytes / pageSize; in setMaximumSize() local 1372 numPages++; in setMaximumSize() 1374 long newPageCount = DatabaseUtils.longForQuery(this, "PRAGMA max_page_count = " + numPages, in setMaximumSize()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaCarouselController.kt | 1159 val numPages = mediaContent.getChildCount() in <lambda>() constant 1160 pageIndicator.setNumPages(numPages) in <lambda>() 1161 if (numPages == 1) { in <lambda>()
|