Home
last modified time | relevance | path

Searched refs:ascent (Results 1 – 25 of 36) sorted by relevance

12

/external/icu/icu4c/source/samples/layout/
Dparagraph.cpp87 le_int32 ascent = 0; in Paragraph() local
130 if (pAscent > ascent) { in Paragraph()
131 ascent = pAscent; in Paragraph()
157 fLineHeight = ascent + descent + leading; in Paragraph()
158 fAscent = ascent; in Paragraph()
DFontMap.cpp260 le_int32 ascent, descent, leading; in getMaxMetrics() local
270 ascent = fFontInstances[i]->getAscent(); in getMaxMetrics()
274 if (ascent > fAscent) { in getMaxMetrics()
275 fAscent = ascent; in getMaxMetrics()
Dpflow.c111 le_int32 ascent = 0; in pf_create() local
186 if (pAscent > ascent) { in pf_create()
187 ascent = pAscent; in pf_create()
213 flow->fLineHeight = ascent + descent + leading; in pf_create()
214 flow->fAscent = ascent; in pf_create()
Dsfnt.h188 le_int16 ascent; 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()
337 y = ch->ascent; 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()
333 y = ch->ascent; 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()
331 y = ch->ascent; in glXUseXFont()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
DHolidayBorderPanel.java417 int ascent = fm.getAscent(); in paint() local
428 if (ascent > thickness) in paint()
429 adjustment = (ascent - thickness) / 2; in paint()
478 g.drawString(text, offset, ascent); in paint()
/external/skia/resources/
Dslides.lua66 local height = #slide * (fm.descent - fm.ascent)
70 y = y - fm.ascent * scale
82 local x_offset = -fm.ascent * node.indent * 1.25
86 draw_bullet(canvas, x + x_offset, y - fm.ascent, paint, node.indent)
/external/harfbuzz_ng/util/
Dview-cairo.cc46 double ascent = y_sign * scalbn ((double) extents.ascender, scale_bits); in render() local
89 y_sign < 0 ? descent : ascent); in render()
/external/skia/src/animator/
DSkDrawPaint.cpp21 SK_PROPERTY(ascent),
37 SK_MEMBER_PROPERTY(ascent, Float),
182 case SK_PROPERTY(ascent): in getProperty()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DFontUtils.java31 return (-metrics.ascent) + metrics.descent; in getFontHeight()
/external/freetype/include/
Dftwinfnt.h193 FT_UShort ascent; member
/external/pdfium/third_party/freetype/include/freetype/
Dftwinfnt.h193 FT_UShort ascent; member
/external/icu/icu4c/source/layoutex/
DParagraphLayout.cpp831 le_int32 ascent = font->getAscent(); in computeMetrics() local
836 if (ascent > fAscent) { in computeMetrics()
837 fAscent = ascent; in computeMetrics()
1242 le_int32 ascent = fRuns[i]->getAscent(); in computeMetrics() local
1247 if (ascent > fAscent) { in computeMetrics()
1248 fAscent = ascent; in computeMetrics()
/external/skia/src/ports/
DSkTypeface_win_dw.cpp373 info->fAscent = dwfm.ascent; in onGetAdvancedTypefaceMetrics()
384 info->fAscent = dwfm.ascent; in onGetAdvancedTypefaceMetrics()
414 info->fAscent = SkToS16(dwfm.ascent); in onGetAdvancedTypefaceMetrics()
DSkFontHost_FreeType.cpp1321 SkScalar ascent, descent, leading, xmin, xmax, ymin, ymax; in generateFontMetrics() local
1330 ascent = -SkIntToScalar(os2->sTypoAscender) / upem; in generateFontMetrics()
1334 ascent = -SkIntToScalar(face->ascender) / upem; in generateFontMetrics()
1365 ascent = -SkIntToScalar(face->size->metrics.ascender) / (yppem * 64.0f); in generateFontMetrics()
1368 + ascent - descent; in generateFontMetrics()
1372 ymax = ascent - descent; in generateFontMetrics()
1384 x_height = -ascent; in generateFontMetrics()
1390 cap_height = -ascent; in generateFontMetrics()
1403 metrics->fAscent = ascent * scale; in generateFontMetrics()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DColorsActivity.java166 mAscent = (int) mTextPaint.ascent(); in onMeasure()
199 mAscent = (int) mTextPaint.ascent(); in measureHeight()
/external/icu/icu4c/source/test/letest/
DFontObject.h151 le_int16 ascent; member
Dsfnt.h325 le_int16 ascent; member
/external/icu/icu4c/source/test/perf/leperf/
DFontObject.h151 le_int16 ascent; member
Dsfnt.h325 le_int16 ascent; member
/external/fonttools/Lib/fontTools/ttLib/
DmacUtils.py162 fond.ffAscent = scale * self.ttFont['hhea'].ascent
/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.cc540 void OS2Table::Builder::SetUsWinAscent(int32_t ascent) { in SetUsWinAscent() argument
541 InternalWriteData()->WriteUShort(Offset::kUsWinAscent, ascent); in SetUsWinAscent()

12