Home
last modified time | relevance | path

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

/frameworks/minikin/tests/unittest/
DFontFamilyTest.cpp160 EXPECT_TRUE(createLocale("en").isEqualScript(createLocale("en"))); in TEST()
161 EXPECT_TRUE(createLocale("en-Latn").isEqualScript(createLocale("en"))); in TEST()
162 EXPECT_TRUE(createLocale("jp-Latn").isEqualScript(createLocale("en-Latn"))); in TEST()
163 EXPECT_TRUE(createLocale("en-Jpan").isEqualScript(createLocale("en-Jpan"))); in TEST()
165 EXPECT_FALSE(createLocale("en-Jpan").isEqualScript(createLocale("en-Hira"))); in TEST()
166 EXPECT_FALSE(createLocale("en-Jpan").isEqualScript(createLocale("en-Hani"))); in TEST()
/frameworks/minikin/libs/minikin/
DLocale.h99 return !isUnsupported() && isEqualScript(other) && mLanguage == other.mLanguage &&
122 bool isEqualScript(const Locale& other) const;
DLocale.cpp431 bool Locale::isEqualScript(const Locale& other) const { in isEqualScript() function in minikin::Locale
460 if (isEqualScript(supported[i]) || in calcScoreFor()