Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DLocaleTest.java28 RegionQualifier region1 = new RegionQualifier("NO"); in test() local
42 assertTrue(Locale.create(language1, region1).hasLanguage()); in test()
43 assertTrue(Locale.create(language1, region1).hasRegion()); in test()
45 assertEquals(Locale.create(language1, region1), Locale.create(language1, region1)); in test()
48 assertTrue(Locale.create(language1, region1).equals(Locale.create(language1, region1))); in test()
49 assertFalse(Locale.create(language1, region1).equals(Locale.create(language1, region2))); in test()
50 assertFalse(Locale.create(language1).equals(Locale.create(language1, region1))); in test()
52 assertFalse(Locale.create(language1, region1).equals(Locale.create(language2, region1))); in test()
54 assertEquals("Locale{nb, NO}", Locale.create(language1, region1).toString()); in test()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DEclipseXmlFormatPreferences.java78 IndexedRegion region1 = (IndexedRegion) attr1;
81 return region1.getStartOffset() - region2.getStartOffset();
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DAaptParser.java616 IRegion region1 = findRange(file, line, property, "\"\""); //$NON-NLS-1$ in findRange() local
618 if (region1 == null) { in findRange()
625 return region1; in findRange()
626 } else if (region1.getOffset() < region2.getOffset()) { in findRange()
627 return region1; in findRange()