Home
last modified time | relevance | path

Searched refs:hbFont (Results 1 – 3 of 3) sorted by relevance

/frameworks/minikin/tests/stresstest/
DFontFamilyTest.cpp43 hb_font_t* hbFont = family->getFont(0)->baseFont().get(); in TEST_P() local
48 static_cast<bool>(hb_font_get_glyph(hbFont, codePoint, 0 /* variation selector */, in TEST_P()
60 static_cast<bool>(hb_font_get_glyph(hbFont, codePoint, vs, &unusedGlyph))) in TEST_P()
64 << static_cast<bool>(hb_font_get_glyph(hbFont, codePoint, vs, &unusedGlyph)); in TEST_P()
67 hb_font_destroy(hbFont); in TEST_P()
/frameworks/base/core/jni/android/graphics/
DHarfBuzzNGFaceSkia.cpp83 static hb_bool_t harfbuzzGetGlyph(hb_font_t* hbFont, void* fontData, hb_codepoint_t unicode, hb_cod… in harfbuzzGetGlyph() argument
100 static hb_position_t harfbuzzGetGlyphHorizontalAdvance(hb_font_t* hbFont, void* fontData, hb_codepo… in harfbuzzGetGlyphHorizontalAdvance() argument
109 static hb_bool_t harfbuzzGetGlyphHorizontalOrigin(hb_font_t* hbFont, void* fontData, hb_codepoint_t… in harfbuzzGetGlyphHorizontalOrigin() argument
116 static hb_bool_t harfbuzzGetGlyphExtents(hb_font_t* hbFont, void* fontData, hb_codepoint_t glyph, h… in harfbuzzGetGlyphExtents() argument
/frameworks/minikin/libs/minikin/
DLayout.cpp485 const HbFontUniquePtr& hbFont) { in addToHbBuffer() argument
510 addHyphenToHbBuffer(buffer, hbFont, startHyphen, 0 /* cluster */); in addToHbBuffer()
570 addHyphenToHbBuffer(buffer, hbFont, endHyphen, hyphenCluster); in addToHbBuffer()
621 const HbFontUniquePtr& hbFont = hbFonts[font_ix]; in doLayoutRun() local
627 hb_font_set_ppem(hbFont.get(), size * scaleX, size); in doLayoutRun()
628 hb_font_set_scale(hbFont.get(), HBFloatToFixed(size * scaleX), HBFloatToFixed(size)); in doLayoutRun()
630 const bool is_color_bitmap_font = isColorBitmapFont(hbFont); in doLayoutRun()
682 startHyphen, endHyphen, hbFont); in doLayoutRun()
684 hb_shape(hbFont.get(), buffer.get(), features.empty() ? NULL : &features[0], in doLayoutRun()
723 hb_font_get_glyph_extents(hbFont.get(), glyph_ix, &extents)) { in doLayoutRun()