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

/frameworks/minikin/libs/minikin/
H A DFontLanguage.h30 class FontLanguages;
65 int calcScoreFor(const FontLanguages& supported) const;
70 friend class FontLanguages; // for FontLanguages constructor
99 class FontLanguages { class in namespace:android
101 FontLanguages(std::vector<FontLanguage>&& languages);
102 FontLanguages() : mUnionOfSubScriptBits(0), mIsAllTheSameLanguage(false) {} function in class:android::FontLanguages
103 FontLanguages(FontLanguages&&) = default;
120 FontLanguages(cons
[all...]
H A DFontLanguageListCache.h34 // Returns language list ID for the given string representation of FontLanguages.
39 static const FontLanguages& getById(uint32_t id);
48 std::vector<FontLanguages> mLanguageLists;
H A DFontLanguage.cpp141 int FontLanguage::calcScoreFor(const FontLanguages& supported) const {
167 FontLanguages::FontLanguages(std::vector<FontLanguage>&& languages) function in class:android::FontLanguages
H A DFontLanguageListCache.cpp124 FontLanguages fontLanguages(parseLanguageList(languages));
134 const FontLanguages& FontLanguageListCache::getById(uint32_t id) {
149 instance->mLanguageLists.push_back(FontLanguages());
H A DFontCollection.cpp216 const FontLanguages& langs = FontLanguageListCache::getById(fontFamily->langId());
252 const FontLanguages& langList = FontLanguageListCache::getById(userLangListId);
253 const FontLanguages& fontLanguages = FontLanguageListCache::getById(fontFamily.langId());
H A DFontFamily.cpp163 const FontLanguages& languageList = FontLanguageListCache::getById(mLangId);
H A DLayout.cpp777 const FontLanguages& langList =
/frameworks/minikin/tests/
H A DFontLanguageListCacheTest.cpp59 const FontLanguages& defLangs = FontLanguageListCache::getById(0);
62 const FontLanguages& langs = FontLanguageListCache::getById(FontLanguageListCache::getId("en"));
66 const FontLanguages& langs2 =
H A DFontFamilyTest.cpp33 static const FontLanguages& createFontLanguages(const std::string& input) {
216 FontLanguages emptyLangs;
220 const FontLanguages& singletonLangs = createFontLanguages("en");
225 const FontLanguages& twoLangs = createFontLanguages("en,fr");
232 const FontLanguages& oneUnsupported = createFontLanguages("abcd-example");
235 const FontLanguages& twoUnsupporteds = createFontLanguages("abcd-example,abcd-example");
239 const FontLanguages& firstUnsupported = createFontLanguages("abcd-example,en");
243 const FontLanguages& lastUnsupported = createFontLanguages("en,abcd-example");
254 const FontLanguages& langs = createFontLanguages("en,en-Latn");
259 const FontLanguages
[all...]
H A DFontCollectionItemizeTest.cpp32 using android::FontLanguages;
77 // Utility function to obtain FontLanguages from string.
78 const FontLanguages& registerAndGetFontLanguages(const std::string& lang_string) {

Completed in 90 milliseconds