Searched refs:FontLanguages (Results 1 – 10 of 10) sorted by relevance
30 class FontLanguages; variable65 int calcScoreFor(const FontLanguages& supported) const;70 friend class FontLanguages; // for FontLanguages constructor99 class FontLanguages {101 FontLanguages(std::vector<FontLanguage>&& languages);102 FontLanguages() : mUnionOfSubScriptBits(0), mIsAllTheSameLanguage(false) {} in FontLanguages() function103 FontLanguages(FontLanguages&&) = default;120 FontLanguages(const FontLanguages&) = delete;121 void operator=(const FontLanguages&) = delete;
39 static const FontLanguages& getById(uint32_t id);48 std::vector<FontLanguages> mLanguageLists;
141 int FontLanguage::calcScoreFor(const FontLanguages& supported) const { in calcScoreFor()167 FontLanguages::FontLanguages(std::vector<FontLanguage>&& languages) in FontLanguages() function in android::FontLanguages
124 FontLanguages fontLanguages(parseLanguageList(languages)); in getId()134 const FontLanguages& FontLanguageListCache::getById(uint32_t id) { in getById()149 instance->mLanguageLists.push_back(FontLanguages()); in getInstance()
216 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()
163 const FontLanguages& languageList = FontLanguageListCache::getById(mLangId); in isColorEmojiFamily()
777 const FontLanguages& langList = in doLayoutRun()
33 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 …]
59 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()
32 using android::FontLanguages;78 const FontLanguages& registerAndGetFontLanguages(const std::string& lang_string) { in registerAndGetFontLanguages()