Home
last modified time | relevance | path

Searched refs:startChild (Results 1 – 1 of 1) sorted by relevance

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DScrollbarHelper.java30 View startChild, View endChild, RecyclerView.LayoutManager lm, in computeScrollOffset() argument
32 if (lm.getChildCount() == 0 || state.getItemCount() == 0 || startChild == null || in computeScrollOffset()
36 final int minPosition = Math.min(lm.getPosition(startChild), in computeScrollOffset()
38 final int maxPosition = Math.max(lm.getPosition(startChild), in computeScrollOffset()
47 orientation.getDecoratedStart(startChild)); in computeScrollOffset()
48 final int itemRange = Math.abs(lm.getPosition(startChild) - in computeScrollOffset()
53 - orientation.getDecoratedStart(startChild))); in computeScrollOffset()
61 View startChild, View endChild, RecyclerView.LayoutManager lm, in computeScrollExtent() argument
63 if (lm.getChildCount() == 0 || state.getItemCount() == 0 || startChild == null || in computeScrollExtent()
68 return Math.abs(lm.getPosition(startChild) - lm.getPosition(endChild)) + 1; in computeScrollExtent()
[all …]