Home
last modified time | relevance | path

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

/frameworks/minikin/include/minikin/
DFontCollection.h52 std::vector<std::shared_ptr<FontCollection>> fontCollections; in readVector() local
53 fontCollections.reserve(fontCollectionsCount); in readVector()
55 fontCollections.emplace_back(new FontCollection(reader, allFontFamilies)); in readVector()
57 return fontCollections; in readVector()
62 const std::vector<std::shared_ptr<FontCollection>>& fontCollections) { in writeVector() argument
66 collectAllFontFamilies(fontCollections, &allFontFamilies, &fontFamilyToIndexMap); in writeVector()
72 writer->write<uint32_t>(fontCollections.size()); in writeVector()
73 for (const auto& fontCollection : fontCollections) { in writeVector()
211 const std::vector<std::shared_ptr<FontCollection>>& fontCollections,
/frameworks/base/libs/hwui/jni/
DTypeface.cpp305 std::vector<std::shared_ptr<minikin::FontCollection>> fontCollections; in Typeface_writeTypefaces() local
308 bool inserted = fcToIndex.emplace(typeface->fFontCollection, fontCollections.size()).second; in Typeface_writeTypefaces()
310 fontCollections.push_back(typeface->fFontCollection); in Typeface_writeTypefaces()
313 minikin::FontCollection::writeVector<writeMinikinFontSkia>(&writer, fontCollections); in Typeface_writeTypefaces()
328 std::vector<std::shared_ptr<minikin::FontCollection>> fontCollections = in Typeface_readTypefaces() local
335 typeface->fFontCollection = fontCollections[reader.read<uint32_t>()]; in Typeface_readTypefaces()
/frameworks/minikin/libs/minikin/
DFontCollection.cpp177 const std::vector<std::shared_ptr<FontCollection>>& fontCollections, in collectAllFontFamilies() argument
180 for (const auto& fontCollection : fontCollections) { in collectAllFontFamilies()