Home
last modified time | relevance | path

Searched refs:currentPage (Results 1 – 7 of 7) sorted by relevance

/frameworks/minikin/libs/minikin/
DSparseBitSet.cpp68 uint32_t currentPage = 0; in initFromRanges() local
78 mZeroPageIndex = (currentPage++) << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()
84 mOwnedIndices[startPage] = (currentPage++) << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()
87 size_t index = ((currentPage - 1) << (kLogValuesPerPage - kLogBitsPerEl)) + in initFromRanges()
101 mOwnedIndices[j] = (currentPage++) << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java1469 EngineWindowPage currentPage = mWindowPages[colorPage]; in processLocalColors() local
1470 if (currentPage == null) { in processLocalColors()
1471 currentPage = new EngineWindowPage(); in processLocalColors()
1472 currentPage.addArea(colorArea); in processLocalColors()
1473 mWindowPages[colorPage] = currentPage; in processLocalColors()
1475 currentPage.setLastUpdateTime(0); in processLocalColors()
1476 currentPage.removeColor(colorArea); in processLocalColors()
1519 void updatePage(EngineWindowPage currentPage, int pageIndx, int numPages, in updatePage() argument
1523 long lapsed = current - currentPage.getLastUpdateTime(); in updatePage()
1527 && currentPage.getLastUpdateTime() > 0) { in updatePage()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java275 int currentPage = (int) Math.floor(area.centerX() / virtualPageWidth); in pageToImgRect() local
281 leftPosOnPage * mPageWidth + currentPage * mPageOffset, 0, 1); in pageToImgRect()
283 rightPosOnPage * mPageWidth + currentPage * mPageOffset, 0, 1); in pageToImgRect()
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java1671 final int currentPage = ii.position;
1677 onPageScrolled(currentPage, pageOffset, offsetPixels);
2037 final int currentPage = ii.position;
2049 currentPage, nextPageOffset, initialVelocity, totalDelta);
2271 private int determineTargetPage(int currentPage, float pageOffset, int velocity, int deltaX) {
2276 targetPage = currentPage - (velocity < 0 ? mLeftIncr : 0);
2278 final float truncator = currentPage >= mCurItem ? 0.4f : 0.6f;
2279 targetPage = (int) (currentPage - mLeftIncr * (pageOffset + truncator));
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPagedTileLayout.java458 TileLayout currentPage = mPages.get(getCurrentPageNumber()); in getNumVisibleTiles()
459 return currentPage.mRecords.size(); in getNumVisibleTiles()
/frameworks/base/core/java/com/android/internal/app/
DAbstractMultiProfilePagerAdapter.java72 AbstractMultiProfilePagerAdapter(Context context, int currentPage, in AbstractMultiProfilePagerAdapter() argument
76 mCurrentPage = currentPage; in AbstractMultiProfilePagerAdapter()
DChooserActivity.java2827 int currentPage = mChooserMultiProfilePagerAdapter.getCurrentPage();
2828 return mChooserMultiProfilePagerAdapter.getItem(currentPage).getEmptyStateView();