Searched refs:FontLanguage (Results 1 – 8 of 8) sorted by relevance
35 struct FontLanguage { struct38 FontLanguage() : mScript(0ul), mLanguage(0ul), mSubScriptBits(0ul) {} in FontLanguage() argument41 FontLanguage(const char* buf, size_t length);43 bool operator==(const FontLanguage other) const {47 bool operator!=(const FontLanguage other) const {54 bool isEqualScript(const FontLanguage& other) const; argument101 FontLanguages(std::vector<FontLanguage>&& languages); argument107 const FontLanguage& operator[] (size_t n) const { return mLanguages[n]; }110 friend struct FontLanguage; // for calcScoreFor112 std::vector<FontLanguage> mLanguages;
31 FontLanguage::FontLanguage(const char* buf, size_t length) : FontLanguage() { in FontLanguage() function in android::FontLanguage61 uint8_t FontLanguage::scriptToSubScriptBits(uint32_t script) { in scriptToSubScriptBits()105 std::string FontLanguage::getString() const { in getString()125 bool FontLanguage::isEqualScript(const FontLanguage& other) const { in isEqualScript()130 bool FontLanguage::supportsScript(uint8_t providedBits, uint8_t requestedBits) { in supportsScript()134 bool FontLanguage::supportsHbScript(hb_script_t script) const { in supportsHbScript()141 int FontLanguage::calcScoreFor(const FontLanguages& supported) const { in calcScoreFor()167 FontLanguages::FontLanguages(std::vector<FontLanguage>&& languages) in FontLanguages()173 const FontLanguage& lang = mLanguages[0]; in FontLanguages()
79 static std::vector<FontLanguage> parseLanguageList(const std::string& input) { in parseLanguageList()80 std::vector<FontLanguage> result; in parseLanguageList()91 FontLanguage lang(langTag, length); in parseLanguageList()104 FontLanguage lang(langTag, length); in parseLanguageList()
37 FontLanguage.cpp \
780 const FontLanguage* hbLanguage = &langList[0]; in doLayoutRun()
39 static FontLanguage createFontLanguage(const std::string& input) { in createFontLanguage()46 FontLanguage defaultLang; in TEST_F()47 FontLanguage emptyLang("", 0); in TEST_F()48 FontLanguage english = createFontLanguage("en"); in TEST_F()49 FontLanguage french = createFontLanguage("fr"); in TEST_F()50 FontLanguage und = createFontLanguage("und"); in TEST_F()51 FontLanguage undZsye = createFontLanguage("und-Zsye"); in TEST_F()219 FontLanguage english = createFontLanguage("en"); in TEST_F()224 FontLanguage french = createFontLanguage("fr"); in TEST_F()238 FontLanguage english = createFontLanguage("en"); in TEST_F()[all …]
56 FontLanguage english = FontLanguageListCache::getById(enLangId)[0]; in TEST_F()57 FontLanguage japanese = FontLanguageListCache::getById(jpLangId)[0]; in TEST_F()
31 using android::FontLanguage;