Home
last modified time | relevance | path

Searched refs:descent (Results 1 – 25 of 56) sorted by relevance

123

/external/icu/icu4c/source/samples/layout/
DFontMap.cpp260 le_int32 ascent, descent, leading; in getMaxMetrics() local
271 descent = fFontInstances[i]->getDescent(); in getMaxMetrics()
278 if (descent > fDescent) { in getMaxMetrics()
279 fDescent = descent; in getMaxMetrics()
Dparagraph.cpp88 le_int32 descent = 0; in Paragraph() local
134 if (pDescent > descent) { in Paragraph()
135 descent = pDescent; in Paragraph()
157 fLineHeight = ascent + descent + leading; in Paragraph()
Dpflow.c112 le_int32 descent = 0; in pf_create() local
190 if (pDescent > descent) { in pf_create()
191 descent = pDescent; in pf_create()
213 flow->fLineHeight = ascent + descent + leading; in pf_create()
Dsfnt.h189 le_int16 descent; member
/external/mesa3d/src/mesa/drivers/x11/
Dxfonts.c57 prefix, ch->ascent, ch->descent, (unsigned int) ch->attributes); in dump_char_struct()
63 printf("ascent = %d, descent = %d\n", font->ascent, font->descent); in dump_font_struct()
246 max_height = fs->max_bounds.ascent + fs->max_bounds.descent; in Fake_glXUseXFont()
328 height = ch->ascent + ch->descent; in Fake_glXUseXFont()
330 y0 = ch->descent - 0; /* XXX used to subtract 1 here */ in Fake_glXUseXFont()
/external/mesa3d/src/glx/
Dxfont.c56 prefix, ch->ascent, ch->descent, (unsigned int) ch->attributes); in dump_char_struct()
62 printf("ascent = %d, descent = %d\n", font->ascent, font->descent); in dump_font_struct()
244 max_height = fs->max_bounds.ascent + fs->max_bounds.descent; in DRI_glXUseXFont()
325 height = ch->ascent + ch->descent; in DRI_glXUseXFont()
327 y0 = ch->descent - 1; in DRI_glXUseXFont()
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dglx_usefont.c50 prefix, ch->ascent, ch->descent, (unsigned int) ch->attributes); in dump_char_struct()
56 printf("ascent = %d, descent = %d\n", font->ascent, font->descent); in dump_font_struct()
240 max_height = fs->max_bounds.ascent + fs->max_bounds.descent; in glXUseXFont()
322 height = ch->ascent + ch->descent; in glXUseXFont()
324 y0 = ch->descent - 0; /* XXX used to subtract 1 here */ in glXUseXFont()
/external/harfbuzz_ng/util/
Dview-cairo.cc47 double descent = y_sign * -scalbn ((double) extents.descender, scale_bits); in render() local
89 y_sign < 0 ? descent : ascent); in render()
/external/icu/icu4c/source/layoutex/
DParagraphLayout.cpp832 le_int32 descent = font->getDescent(); in computeMetrics() local
834 le_int32 dl = descent + leading; in computeMetrics()
840 if (descent > fDescent) { in computeMetrics()
841 fDescent = descent; in computeMetrics()
1243 le_int32 descent = fRuns[i]->getDescent(); in computeMetrics() local
1245 le_int32 dl = descent + leading; in computeMetrics()
1251 if (descent > fDescent) { in computeMetrics()
1252 fDescent = descent; in computeMetrics()
/external/skia/src/animator/
DSkDrawPaint.cpp22 SK_PROPERTY(descent)
39 SK_MEMBER_PROPERTY(descent, Float),
185 case SK_PROPERTY(descent): in getProperty()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DFontUtils.java31 return (-metrics.ascent) + metrics.descent; in getFontHeight()
/external/skia/src/ports/
DSkTypeface_win_dw.cpp374 info->fDescent = dwfm.descent; in onGetAdvancedTypefaceMetrics()
385 info->fDescent = dwfm.descent; in onGetAdvancedTypefaceMetrics()
415 info->fDescent = SkToS16(dwfm.descent); in onGetAdvancedTypefaceMetrics()
DSkFontHost_FreeType.cpp1321 SkScalar ascent, descent, leading, xmin, xmax, ymin, ymax; in generateFontMetrics() local
1331 descent = -SkIntToScalar(os2->sTypoDescender) / upem; in generateFontMetrics()
1335 descent = -SkIntToScalar(face->descender) / upem; in generateFontMetrics()
1366 descent = -SkIntToScalar(face->size->metrics.descender) / (yppem * 64.0f); in generateFontMetrics()
1368 + ascent - descent; in generateFontMetrics()
1371 ymin = descent + leading; in generateFontMetrics()
1372 ymax = ascent - descent; in generateFontMetrics()
1404 metrics->fDescent = descent * scale; in generateFontMetrics()
/external/skia/resources/
Dslides.lua66 local height = #slide * (fm.descent - fm.ascent)
72 y = y + fm.descent * scale
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/widget/
DTextLabelWidget.java110 float vOffset = labelPaint.getFontMetrics().descent; in doOnDraw()
/external/icu/icu4c/source/test/perf/leperf/
DFontObject.h152 le_int16 descent; member
Dsfnt.h326 le_int16 descent; member
/external/icu/icu4c/source/test/letest/
DFontObject.h152 le_int16 descent; member
Dsfnt.h326 le_int16 descent; member
/external/fonttools/Lib/fontTools/ttLib/
DmacUtils.py163 fond.ffDescent = scale * self.ttFont['hhea'].descent
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/
DTerminalBridge.java419 charHeight = (int) Math.ceil(fm.descent - fm.top); in setFontSize()
725 int termHeight = (int) Math.ceil(fm.descent - fm.top) * rows; in fontSizeCompare()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DColorsActivity.java205 result = (int) (-mAscent + mTextPaint.descent()) + getPaddingTop() + getPaddingBottom(); in measureHeight()
/external/replicaisland/src/com/replica/replicaisland/
DConversationDialogActivity.java101 final float fontHeight = -paint.ascent() + paint.descent(); in formatPages()
/external/sfntly/cpp/src/sfntly/table/core/
Dos2_table.cc548 void OS2Table::Builder::SetUsWinDescent(int32_t descent) { in SetUsWinDescent() argument
549 InternalWriteData()->WriteUShort(Offset::kUsWinDescent, descent); in SetUsWinDescent()
/external/antlr/antlr-3.4/tool/
DREADME.txt93 and generates LL(*) recursive-descent parsers. ANTLR is a language tool

123