Lines Matching defs:orientation
29 static int computeScrollOffset(RecyclerView.State state, OrientationHelper orientation,
46 final int laidOutArea = Math.abs(orientation.getDecoratedEnd(endChild) -
47 orientation.getDecoratedStart(startChild));
52 return Math.round(itemsBefore * avgSizePerRow + (orientation.getStartAfterPadding()
53 - orientation.getDecoratedStart(startChild)));
60 static int computeScrollExtent(RecyclerView.State state, OrientationHelper orientation,
70 final int extend = orientation.getDecoratedEnd(endChild)
71 - orientation.getDecoratedStart(startChild);
72 return Math.min(orientation.getTotalSpace(), extend);
79 static int computeScrollRange(RecyclerView.State state, OrientationHelper orientation,
90 final int laidOutArea = orientation.getDecoratedEnd(endChild) -
91 orientation.getDecoratedStart(startChild);