Searched refs:startChild (Results 1 – 3 of 3) sorted by relevance
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
D | ScrollbarHelper.java | 30 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 …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ScrollbarHelper.java | 31 View startChild, View endChild, RecyclerView.LayoutManager lm, in computeScrollOffset() argument 33 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() argument 64 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 …]
|
/frameworks/support/car/src/main/java/androidx/car/widget/ |
D | PagedListView.java | 1394 View startChild = in drawDivider() local 1404 if (startChild == null || endChild == null) { in drawDivider() 1412 startChild.getGlobalVisibleRect(startRect); in drawDivider()
|