/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertAudio.java | 209 String language = mMessagePreferredLanguage; in setTtsLanguage() local 210 if (language == null || language.isEmpty() || in setTtsLanguage() 211 TextToSpeech.LANG_AVAILABLE != mTts.isLanguageAvailable(new Locale(language))) { in setTtsLanguage() 212 language = mMessageDefaultLanguage; in setTtsLanguage() 213 if (language == null || language.isEmpty() || in setTtsLanguage() 214 TextToSpeech.LANG_AVAILABLE != mTts.isLanguageAvailable(new Locale(language))) { in setTtsLanguage() 222 if (DBG) log("Setting TTS language to '" + language + '\''); in setTtsLanguage() 225 int result = mTts.setLanguage(new Locale(language)); in setTtsLanguage() 231 loge("Language '" + language + "' is not available."); in setTtsLanguage()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | TvTrackInfoUtils.java | 38 public static Comparator<TvTrackInfo> createComparator(final String id, final String language, in createComparator() argument 55 boolean rhsLangMatch = language == null || Utils.isEqualLanguage(rhs.getLanguage(), in createComparator() 56 language); in createComparator() 57 boolean lhsLangMatch = language == null || Utils.isEqualLanguage(lhs.getLanguage(), in createComparator() 58 language); in createComparator() 98 public static TvTrackInfo getBestTrackInfo(List<TvTrackInfo> tracks, String id, String language, 103 Comparator<TvTrackInfo> comparator = createComparator(id, language, channelCount);
|
D | TvSettings.java | 151 public static void setMultiAudioId(Context context, String language) { in setMultiAudioId() argument 153 PREF_MULTI_AUDIO_ID, language).apply(); in setMultiAudioId() 161 public static void setMultiAudioLanguage(Context context, String language) { in setMultiAudioLanguage() argument 163 PREF_MULTI_AUDIO_LANGUAGE, language).apply(); in setMultiAudioLanguage()
|
D | CaptionSettings.java | 83 public void setLanguage(String language) { in setLanguage() argument 84 mLanguage = language; in setLanguage()
|
D | Utils.java | 526 String language = context.getString(R.string.default_language); in getMultiAudioString() local 528 language = new Locale(track.getLanguage()).getDisplayName(); in getMultiAudioString() 577 return language; in getMultiAudioString() 579 return context.getString(R.string.multi_audio_display_string_with_channel, language, in getMultiAudioString()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
D | GoogleSearch.java | 76 String language = locale.getLanguage(); in getLanguage() local 77 StringBuilder hl = new StringBuilder(language); in getLanguage() 80 if (!TextUtils.isEmpty(country) && useLangCountryHl(language, country)) { in getLanguage() 85 if (DBG) Log.d(TAG, "language " + language + ", country " + country + " -> hl=" + hl); in getLanguage() 90 private static boolean useLangCountryHl(String language, String country) { in useLangCountryHl() argument 92 if ("en".equals(language)) { in useLangCountryHl() 94 } else if ("zh".equals(language)) { in useLangCountryHl() 96 } else if ("pt".equals(language)) { in useLangCountryHl()
|
D | GoogleSuggestClient.java | 108 String language = GoogleSearch.getLanguage(l); in query() local 110 language); in query()
|
/packages/apps/TV/src/com/android/tv/tuner/ts/ |
D | SectionParser.java | 718 audioTrack.language = audioDescriptor.getLanguage(); in generateAudioTracks() 763 if (audioTrack.language == null || TextUtils.equals(audioTrack.language, "")) { in generateAudioTracks() 764 audioTrack.language = iso639LanguageTrack.language; in generateAudioTracks() 769 String language = ISO_LANGUAGE_CODE_MAP.get(audioTrack.language); in generateAudioTracks() local 770 if (language != null) { in generateAudioTracks() 771 audioTrack.language = language; in generateAudioTracks() 920 String language = new String(data, pos, 3); in parseIso639Language() local 923 audioTrack.language = language; in parseIso639Language() 947 String language = new String(Arrays.copyOfRange(data, pos, pos + 3)); in parseCaptionService() local 963 captionTrack.language = language; in parseCaptionService() [all …]
|
/packages/apps/Settings/src/com/android/settings/support/ |
D | SupportPhone.java | 32 public final String language; field in SupportPhone 42 language = tokens[0]; in SupportPhone() 48 language = in.readString(); in SupportPhone() 68 dest.writeString(language); in writeToParcel()
|
/packages/apps/TV/tests/unit/src/com/android/tv/util/ |
D | UtilsTest_GetMultiAudioString.java | 76 private static TvTrackInfo createAudioTrackInfo(String language) { in createAudioTrackInfo() argument 77 return createAudioTrackInfo(language, 0); in createAudioTrackInfo() 80 private static TvTrackInfo createAudioTrackInfo(String language, int channelCount) { in createAudioTrackInfo() argument 82 .setLanguage(language).setAudioChannelCount(channelCount) in createAudioTrackInfo()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | ReverseGeocoder.java | 357 String language = readUTF(dis); in lookupAddress() local 361 if (language != null) { in lookupAddress() 363 locale = new Locale(language); in lookupAddress() 365 locale = new Locale(language, country); in lookupAddress() 367 locale = new Locale(language, country, variant); in lookupAddress()
|
/packages/apps/TV/proto/ |
D | track.proto | 13 * See the License for the specific language governing permissions and 24 optional string language = 1; field 42 optional string language = 1; field
|
/packages/apps/TV/src/com/android/tv/tuner/tvinput/ |
D | TunerSessionWorker.java | 1139 String language = audioTrack.language; in notifyAudioTracksUpdated() local 1140 if (language == null && mChannel.getAudioTracks() != null in notifyAudioTracksUpdated() 1143 language = mChannel.getAudioTracks().get(i).language; in notifyAudioTracksUpdated() 1151 builder.setLanguage(language); in notifyAudioTracksUpdated() 1171 String language = captionTrack.language; in updateCaptionTracks() local 1178 builder.setLanguage(language); in updateCaptionTracks()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | LanguageOnSpacebarUtils.java | 61 final String language = SubtypeLocaleUtils.getSubtypeLocale(ims).getLanguage(); in getLanguageOnSpacebarFormatType() local 62 if (keyboardLanguage.equals(language) && keyboardLayout.equals( in getLanguageOnSpacebarFormatType()
|
D | ScriptUtils.java | 187 String language = locale.getLanguage(); in getScriptFromSpellCheckerLocale() local 188 Integer script = mLanguageCodeToScriptCode.get(language); in getScriptFromSpellCheckerLocale()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | DownloadOverMeteredDialog.java | 60 final String language = (null == localeString) ? "" in setTexts() local 63 prompt.setText(Html.fromHtml(String.format(promptFormat, language))); in setTexts()
|
/packages/apps/TV/src/com/android/tv/tuner/data/ |
D | PsipData.java | 335 String language, String language2) { in Ac3AudioDescriptor() argument 349 mLanguage = language; in Ac3AudioDescriptor() 662 languages.add(audioTrack.language); in getAudioLanguage()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
D | Bmessage.java | 132 public Bmessage setLanguage(String language) { in setLanguage() argument 133 mBbodyLanguage = language; in setLanguage()
|
/packages/apps/TV/src/com/android/exoplayer/ |
D | MediaFormatUtil.java | 35 String language = getOptionalStringV16(format, android.media.MediaFormat.KEY_LANGUAGE); in createMediaFormat() local 60 channelCount, sampleRate, language, MediaFormat.OFFSET_SAMPLE_RELATIVE, in createMediaFormat()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | MmsHttpClient.java | 291 final String language = convertObsoleteLanguageCodeToNew(locale.getLanguage()); in addLocaleToHttpAcceptLanguage() local 292 if (language != null) { in addLocaleToHttpAcceptLanguage() 293 builder.append(language); in addLocaleToHttpAcceptLanguage()
|
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/ |
D | SendCdmaCmasMessages.java | 131 String language, String body, int cmasCategory, int responseType, int severity, in createCmasSmsMessage() argument 138 serviceCategory, language, body, SmsCbMessage.MESSAGE_PRIORITY_EMERGENCY, null, in createCmasSmsMessage()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsHttpClient.java | 334 final String language = convertObsoleteLanguageCodeToNew(locale.getLanguage()); in addLocaleToHttpAcceptLanguage() local 335 if (language != null) { in addLocaleToHttpAcceptLanguage() 336 builder.append(language); in addLocaleToHttpAcceptLanguage()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | ClosedCaptionFragment.java | 187 private ClosedCaptionOptionItem(String title, int option, String trackId, String language) { in ClosedCaptionOptionItem() argument 191 mLanguage = language; in ClosedCaptionOptionItem()
|
/packages/apps/TV/libs/ |
D | exoplayer.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/packages/apps/TV/src/com/android/tv/tuner/cc/ |
D | CaptionWindowLayout.java | 436 && mCaptionLayout.getCaptionTrack().language != null in isKoreanLanguageTrack() 437 && "KOR".compareToIgnoreCase(mCaptionLayout.getCaptionTrack().language) == 0; in isKoreanLanguageTrack()
|