Home
last modified time | relevance | path

Searched refs:setLanguage (Results 1 – 25 of 98) sorted by relevance

1234

/external/robolectric-shadows/resources/src/test/java/org/robolectric/res/android/
DResTableConfigTest.java74 assertThat(newBuilder().setLanguage(LANGUAGE_FRENCH).build() in isBetterThan_language()
75 .isBetterThan(newBuilder().setLanguage(LANGUAGE_FRENCH).build(), newBuilder().build())) in isBetterThan_language()
82 assertThat(newBuilder().setLanguage(LANGUAGE_FRENCH).build() in isBetterThan_language_comparedNotSame_requestedEnglish()
83 .isBetterThan(newBuilder().setLanguage(LANGUAGE_SPANISH).build(), newBuilder().setLanguage( in isBetterThan_language_comparedNotSame_requestedEnglish()
91 assertThat(newBuilder().setLanguage(LANGUAGE_FRENCH).build() in isBetterThan_language_comparedNotSame_requestedEnglishUS()
92 .isBetterThan(newBuilder().setLanguage(LANGUAGE_SPANISH).build(), newBuilder().setLanguage( in isBetterThan_language_comparedNotSame_requestedEnglishUS()
159 public ResTableConfigBuilder setLanguage(byte[] language) { in setLanguage() method in ResTableConfigTest.ResTableConfigBuilder
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/trackselection/
DDefaultTrackSelectorTest.java403 Format frAudioFormat = formatBuilder.setLanguage("fra").build(); in selectTracksSelectPreferredAudioLanguage()
404 Format enAudioFormat = formatBuilder.setLanguage("eng").build(); in selectTracksSelectPreferredAudioLanguage()
425 formatBuilder.setLanguage("fra").setSelectionFlags(C.SELECTION_FLAG_DEFAULT).build(); in selectTracksSelectPreferredAudioLanguageOverSelectionFlag()
426 Format enNonDefaultFormat = formatBuilder.setLanguage("eng").setSelectionFlags(0).build(); in selectTracksSelectPreferredAudioLanguageOverSelectionFlag()
539 Format exceededEnFormat = formatBuilder.setId("exceededFormat").setLanguage("eng").build(); in selectTracksPreferTrackWithinCapabilitiesOverPreferredLanguage()
540 Format supportedFrFormat = formatBuilder.setId("supportedFormat").setLanguage("fra").build(); in selectTracksPreferTrackWithinCapabilitiesOverPreferredLanguage()
572 .setLanguage("eng") in selectTracksPreferTrackWithinCapabilitiesOverSelectionFlagAndPreferredLanguage()
575 formatBuilder.setId("supportedFormat").setSelectionFlags(0).setLanguage("fra").build(); in selectTracksPreferTrackWithinCapabilitiesOverSelectionFlagAndPreferredLanguage()
641 Format.Builder formatBuilder = AUDIO_FORMAT.buildUpon().setLanguage("en"); in selectAudioTracks_withinCapabilities_andSameLanguage_selectsHigherBitrate()
664 Format firstLanguageFormat = formatBuilder.setAverageBitrate(15000).setLanguage("hi").build(); in selectAudioTracks_withinCapabilities_andDifferentLanguage_selectsFirstTrack()
[all …]
/external/icu/icu4c/source/test/intltest/
Dlocalebuildertest.cpp208 bld.setLanguage(testCase[i++]); in TestLocaleBuilder()
315 bld.setLanguage("zh"); in TestLocaleBuilderBasic()
411 bld.setLanguage(lang); in TestSetLanguageWellFormed()
478 bld.setLanguage(ill); in TestSetLanguageIllFormed()
938 Locale loc = bld.setLanguage("fr") in TestAddRemoveUnicodeLocaleAttribute()
1150 bld.setLanguage("zh"); in TestSetExtensionU()
1276 bld.setLanguage("fr"); in TestSetExtensionT()
1418 bld.setLanguage("ar"); in TestSetExtensionPU()
1498 bld.setLanguage("fr"); in TestSetExtensionOthers()
1620 Locale l1 = bld1.setLanguage("en") in TestSetLocale()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleBuilderTest.java125 bld.setLanguage(TESTCASE[tidx][i++]); in TestLocaleBuilder()
210 bld.setLanguage("").setUnicodeLocaleKeyword("ca", "buddhist") in TestSetLocale()
211 .setLanguage("TH").setUnicodeLocaleKeyword("ca", "gregory"); in TestSetLocale()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DLocaleBuilderTest.java128 bld.setLanguage(TESTCASE[tidx][i++]); in TestLocaleBuilder()
213 bld.setLanguage("").setUnicodeLocaleKeyword("ca", "buddhist") in TestSetLocale()
214 .setLanguage("TH").setUnicodeLocaleKeyword("ca", "gregory"); in TestSetLocale()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/
DFormat.java275 public Builder setLanguage(@Nullable String language) { in setLanguage() method in Format.Builder
952 .setLanguage(language) in createAudioContainerFormat()
983 .setLanguage(language) in createAudioSampleFormat()
1014 .setLanguage(language) in createAudioSampleFormat()
1049 .setLanguage(language) in createAudioSampleFormat()
1084 .setLanguage(language) in createTextContainerFormat()
1111 .setLanguage(language) in createTextContainerFormat()
1132 .setLanguage(language) in createTextSampleFormat()
1150 .setLanguage(language) in createTextSampleFormat()
1171 .setLanguage(language) in createImageSampleFormat()
[all …]
/external/cldr/tools/java/org/unicode/cldr/tool/
DLikelySubtags.java142 ltp.setLanguage(language = "und"); in maximize()
184 ltp.setLanguage(language); in maximize()
202 ltp.setLanguage("und"); in maximize()
208 ltp.setLanguage(language); in maximize()
/external/testng/src/main/java/org/testng/xml/
DXmlMethodSelector.java73 public void setLanguage(String language) { in setLanguage() method in XmlMethodSelector
74 m_script.setLanguage(language); in setLanguage()
DXmlScript.java11 public void setLanguage(String language) { in setLanguage() method in XmlScript
/external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/
DInterpreter.java77 interpreter.setLanguage(SupportedLanguages.getLanguageByExtension(extension)); in buildFromMaps()
163 protected void setLanguage(Language language) { in setLanguage() method in Interpreter
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/partialconstruct/
DDeveloperBean.java34 public void setLanguage(String language) { in setLanguage() method in DeveloperBean
/external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/shell/
DShellInterpreter.java38 setLanguage(new ShellLanguage()); in ShellInterpreter()
/external/exoplayer/tree/library/hls/src/test/java/com/google/android/exoplayer2/source/hls/
DHlsMediaPeriodTest.java163 .setLanguage(language) in createAudioFormat()
171 .setLanguage(language) in createSubtitleFormat()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DTitleBox.java59 public void setLanguage(String language) { in setLanguage() method in TitleBox
DCopyrightBox.java53 public void setLanguage(String language) { in setLanguage() method in CopyrightBox
DPerformerBox.java48 public void setLanguage(String language) { in setLanguage() method in PerformerBox
DGenreBox.java49 public void setLanguage(String language) { in setLanguage() method in GenreBox
DAuthorBox.java63 public void setLanguage(String language) { in setLanguage() method in AuthorBox
DDescriptionBox.java70 public void setLanguage(String language) { in setLanguage() method in DescriptionBox
DAlbumBox.java62 public void setLanguage(String language) { in setLanguage() method in AlbumBox
DKeywordsBox.java47 public void setLanguage(String language) { in setLanguage() method in KeywordsBox
/external/icu/icu4c/source/common/unicode/
Dlocalebuilder.h124 LocaleBuilder& setLanguage(StringPiece language);
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/vodafone/
DAlbumArtistBox.java49 public void setLanguage(String language) { in setLanguage() method in AlbumArtistBox
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/
DTrackMetaData.java47 public void setLanguage(String language) { in setLanguage() method in TrackMetaData
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/
DCastUtils.java110 .setLanguage(mediaTrack.getLanguage()) in mediaTrackToFormat()

1234