Home
last modified time | relevance | path

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

1234567

/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestUtilities.java656 resolver.setLocale("de"); in TestTrunkStatus()
673 resolver.setLocale("jgo"); in TestVoteResolverNgombaTrunkStatus()
690 resolver.setLocale("de"); in TestVoteStatus()
726 resolver.setLocale("af"); in TestLosingStatus()
763 resolver.setLocale("de"); in TestTotalVotesStatus()
776 resolver.setLocale("de"); in TestTotalVotesStatus()
796 resolver.setLocale("mt"); in TestVoteDowngrade()
807 resolver.setLocale("mt"); in TestVoteDowngrade()
821 resolver.setLocale("mt"); in TestVoteDowngrade()
839 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()
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);
DBasicDurationFormat.java61 formatter = pfs.newDurationFormatterFactory().setLocale(locale.getName()).getFormatter(); in BasicDurationFormat()
62 …pformatter = pfs.newPeriodFormatterFactory().setDisplayPastFuture(false).setLocale(locale.getName(… in BasicDurationFormat()
DPeriodFormatterFactory.java28 public PeriodFormatterFactory 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()
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);
DBasicDurationFormat.java63 formatter = pfs.newDurationFormatterFactory().setLocale(locale.getName()).getFormatter(); in BasicDurationFormat()
64 …pformatter = pfs.newPeriodFormatterFactory().setDisplayPastFuture(false).setLocale(locale.getName(… in BasicDurationFormat()
DPeriodFormatterFactory.java30 public PeriodFormatterFactory setLocale(String localeName); in setLocale() method
/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()
377 gp.setLocale(new ULocale("ko_KR")); in TestSetLocales()
456 gp.setLocale(new ULocale("ang")); in TestTerritory()
464 gp.setLocale(new ULocale("fr")); in TestTerritory()
525 gp.setLocale(new ULocale("ja")); in TestCurrency()
535 gp.setLocale(new ULocale("ja_US")); in TestCurrency()
620 gp.setLocale(new ULocale("pt")); in TestCalendar()
700 gp.setLocale(new ULocale("zh_CN")); in TestTimeZone()
709 gp.setLocale(new ULocale("en")); in TestTimeZone()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DGlobalizationPreferencesTest.java199 gp.setLocale(new ULocale("fi_FI")); in TestFreezable()
231 gp1.setLocale(new ULocale("fr_FR")); in TestFreezable()
380 gp.setLocale(new ULocale("ko_KR")); in TestSetLocales()
459 gp.setLocale(new ULocale("ang")); in TestTerritory()
467 gp.setLocale(new ULocale("fr")); in TestTerritory()
528 gp.setLocale(new ULocale("ja")); in TestCurrency()
538 gp.setLocale(new ULocale("ja_US")); in TestCurrency()
623 gp.setLocale(new ULocale("pt")); in TestCalendar()
703 gp.setLocale(new ULocale("zh_CN")); in TestTimeZone()
712 gp.setLocale(new ULocale("en")); in TestTimeZone()
[all …]
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()
/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/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DMessageFormatTest.java80 mf.setLocale(Locale.GERMANY); in testSetLocaleLocale()
90 mf.setLocale(ULocale.GERMANY); in testSetLocaleULocale()
100 mf.setLocale(Locale.GERMANY); in testGetLocale()
109 mf.setLocale(ULocale.GERMANY); in testGetULocale()
/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/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DMessageFormat.java489 public void setLocale(Locale locale) { in setLocale() method in MessageFormat
490 messageFormat.setLocale(locale); in setLocale()
503 public void setLocale(ULocale locale) { in setLocale() method in MessageFormat
504 messageFormat.setLocale(locale.toLocale()); in setLocale()
/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/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/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/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()
/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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
DDeviceConfig.java162 setLocale(apiLevel, configuration, locale); in applyToConfiguration()
256 setLocale(apiLevel, configuration, locale); in applyRules()
386 private static void setLocale(int apiLevel, Configuration configuration, Locale locale) { in setLocale() method in DeviceConfig
388 configuration.setLocale(locale); in setLocale()

1234567