Home
last modified time | relevance | path

Searched refs:setLocale (Results 1 – 25 of 191) sorted by relevance

12345678

/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestUtilities.java401 resolver.setLocale("de"); in TestTrunkStatus()
416 resolver.setLocale("jgo"); in TestVoteResolverNgombaTrunkStatus()
430 resolver.setLocale("de"); in TestVoteStatus()
466 resolver.setLocale("af"); in TestLosingStatus()
503 resolver.setLocale("de"); in TestTotalVotesStatus()
516 resolver.setLocale("de"); in TestTotalVotesStatus()
536 resolver.setLocale("mt"); in TestVoteDowngrade()
547 resolver.setLocale("mt"); in TestVoteDowngrade()
561 resolver.setLocale("mt"); in TestVoteDowngrade()
579 resolver.setLocale("mt"); in TestVoteDowngrade()
[all …]
DCheckResult.java42 public CheckResult setLocale(String locale) { in setLocale() method in CheckResult
93 .setLocale(locale).setPath(path); in create()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
DBasicDurationFormatterFactory.java120 public DurationFormatterFactory setLocale(String localeName) { in setLocale() method in BasicDurationFormatterFactory
180 .setLocale(localeName) in getPeriodFormatter()
194 .setLocale(localeName) in getPeriodBuilder()
DBasicDurationFormat.java61 formatter = pfs.newDurationFormatterFactory().setLocale(locale.getName()).getFormatter(); in BasicDurationFormat()
62 …pformatter = pfs.newPeriodFormatterFactory().setDisplayPastFuture(false).setLocale(locale.getName(… in BasicDurationFormat()
DBasicPeriodBuilderFactory.java148 Settings setLocale(String localeName) { in setLocale() method in BasicPeriodBuilderFactory.Settings
254 public PeriodBuilderFactory setLocale(String localeName) { in setLocale() method in BasicPeriodBuilderFactory
255 settings = settings.setLocale(localeName); in setLocale()
358 BasicPeriodBuilderFactory.Settings newSettings = settings.setLocale(localeName);
DPeriodFormatterFactory.java28 public PeriodFormatterFactory setLocale(String localeName); in setLocale() method
DDurationFormatterFactory.java64 public DurationFormatterFactory setLocale(String localeName); in setLocale() method
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
DBasicDurationFormatterFactory.java121 public DurationFormatterFactory setLocale(String localeName) { in setLocale() method in BasicDurationFormatterFactory
181 .setLocale(localeName) in getPeriodFormatter()
195 .setLocale(localeName) in getPeriodBuilder()
DBasicDurationFormat.java63 formatter = pfs.newDurationFormatterFactory().setLocale(locale.getName()).getFormatter(); in BasicDurationFormat()
64 …pformatter = pfs.newPeriodFormatterFactory().setDisplayPastFuture(false).setLocale(locale.getName(… in BasicDurationFormat()
DBasicPeriodBuilderFactory.java149 Settings setLocale(String localeName) { in setLocale() method in BasicPeriodBuilderFactory.Settings
255 public PeriodBuilderFactory setLocale(String localeName) { in setLocale() method in BasicPeriodBuilderFactory
256 settings = settings.setLocale(localeName); in setLocale()
359 BasicPeriodBuilderFactory.Settings newSettings = settings.setLocale(localeName);
DPeriodFormatterFactory.java30 public PeriodFormatterFactory setLocale(String localeName); in setLocale() method
DDurationFormatterFactory.java66 public DurationFormatterFactory setLocale(String localeName); in setLocale() method
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeUnitTest.java104 format.setLocale(new ULocale("pt_BR")); in TestAPI()
115 format.setLocale(es); in TestAPI()
118 format.setLocale(new Locale("pt_BR")); in TestAPI()
133 tuf.setLocale(Locale.GERMAN); in TestClone()
361 …if (!tuf.setLocale(new ULocale("en_US")).equals(tuf) && !tuf.setLocale(new Locale("en_US")).equals… in TestSetLocale()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeUnitTest.java107 format.setLocale(new ULocale("pt_BR")); in TestAPI()
118 format.setLocale(es); in TestAPI()
121 format.setLocale(new Locale("pt_BR")); in TestAPI()
136 tuf.setLocale(Locale.GERMAN); in TestClone()
364 …if (!tuf.setLocale(new ULocale("en_US")).equals(tuf) && !tuf.setLocale(new Locale("en_US")).equals… in TestSetLocale()
DGlobalizationPreferencesTest.java199 gp.setLocale(new ULocale("fi_FI")); in TestFreezable()
231 gp1.setLocale(new ULocale("fr_FR")); in TestFreezable()
469 gp.setLocale(new ULocale("ang")); in TestTerritory()
477 gp.setLocale(new ULocale("fr")); in TestTerritory()
538 gp.setLocale(new ULocale("ja")); in TestCurrency()
548 gp.setLocale(new ULocale("ja_US")); in TestCurrency()
633 gp.setLocale(new ULocale("pt")); in TestCalendar()
713 gp.setLocale(new ULocale("zh_CN")); in TestTimeZone()
722 gp.setLocale(new ULocale("en")); in TestTimeZone()
796 gp.setLocale(new ULocale("tr")); in TestCollator()
[all …]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java196 gp.setLocale(new ULocale("fi_FI")); in TestFreezable()
228 gp1.setLocale(new ULocale("fr_FR")); in TestFreezable()
466 gp.setLocale(new ULocale("ang")); in TestTerritory()
474 gp.setLocale(new ULocale("fr")); in TestTerritory()
535 gp.setLocale(new ULocale("ja")); in TestCurrency()
545 gp.setLocale(new ULocale("ja_US")); in TestCurrency()
630 gp.setLocale(new ULocale("pt")); in TestCalendar()
710 gp.setLocale(new ULocale("zh_CN")); in TestTimeZone()
719 gp.setLocale(new ULocale("en")); in TestTimeZone()
793 gp.setLocale(new ULocale("tr")); in TestCollator()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowConfigurationTest.java35 configuration.setLocale( Locale.US ); in testSetLocale()
38 configuration.setLocale( Locale.FRANCE); in testSetLocale()
/external/cldr/tools/java/org/unicode/cldr/util/
DXChoiceFormat.java137 foo.setLocale(locale); in main()
169 private void setLocale(ULocale locale2) { in setLocale() method in XChoiceFormat
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeUnitFormat.java177 public TimeUnitFormat setLocale(ULocale locale) { in setLocale() method in TimeUnitFormat
178 setLocale(locale, locale); in setLocale()
190 public TimeUnitFormat setLocale(Locale locale) { in setLocale() method in TimeUnitFormat
191 return setLocale(ULocale.forLocale(locale)); in setLocale()
340 setLocale(locale, locale); in setup()
DBreakIteratorFactory.java76 … iter.setLocale(actualLoc[0], actualLoc[0]); // services make no distinction between actual & valid in createBreakIterator()
163 iter.setLocale(uloc, uloc); in createBreakInstance()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeUnitFormat.java179 public TimeUnitFormat setLocale(ULocale locale) { in setLocale() method in TimeUnitFormat
180 setLocale(locale, locale); in setLocale()
192 public TimeUnitFormat setLocale(Locale locale) { in setLocale() method in TimeUnitFormat
193 return setLocale(ULocale.forLocale(locale)); in setLocale()
342 setLocale(locale, locale); in setup()
DBreakIteratorFactory.java77 … iter.setLocale(actualLoc[0], actualLoc[0]); // services make no distinction between actual & valid in createBreakIterator()
164 iter.setLocale(uloc, uloc); in createBreakInstance()
/external/libchrome/base/android/java/src/org/chromium/base/
DLocaleUtils.java63 return new Locale.Builder().setLocale(locale).setLanguage(languageForChrome).build(); in getUpdatedLocaleForChromium()
97 return new Locale.Builder().setLocale(locale).setLanguage(languageForAndroid).build(); in getUpdatedLocaleForAndroid()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleBuilderTest.java145 bld.setLocale(new ULocale(TESTCASE[tidx][i++])); in TestLocaleBuilder()
205 bld.setLocale(loc); in TestSetLocale()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DLocaleBuilderTest.java148 bld.setLocale(new ULocale(TESTCASE[tidx][i++])); in TestLocaleBuilder()
208 bld.setLocale(loc); in TestSetLocale()

12345678