Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DFontCollection.cpp65 std::vector<std::shared_ptr<FontFamily>> typefaces; in FontCollection() local
66 typefaces.push_back(typeface); in FontCollection()
67 init(typefaces); in FontCollection()
70 FontCollection::FontCollection(const vector<std::shared_ptr<FontFamily>>& typefaces) : mMaxChar(0) { in FontCollection() argument
71 init(typefaces); in FontCollection()
74 void FontCollection::init(const vector<std::shared_ptr<FontFamily>>& typefaces) { in init() argument
77 size_t nTypefaces = typefaces.size(); in init()
80 const std::shared_ptr<FontFamily>& family = typefaces[i]; in init()
/frameworks/base/libs/hwui/jni/
DTypeface.cpp298 std::vector<Typeface*> typefaces; in Typeface_writeTypefaces() local
299 typefaces.reserve(faces.size()); in Typeface_writeTypefaces()
301 typefaces.push_back(toTypeface(faces[i])); in Typeface_writeTypefaces()
307 for (Typeface* typeface : typefaces) { in Typeface_writeTypefaces()
314 writer.write<uint32_t>(typefaces.size()); in Typeface_writeTypefaces()
315 for (Typeface* typeface : typefaces) { in Typeface_writeTypefaces()
/frameworks/minikin/include/minikin/
DFontCollection.h40 explicit FontCollection(const std::vector<std::shared_ptr<FontFamily>>& typefaces);
229 void init(const std::vector<std::shared_ptr<FontFamily>>& typefaces);