Searched refs:numScrollingPages (Results 1 – 1 of 1) sorted by relevance
64 private void wallpaperOffsetForScroll(int scroll, int numScrollingPages, final int[] out) { in wallpaperOffsetForScroll() argument69 if (mLockedToDefaultPage || numScrollingPages <= 1) { in wallpaperOffsetForScroll()76 int numPagesForWallpaperParallax = mWallpaperIsLiveWallpaper ? numScrollingPages : in wallpaperOffsetForScroll()77 Math.max(MIN_PARALLAX_PAGE_SPAN, numScrollingPages); in wallpaperOffsetForScroll()84 leftPageIndex = rightPageIndex + numScrollingPages - 1; in wallpaperOffsetForScroll()87 rightPageIndex = leftPageIndex + numScrollingPages - 1; in wallpaperOffsetForScroll()111 rtlOffset = out[1] - (numScrollingPages - 1) * scrollRange; in wallpaperOffsetForScroll()113 out[0] = rtlOffset + adjustedScroll * (numScrollingPages - 1); in wallpaperOffsetForScroll()122 int numScrollingPages = mWorkspace.getChildCount(); in getNumScreensExcludingEmpty() local123 if (numScrollingPages >= MIN_PARALLAX_PAGE_SPAN && mWorkspace.hasExtraEmptyScreen()) { in getNumScreensExcludingEmpty()[all …]