/packages/apps/TV/src/com/android/tv/util/ |
D | TvTrackInfoUtils.java | 51 final String id, final String language, final int channelCount) { in createComparator() argument 65 language == null || Utils.isEqualLanguage(lhs.getLanguage(), language); in createComparator() 67 language == null || Utils.isEqualLanguage(rhs.getLanguage(), language); in createComparator() 96 List<TvTrackInfo> tracks, String id, String language, int channelCount) { 100 Comparator<TvTrackInfo> comparator = createComparator(id, language, channelCount); 127 String language = context.getString(R.string.multi_audio_unknown_language); 129 language = new Locale(track.getLanguage()).getDisplayName(); 188 return language; 191 R.string.multi_audio_display_string_with_channel, language, metadata.toString());
|
D | TvSettings.java | 80 public static void setMultiAudioId(Context context, String language) { in setMultiAudioId() argument 83 .putString(PREF_MULTI_AUDIO_ID, language) in setMultiAudioId() 92 public static void setMultiAudioLanguage(Context context, String language) { in setMultiAudioLanguage() argument 95 .putString(PREF_MULTI_AUDIO_LANGUAGE, language) in setMultiAudioLanguage() 144 String language; in getDvrPlaybackTrackSettings() local 153 language = pref.getString(PREF_DVR_MULTI_AUDIO_LANGUAGE, null); in getDvrPlaybackTrackSettings() 156 .setLanguage(language) in getDvrPlaybackTrackSettings() 164 language = pref.getString(PREF_DVR_SUBTITLE_LANGUAGE, null); in getDvrPlaybackTrackSettings() 165 return new TvTrackInfo.Builder(trackType, trackId).setLanguage(language).build(); in getDvrPlaybackTrackSettings()
|
D | CaptionSettings.java | 82 public void setLanguage(String language) { in setLanguage() argument 83 mLanguage = language; in setLanguage()
|
/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/tuner/src/com/android/tv/tuner/data/ |
D | SectionParser.java | 1217 audioTrack.language = audioDescriptor.getLanguage(); in generateAudioTracks() 1219 if (audioTrack.language == null) { in generateAudioTracks() 1220 audioTrack.language = ""; in generateAudioTracks() 1266 if (audioTrack.language == null || TextUtils.equals(audioTrack.language, "")) { in generateAudioTracks() 1267 audioTrack.language = iso639LanguageTrack.language; in generateAudioTracks() 1272 String language = ISO_LANGUAGE_CODE_MAP.get(audioTrack.language); in generateAudioTracks() local 1273 if (language != null) { in generateAudioTracks() 1274 audioTrack.language = language; in generateAudioTracks() 1594 String language = new String(data, pos, 3); in parseIso639Language() local 1597 audioTrack.language = language; in parseIso639Language() [all …]
|
D | PsipData.java | 397 String language, in Ac3AudioDescriptor() argument 412 mLanguage = language; in Ac3AudioDescriptor() 585 public ShortEventDescriptor(String language, String eventName, String text) { in ShortEventDescriptor() argument 586 mLanguage = language; in ShortEventDescriptor() 835 languages.add(audioTrack.language); in getAudioLanguage()
|
/packages/apps/TV/tuner/proto/ |
D | track.proto | 13 * See the License for the specific language governing permissions and 30 optional string language = 1; field 52 optional string language = 1; field
|
/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/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerSessionWorkerExoV2.java | 1572 String language = in notifyAudioTracksUpdated() local 1573 !TextUtils.isEmpty(infoFromPlayer.language) in notifyAudioTracksUpdated() 1574 ? infoFromPlayer.language in notifyAudioTracksUpdated() 1575 : (infoFromEit != null && infoFromEit.language != null) in notifyAudioTracksUpdated() 1576 ? infoFromEit.language in notifyAudioTracksUpdated() 1577 : (infoFromVct != null && infoFromVct.language != null) in notifyAudioTracksUpdated() 1578 ? infoFromVct.language in notifyAudioTracksUpdated() 1582 builder.setLanguage(language); in notifyAudioTracksUpdated() 1602 String language = captionTrack.language; in updateCaptionTracks() local 1610 builder.setLanguage(language); in updateCaptionTracks()
|
D | TunerSessionWorker.java | 1560 String language = in notifyAudioTracksUpdated() local 1561 !TextUtils.isEmpty(infoFromPlayer.language) in notifyAudioTracksUpdated() 1562 ? infoFromPlayer.language in notifyAudioTracksUpdated() 1563 : (infoFromEit != null && infoFromEit.language != null) in notifyAudioTracksUpdated() 1564 ? infoFromEit.language in notifyAudioTracksUpdated() 1565 : (infoFromVct != null && infoFromVct.language != null) in notifyAudioTracksUpdated() 1566 ? infoFromVct.language in notifyAudioTracksUpdated() 1570 builder.setLanguage(language); in notifyAudioTracksUpdated() 1590 String language = captionTrack.language; in updateCaptionTracks() local 1598 builder.setLanguage(language); in updateCaptionTracks()
|
/packages/apps/Car/Settings/src/com/android/car/settings/language/ |
D | LanguageSettingsEntryPreferenceController.java | 17 package com.android.car.settings.language; 26 import com.android.car.settingslib.language.LanguagePickerUtils;
|
D | LocalePreferenceProvider.java | 17 package com.android.car.settings.language; 30 import com.android.car.settingslib.language.LanguagePickerUtils;
|
/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/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/tuner/src/com/google/android/exoplayer/ |
D | MediaFormatUtil.java | 33 String language = getOptionalStringV16(format, android.media.MediaFormat.KEY_LANGUAGE); in createMediaFormat() local 71 language, in createMediaFormat()
|
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/ |
D | SendGsmCmasMessages.java | 149 String language, String body, int severity, int urgency, int certainty, int priority) { in createCmasSmsMessage() argument 154 new SmsCbLocation("123456"), serviceCategory, language, body, in createCmasSmsMessage()
|
D | SendCdmaCmasMessages.java | 127 String language, String body, int cmasCategory, int responseType, int severity, in createCmasSmsMessage() argument 134 new SmsCbLocation("123456"), serviceCategory, language, body, in createCmasSmsMessage()
|
/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/Dialer/java/com/android/dialer/calllog/database/contract/ |
D | number_attributes.proto | 12 // See the License for the specific language governing permissions and 48 // or "Mobile". This column should be updated for the appropriate language
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsHttpClient.java | 349 final String language = convertObsoleteLanguageCodeToNew(locale.getLanguage()); in addLocaleToHttpAcceptLanguage() local 350 if (language != null) { in addLocaleToHttpAcceptLanguage() 351 builder.append(language); in addLocaleToHttpAcceptLanguage()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertService.java | 627 String language = message.getLanguageCode(); in openEmergencyAlertNotification() local 629 Log.d(TAG, "Message language = " + language); in openEmergencyAlertNotification() 631 language); in openEmergencyAlertNotification()
|
/packages/apps/Car/libs/car-settings-lib/src/com/android/car/settingslib/language/ |
D | LocaleSelectionListener.java | 16 package com.android.car.settingslib.language;
|