Home
last modified time | relevance | path

Searched refs:FontLanguages (Results 1 – 10 of 10) sorted by relevance

/frameworks/minikin/libs/minikin/
DFontLanguage.h30 class FontLanguages; variable
65 int calcScoreFor(const FontLanguages& supported) const;
70 friend class FontLanguages; // for FontLanguages constructor
99 class FontLanguages {
101 FontLanguages(std::vector<FontLanguage>&& languages);
102 FontLanguages() : mUnionOfSubScriptBits(0), mIsAllTheSameLanguage(false) {} in FontLanguages() function
103 FontLanguages(FontLanguages&&) = default;
120 FontLanguages(const FontLanguages&) = delete;
121 void operator=(const FontLanguages&) = delete;
DFontLanguageListCache.h39 static const FontLanguages& getById(uint32_t id);
48 std::vector<FontLanguages> mLanguageLists;
DFontLanguage.cpp141 int FontLanguage::calcScoreFor(const FontLanguages& supported) const { in calcScoreFor()
167 FontLanguages::FontLanguages(std::vector<FontLanguage>&& languages) in FontLanguages() function in android::FontLanguages
DFontLanguageListCache.cpp124 FontLanguages fontLanguages(parseLanguageList(languages)); in getId()
134 const FontLanguages& FontLanguageListCache::getById(uint32_t id) { in getById()
149 instance->mLanguageLists.push_back(FontLanguages()); in getInstance()
DFontCollection.cpp216 const FontLanguages& langs = FontLanguageListCache::getById(fontFamily->langId()); in calcCoverageScore()
252 const FontLanguages& langList = FontLanguageListCache::getById(userLangListId); in calcLanguageMatchingScore()
253 const FontLanguages& fontLanguages = FontLanguageListCache::getById(fontFamily.langId()); in calcLanguageMatchingScore()
DFontFamily.cpp163 const FontLanguages& languageList = FontLanguageListCache::getById(mLangId); in isColorEmojiFamily()
DLayout.cpp777 const FontLanguages& langList = in doLayoutRun()
/frameworks/minikin/tests/
DFontFamilyTest.cpp33 static const FontLanguages& createFontLanguages(const std::string& input) { in createFontLanguages()
216 FontLanguages emptyLangs; in TEST_F()
220 const FontLanguages& singletonLangs = createFontLanguages("en"); in TEST_F()
225 const FontLanguages& twoLangs = createFontLanguages("en,fr"); in TEST_F()
232 const FontLanguages& oneUnsupported = createFontLanguages("abcd-example"); in TEST_F()
235 const FontLanguages& twoUnsupporteds = createFontLanguages("abcd-example,abcd-example"); in TEST_F()
239 const FontLanguages& firstUnsupported = createFontLanguages("abcd-example,en"); in TEST_F()
243 const FontLanguages& lastUnsupported = createFontLanguages("en,abcd-example"); in TEST_F()
254 const FontLanguages& langs = createFontLanguages("en,en-Latn"); in TEST_F()
259 const FontLanguages& fr = createFontLanguages("fr,fr-CA,fr-FR"); in TEST_F()
[all …]
DFontLanguageListCacheTest.cpp59 const FontLanguages& defLangs = FontLanguageListCache::getById(0); in TEST_F()
62 const FontLanguages& langs = FontLanguageListCache::getById(FontLanguageListCache::getId("en")); in TEST_F()
66 const FontLanguages& langs2 = in TEST_F()
DFontCollectionItemizeTest.cpp32 using android::FontLanguages;
78 const FontLanguages& registerAndGetFontLanguages(const std::string& lang_string) { in registerAndGetFontLanguages()