Searched refs:parallaxPageSpan (Results 1 – 1 of 1) sorted by relevance
1472 int parallaxPageSpan; in wallpaperOffsetForCurrentScroll() local1474 parallaxPageSpan = numScrollingPages - 1; in wallpaperOffsetForCurrentScroll()1476 parallaxPageSpan = Math.max(MIN_PARALLAX_PAGE_SPAN, numScrollingPages - 1); in wallpaperOffsetForCurrentScroll()1478 mNumPagesForWallpaperParallax = parallaxPageSpan; in wallpaperOffsetForCurrentScroll()1482 int padding = isLayoutRtl() ? parallaxPageSpan - numScrollingPages + 1 : 0; in wallpaperOffsetForCurrentScroll()1483 return offset * (padding + numScrollingPages - 1) / parallaxPageSpan; in wallpaperOffsetForCurrentScroll()