Searched refs:numScrollingPages (Results 1 – 1 of 1) sorted by relevance
66 private void wallpaperOffsetForScroll(int scroll, int numScrollingPages, final int[] out) { in wallpaperOffsetForScroll() argument71 if (mLockedToDefaultPage || numScrollingPages <= 1) { in wallpaperOffsetForScroll()78 int numPagesForWallpaperParallax = mWallpaperIsLiveWallpaper ? numScrollingPages : in wallpaperOffsetForScroll()79 Math.max(MIN_PARALLAX_PAGE_SPAN, numScrollingPages); in wallpaperOffsetForScroll()86 leftPageIndex = rightPageIndex + numScrollingPages - 1; in wallpaperOffsetForScroll()89 rightPageIndex = leftPageIndex + numScrollingPages - 1; in wallpaperOffsetForScroll()113 rtlOffset = out[1] - (numScrollingPages - 1) * scrollRange; in wallpaperOffsetForScroll()115 out[0] = rtlOffset + adjustedScroll * (numScrollingPages - 1); in wallpaperOffsetForScroll()124 int numScrollingPages = mWorkspace.getChildCount(); in getNumScreensExcludingEmpty() local125 if (numScrollingPages >= MIN_PARALLAX_PAGE_SPAN && mWorkspace.hasExtraEmptyScreen()) { in getNumScreensExcludingEmpty()[all …]