Home
last modified time | relevance | path

Searched refs:isEqualScript (Results 1 – 4 of 4) sorted by relevance

/frameworks/minikin/libs/minikin/
DLocale.h100 return !isUnsupported() && isEqualScript(other) && mLanguage == other.mLanguage &&
121 bool isEqualScript(const Locale& other) const;
DLocale.cpp453 bool Locale::isEqualScript(const Locale& other) const { in isEqualScript() function in minikin::Locale
488 if (isEqualScript(supported[i]) || in calcScoreFor()
544 if (myLocale.isEqualScript(otherLocale)) { in atLeastOneScriptMatch()
DFontCollection.cpp629 if (fontLocaleList[i].isEqualScript(locale)) { in filterFamilyByLocale()
/frameworks/minikin/tests/unittest/
DFontFamilyTest.cpp223 EXPECT_TRUE(createLocale("en").isEqualScript(createLocale("en"))); in TEST()
224 EXPECT_TRUE(createLocale("en-Latn").isEqualScript(createLocale("en"))); in TEST()
225 EXPECT_TRUE(createLocale("jp-Latn").isEqualScript(createLocale("en-Latn"))); in TEST()
226 EXPECT_TRUE(createLocale("en-Jpan").isEqualScript(createLocale("en-Jpan"))); in TEST()
228 EXPECT_FALSE(createLocale("en-Jpan").isEqualScript(createLocale("en-Hira"))); in TEST()
229 EXPECT_FALSE(createLocale("en-Jpan").isEqualScript(createLocale("en-Hani"))); in TEST()