Home
last modified time | relevance | path

Searched refs:FamilyKey (Results 1 – 6 of 6) sorted by relevance

/third_party/flutter/skia/modules/skparagraph/include/
DFontCollection.h46 struct FamilyKey { struct
47 FamilyKey(const char family[], const char loc[], SkFontStyle style) in FamilyKey() argument
50 FamilyKey() {} in FamilyKey() argument
56 bool operator==(const FamilyKey& other) const; argument
59 size_t operator()(const FamilyKey& key) const; argument
64 SkTHashMap<FamilyKey, sk_sp<SkTypeface>, FamilyKey::Hasher> fTypefaces;
/third_party/skia/modules/skparagraph/include/
DFontCollection.h51 struct FamilyKey { struct
52 FamilyKey(const std::vector<SkString>& familyNames, SkFontStyle style) in FamilyKey() argument
55 FamilyKey() {} in FamilyKey() argument
60 bool operator==(const FamilyKey& other) const; argument
63 size_t operator()(const FamilyKey& key) const; argument
68 SkTHashMap<FamilyKey, std::vector<sk_sp<SkTypeface>>, FamilyKey::Hasher> fTypefaces;
/third_party/flutter/engine/flutter/third_party/txt/src/txt/
Dfont_collection.h93 struct FamilyKey { struct
94 FamilyKey(const std::vector<std::string>& families, const std::string& loc);
100 bool operator==(const FamilyKey& other) const; argument
103 size_t operator()(const FamilyKey& key) const; argument
111 std::unordered_map<FamilyKey,
113 FamilyKey::Hasher>
126 std::vector<FamilyKey> varied_fonts_;
Dfont_collection.cc43 FontCollection::FamilyKey::FamilyKey(const std::vector<std::string>& families, in FamilyKey() function in txt::FontCollection::FamilyKey
53 bool FontCollection::FamilyKey::operator==( in operator ==()
54 const FontCollection::FamilyKey& other) const { in operator ==()
58 size_t FontCollection::FamilyKey::Hasher::operator()( in operator ()()
59 const FontCollection::FamilyKey& key) const { in operator ()()
161 FamilyKey family_key(font_families, locale); in GetMinikinFontCollectionForFamilies()
433 FamilyKey family_key(font_families, locale); in GetMinikinFontCollectionForFamiliesWithVariation()
/third_party/flutter/skia/modules/skparagraph/src/
DFontCollection.cpp10 bool FontCollection::FamilyKey::operator==(const FontCollection::FamilyKey& other) const { in operator ==()
15 size_t FontCollection::FamilyKey::Hasher::operator()(const FontCollection::FamilyKey& key) const { in operator ()()
70 FamilyKey familyKey(familyName, "en", fontStyle); in matchTypeface()
99 FamilyKey familyKey(fDefaultFamilyName, "en", fontStyle); in matchDefaultTypeface()
/third_party/skia/modules/skparagraph/src/
DFontCollection.cpp11 bool FontCollection::FamilyKey::operator==(const FontCollection::FamilyKey& other) const { in operator ==()
15 size_t FontCollection::FamilyKey::Hasher::operator()(const FontCollection::FamilyKey& key) const { in operator ()()
79 FamilyKey familyKey(familyNames, fontStyle); in findTypefaces()