Lines Matching refs:leading

349      * the same, a hit on the leading edge of a character is stronger
649 * A utility to rebuild the ascent/descent/leading/advance cache.
933 * Returns the leading of the <code>TextLayout</code>.
934 * The leading is the suggested interline spacing for this
938 * The leading is computed from the leading, descent, and baseline
951 * @return the leading of this <code>TextLayout</code>.
955 return lineMetrics.leading;
1052 * [-1, trailing] and [characterCount, leading] are valid positions, and
1356 return TextHitInfo.leading(characterCount);
1365 boolean leading = textLine.isCharLTR(charIndex);
1367 return leading? TextHitInfo.leading(charIndex)
1387 // At this point, the leading edge of the character
1571 boolean leading;
1587 leading = textLine.isCharLTR(charIndex);
1591 leading = !textLine.isCharLTR(charIndex);
1610 leading = movedToRight == textLine.isCharLTR(charIndex);
1615 leading = charIndex == characterCount;
1619 return leading? TextHitInfo.leading(charIndex) :
1810 // If this rule ties, the hit on the leading edge of a character wins.
2150 * selection from 0L (the leading edge of 'A') to 3T (the trailing edge
2292 carets[count++] = hitToCaret(TextHitInfo.leading(logIndex));
2311 carets[0] = carets[1] = hitToCaret(TextHitInfo.leading(firstEndpoint));
2443 * map to hits on the leading edge of the first logical character,
2453 * @return a hit describing the character and edge (leading or trailing)
2470 return TextHitInfo.leading(0);
2476 return isLeftToRight() ? TextHitInfo.leading(0) : TextHitInfo.trailing(characterCount-1);
2478 return isLeftToRight() ? TextHitInfo.trailing(characterCount-1) : TextHitInfo.leading(0);
2536 boolean leading = textLine.isCharLTR(index) == left;
2540 TextHitInfo result = leading ? TextHitInfo.leading(index) :
2554 * @return a hit describing the character and edge (leading or trailing)
2712 * on the baseline of the character at the leading or trailing
2737 boolean leading = hit.isLeadingEdge();
2744 adv = textLine.getCharLinePosition(ix, leading);
2750 lp.pathToPoint(point, ltr != leading, point);