Searched refs:cumulateLength (Results 1 – 2 of 2) sorted by relevance
243 int cumulateLength = 0; in handleExplicitHeight() local245 while (iter.hasNext() && cumulateLength < minBPD) { in handleExplicitHeight()249 cumulateLength += el.getWidth(); in handleExplicitHeight()253 new FillerPenalty(minBPD - cumulateLength)); in handleExplicitHeight()256 cumulateLength += el.getWidth(); in handleExplicitHeight()259 if (cumulateLength + el.getWidth() < minBPD) { in handleExplicitHeight()260 iter.set(new FillerPenalty((KnuthPenalty) el, minBPD - cumulateLength)); in handleExplicitHeight()
183 int cumulateLength = 0; // Length of the content accumulated before the break in getCombinedKnuthElementsForRowGroup() local191 int boxLen = step - cumulateLength - Math.max(0, penaltyOrGlueLen)/* penalty, if any */; in getCombinedKnuthElementsForRowGroup()192 cumulateLength += boxLen + Math.max(0, -penaltyOrGlueLen)/* the glue, if any */; in getCombinedKnuthElementsForRowGroup()