Home
last modified time | relevance | path

Searched refs:hasLanguage (Results 1 – 7 of 7) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DLocaleTest.java30 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()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DLocale.java116 String languageCode = qualifier.hasLanguage() ? qualifier.getLanguage() : null; in getFlagImage()
136 public boolean hasLanguage() { in hasLanguage() method in Locale
DConfiguration.java566 if (!locale.hasLanguage()) { in syncFolderConfig()
631 if (isLocaleSpecificLayout() && locale != null && locale.qualifier.hasLanguage()) { in toPersistentString()
DConfigurationDescription.java283 if (locale != null && (locale.hasLanguage() || locale.hasRegion())) { in toXml()
DConfigurationChooser.java1315 if (!locale.hasLanguage()) { in getLocaleLabel()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DRenderPreview.java986 if (locale != null && (locale.hasLanguage() || locale.hasRegion()) in paintTitle()
DRenderPreviewManager.java935 if (!locale.hasLanguage() && !locale.hasRegion()) { in addLocalePreviews()