Home
last modified time | relevance | path

Searched refs:glyph_id (Results 1 – 9 of 9) sorted by relevance

/frameworks/minikin/libs/minikin/
DMinikinFontFreeType.cpp47 float MinikinFontFreeType::GetHorizontalAdvance(uint32_t glyph_id, in GetHorizontalAdvance() argument
52 FT_Error error = FT_Get_Advance(mTypeface, glyph_id, flags, &advance); in GetHorizontalAdvance()
56 void MinikinFontFreeType::GetBounds(MinikinRect* bounds, uint32_t glyph_id, in GetBounds() argument
75 bool MinikinFontFreeType::Render(uint32_t glyph_id, in Render() argument
79 error = FT_Load_Glyph(mTypeface, glyph_id, load_flags); in Render()
DLayout.cpp312 uint32_t glyph_id; in harfbuzzGetGlyph() local
319 bool ok = font->GetGlyph(unicode, &glyph_id); in harfbuzzGetGlyph()
321 *glyph = glyph_id; in harfbuzzGetGlyph()
385 std::cout << glyph.glyph_id << ": " << glyph.x << ", " << glyph.y << std::endl; in dump()
788 unsigned int glyph_id = srcGlyph.glyph_id; in appendLayout() local
791 LayoutGlyph glyph = {font_ix, glyph_id, x, y}; in appendLayout()
823 bool ok = face->Render(glyph.glyph_id, paint, &glyphBitmap); in draw()
849 return glyph.glyph_id; in getGlyphId()
/frameworks/minikin/sample/
DMinikinSkia.cpp35 float MinikinFontSkia::GetHorizontalAdvance(uint32_t glyph_id, in GetHorizontalAdvance() argument
38 uint16_t glyph16 = glyph_id; in GetHorizontalAdvance()
43 ALOGD("width for typeface %d glyph %d = %f", mTypeface->uniqueID(), glyph_id in GetHorizontalAdvance()
48 void MinikinFontSkia::GetBounds(MinikinRect* bounds, uint32_t glyph_id,
51 uint16_t glyph16 = glyph_id;
DMinikinSkia.h11 float GetHorizontalAdvance(uint32_t glyph_id,
14 void GetBounds(MinikinRect* bounds, uint32_t glyph_id,
/frameworks/minikin/include/minikin/
DMinikinFontFreeType.h47 float GetHorizontalAdvance(uint32_t glyph_id,
50 void GetBounds(MinikinRect* bounds, uint32_t glyph_id,
61 bool Render(uint32_t glyph_id,
DMinikinFont.h87 virtual float GetHorizontalAdvance(uint32_t glyph_id,
90 virtual void GetBounds(MinikinRect* bounds, uint32_t glyph_id,
DLayout.h52 unsigned int glyph_id; member
/frameworks/base/core/jni/android/graphics/
DMinikinSkia.cpp55 float MinikinFontSkia::GetHorizontalAdvance(uint32_t glyph_id, in GetHorizontalAdvance() argument
58 uint16_t glyph16 = glyph_id; in GetHorizontalAdvance()
63 ALOGD("width for typeface %d glyph %d = %f", mTypeface->uniqueID(), glyph_id, skWidth); in GetHorizontalAdvance()
68 void MinikinFontSkia::GetBounds(MinikinRect* bounds, uint32_t glyph_id, in GetBounds() argument
71 uint16_t glyph16 = glyph_id; in GetBounds()
DMinikinSkia.h33 float GetHorizontalAdvance(uint32_t glyph_id,
36 void GetBounds(MinikinRect* bounds, uint32_t glyph_id,