Home
last modified time | relevance | path

Searched refs:nPages (Results 1 – 5 of 5) sorted by relevance

/frameworks/minikin/libs/minikin/
DSparseBitSet.cpp28 uint32_t nPages = 0; in calcNumPages() local
38 nPages++; in calcNumPages()
41 nPages++; in calcNumPages()
43 nPages += endPage - startPage; in calcNumPages()
46 return nPages; in calcNumPages()
58 uint32_t nPages = calcNumPages(ranges, nRanges); in initFromRanges() local
59 uint32_t bitmapsCount = nPages << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()
DFontCollection.cpp184 size_t nPages = (mMaxChar + kPageMask) >> kLogCharsPerPage; in init() local
189 mOwnedRanges = std::make_unique<Range[]>(nPages); in init()
191 mRangesCount = nPages; in init()
192 for (size_t i = 0; i < nPages; i++) { in init()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallpapers/
DWallpaperLocalColorExtractorTest.java246 int nPages = randomBetween(PAGES_LOW, PAGES_HIGH); in testNewColorExtraction() local
248 () -> spyColorExtractor.onPageChanged(nPages), in testNewColorExtraction()
282 int nPages = randomBetween(PAGES_LOW, PAGES_HIGH); in testRemoveColors() local
284 () -> spyColorExtractor.onPageChanged(nPages), in testRemoveColors()
319 int nPages = PAGES_LOW; in testRecomputeColorExtraction() local
321 spyColorExtractor.onPageChanged(nPages); in testRecomputeColorExtraction()
336 if (nPagesNew == nPages) continue; in testRecomputeColorExtraction()
337 nPages = nPagesNew; in testRecomputeColorExtraction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPagedTileLayout.java120 int nPages = mPages.size(); in setPageMargin() local
121 for (int i = 0; i < nPages; i++) { in setPageMargin()
230 int nPages = mPages.size(); in setSquishinessFraction() local
231 for (int i = 0; i < nPages; i++) { in setSquishinessFraction()
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DElementTest.kt507 val nPages = 2 in <lambda>() constant
508 val pagerState = PagerState(currentPage = 0) { nPages } in <lambda>()
541 else -> error("page $page < nPages $nPages") in <lambda>()