Searched refs:hasLanguage (Results 1 – 7 of 7) sorted by relevance
30 assertTrue(locale.hasLanguage()); in test1()38 assertTrue(locale.hasLanguage()); in test2()46 assertTrue(locale.hasLanguage()); in testEquals()63 assertFalse(Locale.ANY.hasLanguage()); in test()66 assertFalse(Locale.create(new LocaleQualifier(LocaleQualifier.FAKE_VALUE)).hasLanguage()); in test()71 assertTrue(Locale.create(qualifier1).hasLanguage()); in test()73 assertTrue(Locale.create(qualifier3).hasLanguage()); in test()
116 String languageCode = qualifier.hasLanguage() ? qualifier.getLanguage() : null; in getFlagImage()136 public boolean hasLanguage() { in hasLanguage() method in Locale
566 if (!locale.hasLanguage()) { in syncFolderConfig()631 if (isLocaleSpecificLayout() && locale != null && locale.qualifier.hasLanguage()) { in toPersistentString()
283 if (locale != null && (locale.hasLanguage() || locale.hasRegion())) { in toXml()
1315 if (!locale.hasLanguage()) { in getLocaleLabel()
986 if (locale != null && (locale.hasLanguage() || locale.hasRegion()) in paintTitle()
935 if (!locale.hasLanguage() && !locale.hasRegion()) { in addLocalePreviews()