Searched refs:startChild (Results 1 – 1 of 1) sorted by relevance
31 View startChild, View endChild, RecyclerView.LayoutManager lm, in computeScrollOffset() argument33 if (lm.getChildCount() == 0 || state.getItemCount() == 0 || startChild == null in computeScrollOffset()37 final int minPosition = Math.min(lm.getPosition(startChild), in computeScrollOffset()39 final int maxPosition = Math.max(lm.getPosition(startChild), in computeScrollOffset()48 - orientation.getDecoratedStart(startChild)); in computeScrollOffset()49 final int itemRange = Math.abs(lm.getPosition(startChild) in computeScrollOffset()54 - orientation.getDecoratedStart(startChild))); in computeScrollOffset()62 View startChild, View endChild, RecyclerView.LayoutManager lm, in computeScrollExtent() argument64 if (lm.getChildCount() == 0 || state.getItemCount() == 0 || startChild == null in computeScrollExtent()69 return Math.abs(lm.getPosition(startChild) - lm.getPosition(endChild)) + 1; in computeScrollExtent()[all …]