Searched refs:isEqualScript (Results 1 – 3 of 3) sorted by relevance
105 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()
44 return !isUnsupported() && isEqualScript(other) && mLanguage == other.mLanguage;54 bool isEqualScript(const FontLanguage& other) const;
125 bool FontLanguage::isEqualScript(const FontLanguage& other) const { in isEqualScript() function in android::FontLanguage144 if (isEqualScript(supported[i]) || in calcScoreFor()