Searched refs:leading (Results 1 - 20 of 20) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/font/
H A DCoreMetrics.java41 float leading,
53 this.leading = leading;
90 && leading == rhs.leading
121 public final float leading; field in class:CoreMetrics
39 CoreMetrics(float ascent, float descent, float leading, float height, int baselineIndex, float[] baselineOffsets, float strikethroughOffset, float strikethroughThickness, float underlineOffset, float underlineThickness, float ssOffset, float italicAngle) argument
H A DFontLineMetrics.java66 return cm.leading;
H A DFontDesignMetrics.java114 // height, ascent, descent, leading are reported to the client
124 private float leading; field in class:FontDesignMetrics
362 this.leading = metrics.getLeading();
568 // for leading, ascent & descent sum to height.
575 (int)(roundingUpValue + descent + leading) -
586 height = getAscent() + (int)(roundingUpValue + descent + leading);
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWFontMetrics.java64 * The standard leading for the font. This is the logical amount
69 int leading; field in class:WFontMetrics
74 * It is the sum of the ascent+descent+leading. There is no
118 * Get leading
121 return leading;
H A DWInputMethod.java544 TextHitInfo.leading(caretPos),
545 TextHitInfo.leading(visiblePos));
567 Rectangle rc = inputContext.getTextLocation(TextHitInfo.leading(0));
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DTextHitInfo.java47 * either <EM>leading</EM> (the left edge, for a left-to-right character)
60 * is leading, and one character after if the bias is trailing. The
68 * Calling <code>getOtherHit</code> on trailing(1) would return leading(2).
70 * leading(n+1) and <code>getOtherHit</code> for leading(n)
95 * @param isLeadingEdge <code>true</code> if the leading edge of the
112 * Returns <code>true</code> if the leading edge of the character was
114 * @return <code>true</code> if the leading edge of the character was
123 * the leading edge of the character was hit, and one greater
177 * Creates a <code>TextHitInfo</code> on the leading edg
183 public static TextHitInfo leading(int charIndex) { method in class:TextHitInfo
[all...]
H A DTextLayout.java349 * 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(characterCoun
[all...]
H A DTextLine.java71 public final float leading; field in class:TextLine.TextLineMetrics
76 float leading,
80 this.leading = leading;
152 float leading = 0;
182 leading = Math.max(leading, gd + cm.leading);
187 float graphicHeightWithLeading = graphicHeight + cm.leading;
198 if (maxGraphicHeightWithLeading > ascent + leading) {
74 TextLineMetrics(float ascent, float descent, float leading, float advance) argument
681 getCharLinePosition(int logicalIndex, boolean leading) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/awt/motif/
H A DX11FontMetrics.java60 * The standard leading for the font. This is the logical amount
65 int leading; field in class:X11FontMetrics
70 * It is the sum of the ascent+descent+leading. There is no
124 * Get leading
127 return leading;
/openjdk7/jdk/src/share/demo/jfc/CodePointIM/
H A DCodePointInputMethod.java271 TextHitInfo.leading(insertionPoint), null);
282 TextHitInfo.leading(insertionPoint), null);
306 TextHitInfo.leading(insertionPoint), null);
322 TextHitInfo.leading(insertionPoint), null);
335 // Do not allow deletion of the leading "\\u" or "\\U" if there
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/lib/
H A DExsltSets.java48 * The set:leading function returns the nodes in the node set passed as the first argument that
61 public static NodeList leading (NodeList nl1, NodeList nl2) method in class:ExsltSets
/openjdk7/jdk/src/solaris/classes/sun/awt/
H A DX11InputMethod.java714 visiblePositionInfo = TextHitInfo.leading(index);
742 TextHitInfo.leading(caretPosition),
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_Font.c110 jfieldID leading; member in struct:X11FontMetricsIDs
139 x11FontMetricsIDs.leading =
140 (*env)->GetFieldID(env, cls, "leading", "I");
895 (*env)->SetIntField(env, this, x11FontMetricsIDs.leading, (jint) 1);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DGroupLayout.java302 * vertical axis leading means aligned to the top edge.
1668 * @param leading List of ComponentSprings that occur before this Group
1677 List<ComponentSpring> leading, List<ComponentSpring> trailing,
2154 List<ComponentSpring> leading, List<ComponentSpring> trailing,
2161 new ArrayList<ComponentSpring>(leading);
2194 // There's leading ComponentSprings, create an
2205 // leading AutopaddingSpring.
2221 // Not that last Spring, add it to leading
2304 // If we get here, both leading and trailing springs are
2376 * leading edg
1674 insertAutopadding(int axis, List<AutoPreferredGapSpring> leadingPadding, List<AutoPreferredGapSpring> trailingPadding, List<ComponentSpring> leading, List<ComponentSpring> trailing, boolean insert) argument
2151 insertAutopadding(int axis, List<AutoPreferredGapSpring> leadingPadding, List<AutoPreferredGapSpring> trailingPadding, List<ComponentSpring> leading, List<ComponentSpring> trailing, boolean insert) argument
2609 insertAutopadding(int axis, List<AutoPreferredGapSpring> leadingPadding, List<AutoPreferredGapSpring> trailingPadding, List<ComponentSpring> leading, List<ComponentSpring> trailing, boolean insert) argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DFont.java2181 float leading = metrics[2];
2188 float height = ascent + descent + leading;
2223 CoreMetrics cm = new CoreMetrics(ascent, descent, leading, height,
2311 * the leading. The logical bounds does not always enclose all the
2337 * the leading. The logical bounds does not always enclose all the
2371 * includes the leading. The logical bounds does not always enclose
2438 * the leading. The logical bounds does not always enclose all the
/openjdk7/jdk/src/share/classes/sun/swing/
H A DSwingUtilities2.java627 TextHitInfo leading =
628 TextHitInfo.leading(underlinedIndex);
632 layout.getVisualHighlightShape(leading, trailing);
1677 /** The leading section */
1700 * to each of the leading and trailing sections and the remainder to the
1708 * is in or somewhere before the leading section, and
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Font.cpp524 int leading = metrics.tmExternalLeading; local
527 env->SetIntField(fontMetrics, AwtFont::leadingID, leading);
529 metrics.tmDescent + leading);
533 int maxHeight = ascent + descent + leading;
929 AwtFont::leadingID = env->GetFieldID(cls, "leading", "I");
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/
H A DXMLScanner.java1059 * leading and trailing white space must be removed.
1076 // skip leading whitespace
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/
H A DXMLSchemaValidator.java1618 boolean leading = false;
1627 // don't include the leading ' ' for now. might include it later.
1640 // this is a leading whitespace, record it
1641 leading = true;
1654 } else if (leading && !fFirstChunk) {
1668 } else if (leading) {
1677 // The length includes the leading ' '. Now removing it.
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DJTextComponent.java4653 return TextHitInfo.leading(pos - composedTextStart.getOffset());

Completed in 2518 milliseconds