Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DFontCollection.cpp263 std::vector<std::shared_ptr<FontCollection>> fontCollections; in readVector() local
264 fontCollections.reserve(count); in readVector()
266 fontCollections.emplace_back(new FontCollection(reader, allFontFamilies)); in readVector()
268 return fontCollections; in readVector()
273 BufferWriter* writer, const std::vector<std::shared_ptr<FontCollection>>& fontCollections) { in writeVector() argument
277 collectAllFontFamilies(fontCollections, &allFontFamilies, &fontFamilyToIndexMap); in writeVector()
280 writer->write<uint32_t>(fontCollections.size()); in writeVector()
281 for (const auto& fontCollection : fontCollections) { in writeVector()
288 const std::vector<std::shared_ptr<FontCollection>>& fontCollections, in collectAllFontFamilies() argument
291 for (const auto& fontCollection : fontCollections) { in collectAllFontFamilies()
/frameworks/base/libs/hwui/jni/
DTypeface.cpp309 std::vector<std::shared_ptr<minikin::FontCollection>> fontCollections; in Typeface_writeTypefaces() local
312 bool inserted = fcToIndex.emplace(typeface->fFontCollection, fontCollections.size()).second; in Typeface_writeTypefaces()
314 fontCollections.push_back(typeface->fFontCollection); in Typeface_writeTypefaces()
317 minikin::FontCollection::writeVector(&writer, fontCollections); in Typeface_writeTypefaces()
340 std::vector<std::shared_ptr<minikin::FontCollection>> fontCollections = in Typeface_readTypefaces() local
347 typeface->fFontCollection = fontCollections[reader.read<uint32_t>()]; in Typeface_readTypefaces()
/frameworks/minikin/include/minikin/
DFontCollection.h65 const std::vector<std::shared_ptr<FontCollection>>& fontCollections);
216 const std::vector<std::shared_ptr<FontCollection>>& fontCollections,