Searched refs:hasRegion (Results 1 – 7 of 7) sorted by relevance
31 assertTrue(locale.hasRegion()); in test1()39 assertFalse(locale.hasRegion()); in test2()47 assertFalse(locale.hasRegion()); in testEquals()64 assertFalse(Locale.ANY.hasRegion()); in test()68 assertFalse(Locale.create(new LocaleQualifier(LocaleQualifier.FAKE_VALUE)).hasRegion()); in test()72 assertFalse(Locale.create(qualifier1).hasRegion()); in test()74 assertTrue(Locale.create(qualifier3).hasRegion()); in test()
120 String regionCode = hasRegion() ? qualifier.getRegion() : null; in getFlagImage()145 public boolean hasRegion() { in hasRegion() method in Locale
283 if (locale != null && (locale.hasLanguage() || locale.hasRegion())) { in toXml()285 if (locale.hasRegion()) { in toXml()
635 if (locale.qualifier.hasRegion()) { in toPersistentString()924 if (locale.qualifier.hasRegion()) { in saveRenderState()
1338 if (!locale.hasRegion()) { in getLocaleLabel()
986 if (locale != null && (locale.hasLanguage() || locale.hasRegion()) in paintTitle()
935 if (!locale.hasLanguage() && !locale.hasRegion()) { in addLocalePreviews()