Searched refs:orientationHelper (Results 1 – 2 of 2) sorted by relevance
142 OrientationHelper orientationHelper = in initialize() local146 int layoutTop = orientationHelper.getStartAfterPadding() + mPaddingStart; in initialize()157 int downBottom = orientationHelper.getEndAfterPadding() - mPaddingEnd; in initialize()550 OrientationHelper orientationHelper = in pageUp() local552 int screenSize = orientationHelper.getTotalSpace(); in pageUp()565 if (orientationHelper.getDecoratedEnd(child) < screenSize) { in pageUp()567 scrollDistance = screenSize - orientationHelper.getDecoratedEnd(child); in pageUp()568 } else if (-screenSize < orientationHelper.getDecoratedStart(child) in pageUp()569 && orientationHelper.getDecoratedStart(child) < 0) { in pageUp()572 scrollDistance = Math.abs(orientationHelper.getDecoratedStart(child)); in pageUp()[all …]
74 OrientationHelper orientationHelper = getOrientationHelper(layoutManager); in findSnapView() local77 <= orientationHelper.getTotalSpace() in findSnapView()214 OrientationHelper orientationHelper = getOrientationHelper(layoutManager); in calculateScrollDistance() local216 float percentageVisible = getPercentageVisible(lastChild, orientationHelper); in calculateScrollDistance()242 OrientationHelper orientationHelper = layoutManager.canScrollVertically() in isAtStart() local247 return orientationHelper.getDecoratedStart(firstChild) in isAtStart()248 >= orientationHelper.getStartAfterPadding() in isAtStart()259 OrientationHelper orientationHelper = layoutManager.canScrollVertically() in isAtEnd() local269 <= orientationHelper.getEndAfterPadding(); in isAtEnd()