Home
last modified time | relevance | path

Searched refs:setRegion (Results 1 – 25 of 64) sorted by relevance

123

/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowTextToSpeechTest.java330 new Locale.Builder().setLanguage("pl").setRegion("pl").build())) in isLanguageAvailable_neverAdded_returnsUnsupported()
338 new Locale.Builder().setLanguage("pl").setRegion("pl").build()); in isLanguageAvailable_twoLanguageAvailabilities_returnsRequestedAvailability()
340 new Locale.Builder().setLanguage("ja").setRegion("jp").build()); in isLanguageAvailable_twoLanguageAvailabilities_returnsRequestedAvailability()
344 new Locale.Builder().setLanguage("pl").setRegion("pl").build())) in isLanguageAvailable_twoLanguageAvailabilities_returnsRequestedAvailability()
352 new Locale.Builder().setLanguage("en").setRegion("us").setVariant("WOLTK").build()); in isLanguageAvailable_matchingVariant_returnsCountryVarAvailable()
356 new Locale.Builder().setLanguage("en").setRegion("us").setVariant("WOLTK").build())) in isLanguageAvailable_matchingVariant_returnsCountryVarAvailable()
364 new Locale.Builder().setLanguage("en").setRegion("us").setVariant("ONETW").build()); in isLanguageAvailable_matchingCountry_returnsLangCountryAvailable()
368 new Locale.Builder().setLanguage("en").setRegion("us").setVariant("THREE").build())) in isLanguageAvailable_matchingCountry_returnsLangCountryAvailable()
376 new Locale.Builder().setLanguage("en").setRegion("us").build()); in isLanguageAvailable_matchingLanguage_returnsLangAvailable()
380 new Locale.Builder().setLanguage("en").setRegion("gb").build())) in isLanguageAvailable_matchingLanguage_returnsLangAvailable()
[all …]
/external/icu/icu4c/source/test/intltest/
Dlocalebuildertest.cpp217 bld.setRegion(testCase[i++]); in TestLocaleBuilder()
322 bld.setRegion("SG"); in TestLocaleBuilderBasic()
325 bld.setRegion("HK"); in TestLocaleBuilderBasic()
362 bld.setRegion(""); in TestLocaleBuilderBasic()
625 bld.setRegion(region); in TestSetRegionWellFormed()
695 bld.setRegion(ill); in TestSetRegionIllFormed()
1190 bld.setRegion("TW"); in TestSetExtensionU()
1312 bld.setRegion("MX"); in TestSetExtensionT()
1456 bld.setRegion("TH"); in TestSetExtensionPU()
1536 bld.setRegion("TH"); in TestSetExtensionOthers()
[all …]
/external/cronet/third_party/icu/source/test/intltest/
Dlocalebuildertest.cpp217 bld.setRegion(testCase[i++]); in TestLocaleBuilder()
322 bld.setRegion("SG"); in TestLocaleBuilderBasic()
325 bld.setRegion("HK"); in TestLocaleBuilderBasic()
362 bld.setRegion(""); in TestLocaleBuilderBasic()
625 bld.setRegion(region); in TestSetRegionWellFormed()
695 bld.setRegion(ill); in TestSetRegionIllFormed()
1190 bld.setRegion("TW"); in TestSetExtensionU()
1312 bld.setRegion("MX"); in TestSetExtensionT()
1456 bld.setRegion("TH"); in TestSetExtensionPU()
1536 bld.setRegion("TH"); in TestSetExtensionOthers()
[all …]
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
DSupplementalData.java186 return new LocaleId().setLanguage(language).setScript(script).setRegion(region); in of()
223 LocaleId setRegion(String regionSubtag) { in setRegion() method in SupplementalData.LocaleId
336 id.setRegion(regions.get(0)); in replaceDeprecatedTags()
346 id.setRegion(likelyRegion); in replaceDeprecatedTags()
348 id.setRegion(regions.get(0)); in replaceDeprecatedTags()
393 id.setRegion(resolvedId.getRegion()); in replaceDeprecatedTags()
549 id.setRegion(null); in addLikelySubtags()
572 id.setRegion(checkNotNull(subtags.getRegion())); in addLikelySubtags()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/
DLikelySubtags.java143 ltp.setRegion(region = ""); in maximize()
171 ltp.setRegion(region2); in maximize()
185 ltp.setRegion(region); in maximize()
209 ltp.setRegion(region); in maximize()
DGenerateAliases.java69 ltp.setRegion(""); in Builder()
187 ltp.setRegion(territory); in addAlias()
DGenerateMaximalLocales.java1307 ltp.setRegion(region = ""); in maximize()
1320 result = toMaximized.get(ltp.setRegion("").toString()); in maximize()
1322 return ltp.set(result).setRegion(region).toString(); in maximize()
1324 ltp.setRegion(region); // restore in maximize()
1334 result = toMaximized.get(ltp.setRegion("").toString()); in maximize()
1336 return ltp.set(result).setScript(script).setRegion(region).toString(); in maximize()
1657 parser.setRegion(""); in minimize()
1661 newTarget = targetParser.set(newTarget).setRegion(region).toString(); in minimize()
DGenerateLikelySubtagTests.java58 ltp.setRegion(region); in main()
DKeymanCheck.java135 ltp.setRegion(""); in prettyprint()
/external/skia/src/core/
DSkRasterClip.cpp125 tmp.setRegion(rgn); in op()
228 tmp.setRegion(clip.bwRgn()); in op()
269 fAA.setRegion(fBW); in convertToAA()
DSkAAClip.h37 bool setRegion(const SkRegion&);
DSkRegion.cpp125 this->setRegion(src); in SkRegion()
161 (void)this->setRegion(src); in operator =()
199 bool SkRegion::setRegion(const SkRegion& src) { in setRegion() function in SkRegion
1032 return result ? result->setRegion(rgn) : !rgn.isEmpty(); in setRegionCheck()
/external/skia/docs/examples/
DRegion_setRegion.cpp13 region2.setRegion(region); in draw()
/external/icu/libicu/cts_headers/unicode/
Dlocalebuilder.h157 LocaleBuilder& setRegion(StringPiece region);
/external/cronet/third_party/icu/source/common/unicode/
Dlocalebuilder.h157 LocaleBuilder& setRegion(StringPiece region);
/external/icu/icu4c/source/common/unicode/
Dlocalebuilder.h157 LocaleBuilder& setRegion(StringPiece region);
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DLanguageTagCanonicalizer.java135 LanguageTagParser x = new LanguageTagParser().set(languageTag).setRegion(""); in getReplacement()
166 ltp1.setRegion(ltp2.getRegion()); in copyFields2()
DLocaleIDParser.java217 public LocaleIDParser setRegion(String region) { in setRegion() method in LocaleIDParser
/external/cronet/third_party/icu/source/common/
Dlocalebuilder.cpp52 setRegion(locale.getCountry()); in setLocale()
96 LocaleBuilder& LocaleBuilder::setRegion(StringPiece region) in setRegion() function in LocaleBuilder
/external/icu/icu4c/source/common/
Dlocalebuilder.cpp52 setRegion(locale.getCountry()); in setLocale()
96 LocaleBuilder& LocaleBuilder::setRegion(StringPiece region) in setRegion() function in LocaleBuilder
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleBuilderTest.java129 bld.setRegion(TESTCASE[tidx][i++]); in TestLocaleBuilder()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DLocaleBuilderTest.java132 bld.setRegion(TESTCASE[tidx][i++]); in TestLocaleBuilder()
/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/
DLikelySubtagsTest.java193 sourceLtp.setRegion(maxLtp.getRegion()); in checkAdding()
235 ltp.setRegion(region); in TestCompleteness()
/external/skia/include/core/
DSkRegion.h231 bool setRegion(const SkRegion& region);
/external/skia/bench/
DAAClipBench.cpp234 clip.setRegion(fRegion); in onDraw()

123