/external/webkit/WebCore/platform/graphics/ |
Font.h | 118 int descent() const { return primaryFont()->descent(); } function in class:WebCore::Font 119 int height() const { return ascent() + descent(); }
|
/frameworks/base/services/java/com/android/server/ |
LoadAverageService.java | 135 float descent = mLoadPaint.descent(); local 136 mFH = (int)(descent - mAscent + .5f);
|
/external/chromium/third_party/icu/source/test/letest/ |
FontObject.h | 152 le_int16 descent; member in struct:HHEATable
|
/external/icu4c/samples/layout/ |
sfnt.h | 189 le_int16 descent; member in struct:HHEATable
|
GnomeFontInstance.cpp | 80 // printf("Face = %s, unitsPerEM = %d, ascent = %d, descent = %d\n", fontPathName, fUnitsPerEM, fAscent, fDescent);
|
/external/icu4c/test/letest/ |
FontObject.h | 152 le_int16 descent; member in struct:HHEATable
|
/external/webkit/WebCore/svg/ |
svgattrs.in | 42 descent
|
/external/webkit/WebKit/win/ |
WebKitGraphics.h | 68 void FontMetrics(const WebFontDescription&, int* ascent, int* descent, int* lineSpacing);
|
/frameworks/base/core/java/android/text/ |
BoringLayout.java | 188 spacing = metrics.descent - metrics.ascent; 220 mBottomPadding = metrics.bottom - metrics.descent; 225 * Returns null if not boring; the width, ascent, and descent if boring. 233 * Returns null if not boring; the width, ascent, and descent in the
|
DynamicLayout.java | 136 int desc = fm.descent; 140 start[DESCENT] = desc; 328 ints[DESCENT] = desc; 371 return mInts.getValue(line, DESCENT); 490 private static final int DESCENT = 2;
|
StaticLayout.java | 334 fm.descent += mWorkPaint.baselineShift; 342 int fmdescent = fm.descent; 528 fm.ascent, fm.descent, 568 fitdescent = fm.descent; 597 bufend, bufend, fm.ascent, fm.descent, [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
Utilities.java | 300 float descent = textPaint.descent(); local 301 float leading = 0.0f;//(ascent+descent) * 0.1f; 304 mLineHeight = (int)(leading + ascent + descent + 0.5f);
|
/cts/tests/tests/text/src/android/text/style/cts/ |
DynamicDrawableSpanTest.java | 84 assertEquals(0, fm.descent); 93 assertEquals(0, fm.descent);
|
IconMarginSpanTest.java | 137 assertEquals(0, fm.descent); 145 assertEquals(HEIGHT, fm.descent);
|
DrawableMarginSpanTest.java | 158 assertEquals(0, fm.descent); 168 assertTrue(fm.descent > 0);
|
/external/webkit/WebCore/platform/graphics/gtk/ |
SimpleFontDataPango.cpp | 53 m_descent = static_cast<int>(lroundf(font_extents.descent)); 57 // cairo report a height smaller than ascent + descent, which is
|
/external/webkit/WebKit/win/WebCoreSupport/ |
WebDragClient.cpp | 250 IntSize labelSize(labelFont->width(labelRun), labelFont->ascent() + labelFont->descent()); 263 urlStringSize.setHeight(urlFont->ascent() + urlFont->descent()); 306 IntPoint textPos(DRAG_LABEL_BORDER_X, imageSize.height() - (DRAG_LABEL_BORDER_Y_OFFSET + urlFont->descent()));
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
LabelMaker.java | 188 int descent = 0; local 193 descent = (int) Math.ceil(textPaint.descent()); 196 int textHeight = ascent + descent;
|
/external/webkit/WebCore/platform/graphics/android/ |
FontDataAndroid.cpp | 51 // use ceil instead of round to favor descent, given a lot of accidental
|
/external/webkit/WebCore/platform/graphics/chromium/ |
FontChromiumWin.cpp | 248 return IntRect(m_point.x() - (m_font->ascent() + m_font->descent()) / 2, 250 totalWidth + m_font->ascent() + m_font->descent(), 355 return IntRect(left - (m_font->ascent() + m_font->descent()) / 2, 357 (right - left) + m_font->ascent() + m_font->descent(),
|
/external/webkit/WebCore/platform/graphics/haiku/ |
SimpleFontDataHaiku.cpp | 55 m_descent = static_cast<int>(height.descent);
|
/external/webkit/WebCore/platform/mac/ |
WebCoreSystemInterface.mm | 100 void (*wkGetFontMetrics)(CGFontRef, int* ascent, int* descent, int* lineGap, unsigned* unitsPerEm);
|
/packages/apps/Calculator/src/com/android/calculator2/ |
ColorButton.java | 79 mTextY = (getHeight() - paint.ascent() - paint.descent()) / 2;
|
/external/webkit/WebCore/rendering/ |
InlineFlowBox.cpp | 397 int descent = height - ascent; local 400 if (maxDescent < descent) 401 maxDescent = descent; 424 int halfLeading = (usedFonts[i]->lineSpacing() - usedFonts[i]->ascent() - usedFonts[i]->descent()) / 2; 426 baselineToBottom = max(baselineToBottom, usedFonts[i]->lineSpacing() - usedFonts[i]->ascent() - usedFonts[i]->descent() - halfLeading); 433 int halfLeading = (lineHeight - usedFonts[i]->ascent() - usedFonts[i]->descent()) / 2; 440 int halfLeading = (lineHeight - usedFonts[i]->ascent() - usedFonts[i]->descent()) / 2; 458 int descent = lineHeight - ascent; local 461 if (maxDescent < descent) 462 maxDescent = descent; [all...] |
/external/icu4c/layoutex/ |
ParagraphLayout.cpp | 804 le_int32 descent = font->getDescent(); local 806 le_int32 dl = descent + leading; 812 if (descent > fDescent) { 813 fDescent = descent; 1215 le_int32 descent = fRuns[i]->getDescent(); local [all...] |