Lines Matching defs:span

170      * will have an offset and span of 0.
245 // have changed their span along the major axis. If there
266 * preferred span has changed. This is implemented to
319 * @param span the span to layout to >= 0
321 void setSpanOnAxis(int axis, float span) {
323 if (majorSpan != (int) span) {
328 majorSpan = (int) span;
337 if (((int) span) != minorSpan) {
342 minorSpan = (int) span;
377 * @return the current span of the view along the given axis, >= 0
518 * origin and 1.0 indicates alignment to the full span
533 * Determines the preferred span for this view along an
538 * @return the span the view would like to be rendered into >= 0;
539 * typically the view is told to render into the span
556 * Determines the minimum span for this view along an
561 * @return the span the view would like to be rendered into >= 0;
562 * typically the view is told to render into the span
579 * Determines the maximum span for this view along an
584 * @return the span the view would like to be rendered into >= 0;
585 * typically the view is told to render into the span
718 int span;
720 span = majorSpan;
722 span = minorSpan;
724 span += getLeftInset() - getRightInset();
725 return span;
734 int span;
736 span = majorSpan;
738 span = minorSpan;
740 span += getTopInset() - getBottomInset();
741 return span;
747 * offset and span for each children) are placed in the given
751 * @param targetSpan the total span given to the view, which
757 * @param spans the span of each child view; this is a return
775 * the target span.
820 * of the layout (the offset and span for each children) are
824 * @param targetSpan the total span given to the view, which
830 * @param spans the span of each child view; this is a return
946 * @param targetSpan the total span given to the view, which
969 // the smallest span possible
971 // the largest span possible
981 // figure out the span that we must fit into
984 // fit into the calculated span
1023 float span;
1028 span = v.getPreferredSpan(axis);
1029 ascent = (int)(align * span);
1030 descent = (int)(span - ascent);
1037 span = v.getMinimumSpan(axis);
1038 ascent = (int)(align * span);
1039 descent = (int)(span - ascent);
1043 span = v.getMaximumSpan(axis);
1044 ascent = (int)(align * span);
1045 descent = (int)(span - ascent);
1059 // calculate the preferred span as the sum of the preferred ascent and preferred descent
1063 // calculate the preferred alignment as the preferred ascent divided by the preferred span
1081 // span values using 1) the minimum ascent and the alignment, and 2) the minimum
1105 * Fetches the span of a particular childs current layout.
1108 * @return the span (width or height) of the specified child