Home
last modified time | relevance | path

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

/frameworks/minikin/tests/stresstest/
DFontFamilyTest.cpp41 hb_font_t* hbFont = getHbFontLocked(font.get()); in TEST_P() local
46 static_cast<bool>(hb_font_get_glyph(hbFont, codePoint, 0 /* variation selector */, in TEST_P()
58 static_cast<bool>(hb_font_get_glyph(hbFont, codePoint, vs, &unusedGlyph))) in TEST_P()
63 << 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.cpp740 HyphenEdit hyphenEdit, hb_font_t* hbFont) { in addToHbBuffer() argument
768 addHyphenToHbBuffer(buffer, hbFont, startHyphen, 0 /* cluster value */); in addToHbBuffer()
828 addHyphenToHbBuffer(buffer, hbFont, endHyphen, hyphenCluster); in addToHbBuffer()
874 hb_font_t* hbFont = ctx->hbFonts[font_ix]; in doLayoutRun() local
879 hb_font_set_ppem(hbFont, size * scaleX, size); in doLayoutRun()
880 hb_font_set_scale(hbFont, HBFloatToFixed(size * scaleX), HBFloatToFixed(size)); in doLayoutRun()
882 const bool is_color_bitmap_font = isColorBitmapFont(hbFont); in doLayoutRun()
938 ctx->paint.hyphenEdit, hbFont); in doLayoutRun()
940 hb_shape(hbFont, buffer, features.empty() ? NULL : &features[0], features.size()); in doLayoutRun()
985 if (is_color_bitmap_font && hb_font_get_glyph_extents(hbFont, glyph_ix, &extents)) { in doLayoutRun()