Lines Matching defs:spans
758 * @param spans the span of each child view; this is a return
761 protected void layoutMajorAxis(int targetSpan, int axis, int[] offsets, int[] spans) {
770 spans[i] = (int) v.getPreferredSpan(axis);
771 preferred += spans[i];
792 diffs[i] = spans[i] - tmp;
795 diffs[i] = tmp - spans[i];
812 spans[i] += Math.round(adjF);
814 totalOffset = (int) Math.min((long) totalOffset + (long) spans[i], Integer.MAX_VALUE);
831 * @param spans the span of each child view; this is a return
834 protected void layoutMinorAxis(int targetSpan, int axis, int[] offsets, int[] spans) {
843 spans[i] = max;
848 spans[i] = Math.max(min, targetSpan);
953 * @param spans an empty array filled by this method with
956 protected void baselineLayout(int targetSpan, int axis, int[] offsets, int[] spans) {
989 // otherwise use the preferred spans
994 spans[i] = (int)viewSpan;
1071 // if the preferred alignment is 0 then the minimum and maximum spans are simply
1076 // if the preferred alignment is 1 then the minimum and maximum spans are simply
1112 int[] spans = (axis == majorAxis) ? majorSpans : minorSpans;
1113 return spans[childIndex];