Home
last modified time | relevance | path

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

/frameworks/minikin/sample/
DMinikinSkia.cpp25 float MinikinFontSkia::GetHorizontalAdvance(uint32_t glyph_id, in GetHorizontalAdvance() argument
28 uint16_t glyph16 = glyph_id; in GetHorizontalAdvance()
33 ALOGD("width for typeface %d glyph %d = %f", mTypeface->uniqueID(), glyph_id in GetHorizontalAdvance()
38 void MinikinFontSkia::GetBounds(MinikinRect* bounds, uint32_t glyph_id,
41 uint16_t glyph16 = glyph_id;
DMinikinSkia.h9 float GetHorizontalAdvance(uint32_t glyph_id,
12 void GetBounds(MinikinRect* bounds, uint32_t glyph_id,
/frameworks/minikin/libs/minikin/
DMinikinFontFreeType.cpp41 float MinikinFontFreeType::GetHorizontalAdvance(uint32_t glyph_id, in GetHorizontalAdvance() argument
46 FT_Get_Advance(mTypeface, glyph_id, flags, &advance); in GetHorizontalAdvance()
75 bool MinikinFontFreeType::Render(uint32_t glyph_id, const MinikinPaint& /* paint */, in Render() argument
79 error = FT_Load_Glyph(mTypeface, glyph_id, load_flags); in Render()
DLayout.cpp329 std::cout << glyph.glyph_id << ": " << glyph.x << ", " << glyph.y << std::endl; in dump()
879 unsigned int glyph_id = srcGlyph.glyph_id; in appendLayout() local
882 LayoutGlyph glyph = {font_ix, glyph_id, x, y}; in appendLayout()
914 bool ok = face->Render(glyph.glyph_id, paint, &glyphBitmap); in draw()
942 return glyph.glyph_id; in getGlyphId()
/frameworks/base/libs/hwui/hwui/
DMinikinSkia.cpp45 float MinikinFontSkia::GetHorizontalAdvance(uint32_t glyph_id, in GetHorizontalAdvance() argument
48 uint16_t glyph16 = glyph_id; in GetHorizontalAdvance()
53 ALOGD("width for typeface %d glyph %d = %f", mTypeface->uniqueID(), glyph_id, skWidth); in GetHorizontalAdvance()
58 void MinikinFontSkia::GetBounds(MinikinRect* bounds, uint32_t glyph_id, in GetBounds() argument
61 uint16_t glyph16 = glyph_id; in GetBounds()
DMinikinSkia.h36 float GetHorizontalAdvance(uint32_t glyph_id,
39 void GetBounds(MinikinRect* bounds, uint32_t glyph_id,
/frameworks/minikin/include/minikin/
DMinikinFontFreeType.h45 float GetHorizontalAdvance(uint32_t glyph_id,
48 void GetBounds(MinikinRect* bounds, uint32_t glyph_id,
58 bool Render(uint32_t glyph_id,
DMinikinFont.h106 virtual float GetHorizontalAdvance(uint32_t glyph_id,
109 virtual void GetBounds(MinikinRect* bounds, uint32_t glyph_id,
DLayout.h56 unsigned int glyph_id; member
/frameworks/minikin/tests/
DMinikinFontForTest.h31 float GetHorizontalAdvance(uint32_t glyph_id, const android::MinikinPaint &paint) const;
32 void GetBounds(android::MinikinRect* bounds, uint32_t glyph_id,