HomeSort by relevance Sort by last modified time
    Searched refs:FontLanguages (Results 1 - 10 of 10) sorted by null

  /frameworks/minikin/libs/minikin/
FontLanguage.h 34 class FontLanguages;
84 int calcScoreFor(const FontLanguages& supported) const;
92 friend class FontLanguages; // for FontLanguages constructor
131 class FontLanguages {
133 explicit FontLanguages(std::vector<FontLanguage>&& languages);
134 FontLanguages() : mUnionOfSubScriptBits(0), mIsAllTheSameLanguage(false) {}
135 FontLanguages(FontLanguages&&) = default;
152 FontLanguages(const FontLanguages&) = delete
    [all...]
FontLanguageListCache.h 34 // Returns language list ID for the given string representation of FontLanguages.
39 static const FontLanguages& getById(uint32_t id);
48 std::vector<FontLanguages> mLanguageLists;
FontLanguageListCache.cpp 125 FontLanguages fontLanguages(parseLanguageList(languages));
126 if (fontLanguages.empty()) {
129 inst->mLanguageLists.push_back(std::move(fontLanguages));
135 const FontLanguages& FontLanguageListCache::getById(uint32_t id) {
150 instance->mLanguageLists.push_back(FontLanguages());
FontLanguage.cpp 287 int FontLanguage::calcScoreFor(const FontLanguages& supported) const {
326 FontLanguages::FontLanguages(std::vector<FontLanguage>&& languages)
FontCollection.cpp 190 const FontLanguages& langs = FontLanguageListCache::getById(fontFamily->langId());
228 const FontLanguages& langList = FontLanguageListCache::getById(userLangListId);
229 const FontLanguages& fontLanguages = FontLanguageListCache::getById(fontFamily.langId());
234 score = score * 5u + langList[i].calcScoreFor(fontLanguages);
FontFamily.cpp 159 const FontLanguages& languageList = FontLanguageListCache::getById(mLangId);
Layout.cpp     [all...]
  /frameworks/minikin/tests/unittest/
FontLanguageListCacheTest.cpp 59 const FontLanguages& defLangs = FontLanguageListCache::getById(0);
62 const FontLanguages& langs = FontLanguageListCache::getById(FontLanguageListCache::getId("en"));
66 const FontLanguages& langs2 =
FontFamilyTest.cpp 32 static const FontLanguages& createFontLanguages(const std::string& input) {
265 FontLanguages emptyLangs;
269 const FontLanguages& singletonLangs = createFontLanguages("en");
274 const FontLanguages& twoLangs = createFontLanguages("en,fr");
281 const FontLanguages& oneUnsupported = createFontLanguages("abcd-example");
284 const FontLanguages& twoUnsupporteds = createFontLanguages("abcd-example,abcd-example");
288 const FontLanguages& firstUnsupported = createFontLanguages("abcd-example,en");
292 const FontLanguages& lastUnsupported = createFontLanguages("en,abcd-example");
304 const FontLanguages& langs = createFontLanguages("en,en-Latn");
308 const FontLanguages& fr = createFontLanguages("fr,fr-FR,fr-Latn-FR")
    [all...]
FontCollectionItemizeTest.cpp 73 // Utility function to obtain FontLanguages from string.
74 const FontLanguages& registerAndGetFontLanguages(const std::string& lang_string) {
697 std::vector<std::string> fontLanguages;
    [all...]

Completed in 61 milliseconds