Searched refs:orientationHelper (Results 1 – 4 of 4) sorted by relevance
114 OrientationHelper orientationHelper = in initialize() local118 int layoutTop = orientationHelper.getStartAfterPadding() + mPaddingStart; in initialize()129 int downBottom = orientationHelper.getEndAfterPadding() - mPaddingEnd; in initialize()391 OrientationHelper orientationHelper = in pageUp() local393 int screenSize = orientationHelper.getTotalSpace(); in pageUp()405 if (orientationHelper.getDecoratedEnd(child) < screenSize) { in pageUp()407 scrollDistance = screenSize - orientationHelper.getDecoratedEnd(child); in pageUp()408 } else if (-screenSize < orientationHelper.getDecoratedStart(child) in pageUp()409 && orientationHelper.getDecoratedStart(child) < 0) { in pageUp()412 scrollDistance = Math.abs(orientationHelper.getDecoratedStart(child)); in pageUp()[all …]
203 OrientationHelper orientationHelper = getOrientationHelper(layoutManager); in findSnapView() local208 return isValidSnapView(firstChild, orientationHelper) ? firstChild : null; in findSnapView()222 && orientationHelper.getDecoratedStart(firstChild) < 0 in findSnapView()224 && orientationHelper.getDecoratedEnd(firstChild) > ( in findSnapView()237 ? getPercentageVisible(lastVisibleChild, orientationHelper) : 0; in findSnapView()246 int startOffset = orientationHelper.getDecoratedStart(child); in findSnapView()249 float percentageVisible = getPercentageVisible(child, orientationHelper); in findSnapView()273 return isValidSnapView(childToReturn, orientationHelper) ? childToReturn : null; in findSnapView()421 OrientationHelper orientationHelper = getOrientationHelper(layoutManager); in calculateScrollDistance() local423 float percentageVisible = getPercentageVisible(lastChild, orientationHelper); in calculateScrollDistance()[all …]
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()