Searched refs:numScrollingPages (Results 1 – 1 of 1) sorted by relevance
1513 int numScrollingPages = getNumScreensExcludingEmptyAndCustom(); in wallpaperOffsetForScroll() local1516 parallaxPageSpan = numScrollingPages - 1; in wallpaperOffsetForScroll()1518 parallaxPageSpan = Math.max(MIN_PARALLAX_PAGE_SPAN, numScrollingPages - 1); in wallpaperOffsetForScroll()1554 if (!mWallpaperIsLiveWallpaper && numScrollingPages < MIN_PARALLAX_PAGE_SPAN in wallpaperOffsetForScroll()1556 return offset * (parallaxPageSpan - numScrollingPages + 1) / parallaxPageSpan; in wallpaperOffsetForScroll()1558 return offset * (numScrollingPages - 1) / parallaxPageSpan; in wallpaperOffsetForScroll()1567 int numScrollingPages = getChildCount() - numCustomPages(); in numEmptyScreensToIgnore() local1568 if (numScrollingPages >= MIN_PARALLAX_PAGE_SPAN && hasExtraEmptyScreen()) { in numEmptyScreensToIgnore()1576 int numScrollingPages = getChildCount() - numEmptyScreensToIgnore() - numCustomPages(); in getNumScreensExcludingEmptyAndCustom() local1577 return numScrollingPages; in getNumScreensExcludingEmptyAndCustom()