Home
last modified time | relevance | path

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

/frameworks/minikin/tests/
DFontFamilyTest.cpp105 EXPECT_TRUE(createFontLanguage("en").isEqualScript(createFontLanguage("en"))); in TEST_F()
106 EXPECT_TRUE(createFontLanguage("en-Latn").isEqualScript(createFontLanguage("en"))); in TEST_F()
107 EXPECT_TRUE(createFontLanguage("jp-Latn").isEqualScript(createFontLanguage("en-Latn"))); in TEST_F()
108 EXPECT_TRUE(createFontLanguage("en-Jpan").isEqualScript(createFontLanguage("en-Jpan"))); in TEST_F()
110 EXPECT_FALSE(createFontLanguage("en-Jpan").isEqualScript(createFontLanguage("en-Hira"))); in TEST_F()
111 EXPECT_FALSE(createFontLanguage("en-Jpan").isEqualScript(createFontLanguage("en-Hani"))); in TEST_F()
/frameworks/minikin/libs/minikin/
DFontLanguage.h44 return !isUnsupported() && isEqualScript(other) && mLanguage == other.mLanguage;
54 bool isEqualScript(const FontLanguage& other) const;
DFontLanguage.cpp125 bool FontLanguage::isEqualScript(const FontLanguage& other) const { in isEqualScript() function in android::FontLanguage
144 if (isEqualScript(supported[i]) || in calcScoreFor()