Lines Matching defs:targetSpan
751 * @param targetSpan the total span given to the view, which
760 protected void layoutMajorAxis(int targetSpan, int axis, int[] offsets, int[] spans) {
779 long desiredAdjustment = targetSpan - preferred;
824 * @param targetSpan the total span given to the view, which
833 protected void layoutMinorAxis(int targetSpan, int axis, int[] offsets, int[] spans) {
838 if (max < targetSpan) {
841 offsets[i] = (int) ((targetSpan - max) * align);
847 spans[i] = Math.max(min, targetSpan);
942 * in this <code>BoxView</code> given the <code>targetSpan</code>,
946 * @param targetSpan the total span given to the view, which
955 protected void baselineLayout(int targetSpan, int axis, int[] offsets, int[] spans) {
956 int totalAscent = (int)(targetSpan * getAlignment(axis));
957 int totalDescent = targetSpan - totalAscent;