/external/webkit/Source/WebCore/rendering/ |
InlineFlowBox.cpp | 483 // The primary purpose of this function is to compute the maximal ascent and descent values for 497 // part of the box (EXCLUDING leading) is above (for ascent) or below (for descent) the root box's baseline. 504 int ascent = 0; local 506 rootBox->ascentAndDescentForBox(rootBox, textBoxDataMap, ascent, descent, affectsAscent, affectsDescent); 508 if (maxAscent < ascent || !setMaxAscent) { 509 maxAscent = ascent; 536 int ascent = 0; local 538 rootBox->ascentAndDescentForBox(curr, textBoxDataMap, ascent, descent, affectsAscent, affectsDescent); 540 int boxHeight = ascent + descent; 550 // if our box (excluding line-height) was above (for ascent) or below (for descent) the root baseline, once you factor in line-heigh [all...] |
RenderListMarker.cpp | 1596 int ascent = fontMetrics.ascent(); local [all...] |
RenderImage.cpp | 300 int ascent = fontMetrics.ascent(); local 308 context->drawText(font, textRun, IntPoint(ax, ay + ascent)); 310 context->drawText(font, textRun, IntPoint(ax, ay + ascent));
|
/external/webkit/Source/WebKit/chromium/public/ |
WebFont.h | 55 virtual int ascent() const = 0;
|
/packages/apps/Calculator/src/com/android/calculator2/ |
ColorButton.java | 77 mTextY = (getHeight() - paint.ascent() - paint.descent()) / 2;
|
/frameworks/base/core/java/android/text/ |
StaticLayout.java | 286 int fmAscent = fm.ascent; 328 float wid = bm.getWidth() * -whichPaint.ascent() / bm.getHeight(); 421 above = fm.ascent; 467 fitAscent = fm.ascent; 498 bufEnd, bufEnd, fm.ascent, fm.descent, 631 fm.ascent = above; 646 above = fm.ascent; [all...] |
/external/icu4c/layout/ |
LEFontInstance.h | 457 * Get the font's ascent. 459 * @return the font's ascent, in points. This value 489 * returns the sum of the ascent, descent, and leading.
|
/packages/apps/VideoEditor/src/com/android/videoeditor/util/ |
ImageUtils.java | 329 startYOffset - p.ascent(), p); 371 startYOffset - p.ascent(), p); 450 startYOffset - p.ascent(), p);
|
/external/icu4c/layoutex/ |
ParagraphLayout.cpp | 828 le_int32 ascent = font->getAscent(); local 833 if (ascent > fAscent) { 834 fAscent = ascent; 1239 le_int32 ascent = fRuns[i]->getAscent(); local [all...] |
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
UniscribeHelper.cpp | 521 int ascent = m_ascent; local 590 nextWinFontData(&hfont, &scriptCache, &fontProperties, &ascent)) { 609 &ascent, &hfont, &scriptCache, 623 &ascent, &hfont, &scriptCache, 655 // The ascent of a font for this run can be different from 660 shaping.m_ascentOffset = m_ascent ? ascent - m_ascent : 0; [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Paint_Delegate.java | 501 /*package*/ static float ascent(Paint thisPaint) { method in class:Paint_Delegate 510 // Android expects negative ascent so we invert the value from Java. 556 // Android expects negative ascent so we invert the value from Java. 558 fmi.ascent = - javaMetrics.getAscent(); [all...] |
/external/chromium/chrome/common/extensions/docs/images/intermediate/ |
overview-arch.svg | 3 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xl="http://www.w3.org/1999/xlink" version="1.1" viewBox="50 182 253 189" width="253pt" height="189pt"><metadata xmlns:dc="http://purl.org/dc/elements/1.1/"><dc:date>2010-01-29 21:50Z</dc:date><!-- Produced by OmniGraffle Professional 5.2.1 --></metadata><defs><font-face font-family="Arial" font-size="12" panose-1="2 11 7 4 2 2 2 2 2 4" units-per-em="1000" underline-position="-105.95703" underline-thickness="104.98047" slope="0" x-height="500" cap-height="750" ascent="905.27344" descent="-211.91406" font-weight="bold"><font-face-src><font-face-name name="Arial-BoldMT"/></font-face-src></font-face><font-face font-family="Arial Black" font-size="12" panose-1="2 11 10 4 2 1 2 2 2 4" units-per-em="1000" underline-position="-125" underline-thickness="60.058594" slope="0" x-height="500" cap-height="750" ascent="1100.58594" descent="-309.57031" font-weight="bold"><font-face-src><font-face-name name="Arial-Black"/></font-face-src></font-face></defs><g stroke="none" stroke-opacity="1" stroke-dasharray="none" fill="none" fill-opacity="1"><title>Canvas 1</title><g><title>browser</title><path d="M 61 263.77634 L 61 360 L 169 360 L 169 352.78146 L 169 268.32458 L 169 261.10593 L 130.804184 261.10593 L 108.29361 261.10593 C 105.357513 261.10593 102.64653 259.71793 101.18982 257.46881 L 99.355766 254.63712 C 97.899063 252.388 95.18805 251 92.25196 251 L 74.58132 251 C 72.192795 251 69.923607 251.92084 68.369164 253.52074 L 62.969704 259.07855 L 62.969704 259.07855 C 62.378513 259.68698 61.911198 260.37292 61.580395 261.10593 L 61 261.10593 Z" fill="#ccc"/><path d="M 61 263.77634 L 61 360 L 169 360 L 169 352.78146 L 169 268.32458 L 169 261.10593 L 130.804184 261.10593 L 108.29361 261.10593 C 105.357513 261.10593 102.64653 259.71793 101.18982 257.46881 L 99.355766 254.63712 C 97.899063 252.388 95.18805 251 92.25196 251 L 74.58132 251 C 72.192795 251 69.923607 251.92084 68.369164 253.52074 L 62.969704 259.07855 L 62.969704 259.07855 C 62.378513 259.68698 61.911198 260.37292 61.580395 261.10593 L 61 261.10593 Z" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/><rect x="72" y="266" width="77" height="9" fill="white"/><rect x="72" y="266" width="77" height="9" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/><rect x="61" y="280" width="108" height="80" fill="white"/><rect x="61" y="280" width="108" height="80" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/></g><g><title>1ba</title><rect x="154" y="267" width="7.200012" height="7.200012" fill="#f8d22b"/><rect x="154" y="267" width="7.200012" height="7.200012" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/></g><g><title>bg</title><rect x="126" y="193" width="108" height="20" fill="#c8c8c8"/><rect x="126" y="193" width="108" height="20" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/><text transform="translate(131 198)" fill="black"><tspan font-family="Arial" font-size="12" font-weight="bold" x=".33203125" y="11" textLength="97.33594">background.html</tspan></text><line x1="180" y1="213" x2="159.18123" y2="266.53403" stroke="#bfa221" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" stroke-dasharray="1,3"/></g><g><title>2bas</title><path d="M 184 263.77634 L 184 360 L 292 360 L 292 352.78146 L 292 268.32458 L 292 261.10593 L 253.80418 261.10593 L 231.29361 261.10593 C 228.35751 261.10593 225.64653 259.71793 224.18982 257.46881 L 222.35577 254.63712 C 220.89906 252.388 218.18805 251 215.25195 251 L 197.58133 251 C 195.1928 251 192.92361 251.92084 191.36917 253.52074 L 185.9697 259.07855 L 185.9697 259.07855 C 185.37851 259.68698 184.91119 260.37292 184.5804 261.10593 L 184 261.10593 Z" fill="#ccc"/><path d="M 184 263.77634 L 184 360 L 292 360 L 292 352.78146 L 292 268.32458 L 292 261.10593 L 253.80418 261.10593 L 231.29361 261.10593 C 228.35751 261.10593 225.64653 259.71793 224.18982 257.46881 L 222.35577 254.63712 C 220.89906 252.388 218.18805 251 215.25195 251 L 197.58133 251 C 195.1928 251 192.92361 251.92084 191.36917 253.52074 L 185.9697 259.07855 L 185.9697 259.07855 C 185.37851 259.68698 184.91119 260.37292 184.5804 261.10593 L 184 261.10593 Z" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/><rect x="195" y="266" width="77" height="9" fill="white"/><rect x="195" y="266" width="77" height="9" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/><rect x="184" y="280" width="108" height="80" fill="white"/><rect x="184" y="280" width="108" height="80" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/><rect x="264" y="267.84" width="5.4000244" height="5.4000244" fill="#059bf4"/><rect x="264" y="267.84" width="5.4000244" height="5.4000244" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/><rect x="277" y="267" width="7.200012" height="7.200012" fill="#f8d22b"/><rect x="277" y="267" width="7.200012" height="7.200012" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/><line x1="234.31448" y1="213.38872" x2="277.37302" y2="266.6113" stroke="#bfa221" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" stroke-dasharray="1,3"/><rect x="206" y="309" width="64" height="18" fill="white"/><text transform="translate(206 309.5)" fill="#aaa"><tspan font-family="Arial Black" font-size="12" font-weight="bold" fill="#aaa" x=".23925781" y="13" textLength="12">W</tspan><tspan font-family="Arial Black" font-size="12" font-weight="bold" fill="#aaa" x="12.637695" y="13" textLength="28.007812">indo</tspan><tspan font-family="Arial Black" font-size="12" font-weight="bold" fill="#aaa" x="40.42871" y="13" textLength="23.332031">w 2</tspan></text><rect x="83" y="309" width="64" height="18" fill="white"/><text transform="translate(83 309.5)" fill="#aaa"><tspan font-family="Arial Black" font-size="12" font-weight="bold" fill="#aaa" x=".23925781" y="13" textLength="12">W</tspan><tspan font-family="Arial Black" font-size="12" font-weight="bold" fill="#aaa" x="12.637695" y="13" textLength="28.007812">indo</tspan><tspan font-family="Arial Black" font-size="12" font-weight="bold" fill="#aaa" x="40.42871" y="13" textLength="23.332031">w 1</tspan></text></g></g></svg>
|
/cts/tests/tests/text/src/android/text/cts/ |
DynamicLayoutTest.java | 119 assertEquals(fontMetricsInt.top - fontMetricsInt.ascent, dynamicLayout.getTopPadding());
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ColorFilters.java | 91 mPaintTextOffset = (fm.descent + fm.ascent) * 0.5f;
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
InternalSelectionView.java | 172 rectTop + 2 - (int) mTextPaint.ascent(),
|
/external/freetype/include/freetype/ |
ftwinfnt.h | 192 FT_UShort ascent; member in struct:FT_WinFNT_HeaderRec_
|
/external/icu4c/test/letest/ |
sfnt.h | 325 le_int16 ascent; member in struct:HHEATable
|
/external/skia/src/views/ |
SkListView.cpp | 382 SkScalar ascent, descent; local 383 fPaint[kNormalText_Attr].measureText(0, NULL, &ascent, &descent); 384 y = SkScalarHalf(fRowHeight - descent + ascent) - ascent;
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
FontComplexTextMac.cpp | 114 glyphOverflow->top = max<int>(glyphOverflow->top, ceilf(-controller.minGlyphBoundingBoxY()) - (glyphOverflow->computeBounds ? 0 : fontMetrics().ascent()));
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
FontWin.cpp | 130 glyphOverflow->top = max<int>(glyphOverflow->top, ceilf(-controller.minGlyphBoundingBoxY()) - (glyphOverflow->computeBounds ? 0 : fontMetrics().ascent()));
|
SimpleFontDataCGWin.cpp | 89 // and add it to the ascent.
|
/external/webkit/Source/WebCore/platform/mac/ |
WebCoreSystemInterface.mm | 109 void (*wkGetFontMetrics)(CGFontRef, int* ascent, int* descent, int* lineGap, unsigned* unitsPerEm);
|
/external/webkit/Source/WebCore/platform/wx/wxcode/gtk/ |
fontprops.cpp | 54 m_ascent = static_cast<int>(font_extents.ascent);
|
non-kerned-drawing.cpp | 238 float height = font->ascent() - font->descent();
|
/external/webkit/Source/WebCore/platform/wx/wxcode/win/ |
non-kerned-drawing.cpp | 82 float y = point.y() - font->fontMetrics().ascent();
|