Lines Matching defs:span

171      * will have an offset and span of 0.
246 // have changed their span along the major axis. If there
267 * preferred span has changed. This is implemented to
320 * @param span the span to layout to >= 0
322 void setSpanOnAxis(int axis, float span) {
324 if (majorSpan != (int) span) {
329 majorSpan = (int) span;
338 if (((int) span) != minorSpan) {
343 minorSpan = (int) span;
378 * @return the current span of the view along the given axis, >= 0
519 * origin and 1.0 indicates alignment to the full span
534 * Determines the preferred span for this view along an
539 * @return the span the view would like to be rendered into >= 0;
540 * typically the view is told to render into the span
557 * Determines the minimum span for this view along an
562 * @return the span the view would like to be rendered into >= 0;
563 * typically the view is told to render into the span
580 * Determines the maximum span for this view along an
585 * @return the span the view would like to be rendered into >= 0;
586 * typically the view is told to render into the span
719 int span;
721 span = majorSpan;
723 span = minorSpan;
725 span += getLeftInset() - getRightInset();
726 return span;
735 int span;
737 span = majorSpan;
739 span = minorSpan;
741 span += getTopInset() - getBottomInset();
742 return span;
748 * offset and span for each children) are placed in the given
752 * @param targetSpan the total span given to the view, which
758 * @param spans the span of each child view; this is a return
776 * the target span.
821 * of the layout (the offset and span for each children) are
825 * @param targetSpan the total span given to the view, which
831 * @param spans the span of each child view; this is a return
947 * @param targetSpan the total span given to the view, which
970 // the smallest span possible
972 // the largest span possible
982 // figure out the span that we must fit into
985 // fit into the calculated span
1024 float span;
1029 span = v.getPreferredSpan(axis);
1030 ascent = (int)(align * span);
1031 descent = (int)(span - ascent);
1038 span = v.getMinimumSpan(axis);
1039 ascent = (int)(align * span);
1040 descent = (int)(span - ascent);
1044 span = v.getMaximumSpan(axis);
1045 ascent = (int)(align * span);
1046 descent = (int)(span - ascent);
1060 // calculate the preferred span as the sum of the preferred ascent and preferred descent
1064 // calculate the preferred alignment as the preferred ascent divided by the preferred span
1082 // span values using 1) the minimum ascent and the alignment, and 2) the minimum
1106 * Fetches the span of a particular child's current layout.
1109 * @return the span (width or height) of the specified child