Lines Matching refs:spans
757 * @param spans the span of each child view; this is a return
760 protected void layoutMajorAxis(int targetSpan, int axis, int[] offsets, int[] spans) {
769 spans[i] = (int) v.getPreferredSpan(axis);
770 preferred += spans[i];
791 diffs[i] = spans[i] - tmp;
794 diffs[i] = tmp - spans[i];
811 spans[i] += Math.round(adjF);
813 totalOffset = (int) Math.min((long) totalOffset + (long) spans[i], Integer.MAX_VALUE);
830 * @param spans the span of each child view; this is a return
833 protected void layoutMinorAxis(int targetSpan, int axis, int[] offsets, int[] spans) {
842 spans[i] = max;
847 spans[i] = Math.max(min, targetSpan);
952 * @param spans an empty array filled by this method with
955 protected void baselineLayout(int targetSpan, int axis, int[] offsets, int[] spans) {
988 // otherwise use the preferred spans
993 spans[i] = (int)viewSpan;
1070 // if the preferred alignment is 0 then the minimum and maximum spans are simply
1075 // if the preferred alignment is 1 then the minimum and maximum spans are simply
1111 int[] spans = (axis == majorAxis) ? majorSpans : minorSpans;
1112 return spans[childIndex];