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

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

Completed in 510 milliseconds