Searched refs:getScrollCenter (Results 1 – 2 of 2) sorted by relevance
583 int centerMain = getScrollCenter(view);618 return findViewIndexContainingScrollCenter(mScroll.mainAxis().getScrollCenter(),619 mScroll.secondAxis().getScrollCenter(), false);811 mItemTransform.transform(child, getScrollCenter(child)812 - mScroll.mainAxis().getScrollCenter(), mItemsOnOffAxis == 1 ? 0813 : getCenterInOffAxis(child) - mScroll.secondAxis().getScrollCenter());1043 int scrollCenter = getScrollCenter(child);1051 int scrollCenter = getScrollCenter(child);1326 int centerMain = getScrollCenter(child);1482 int scrollCenter = getScrollCenter(child);[all …]
316 final public int getScrollCenter() { in getScrollCenter() method in ScrollController.Axis797 int basex = horizontal.getScrollCenter(); in startScroll()798 int basey = vertical.getScrollCenter(); in startScroll()882 centerX = horizontal.getScrollCenter(); in setScrollCenter()883 centerY = vertical.getScrollCenter(); in setScrollCenter()898 return horizontal.getScrollCenter(); in getFinalX()907 return vertical.getScrollCenter(); in getFinalY()939 return (horizontal.getScrollCenter() == scroller.getCurrX() && in isFinished()940 vertical.getScrollCenter() == scroller.getCurrY()); in isFinished()