Home
last modified time | relevance | path

Searched refs:language (Results 1 – 25 of 256) sorted by relevance

1234567891011

/packages/apps/TV/src/com/android/tv/util/
DTvTrackInfoUtils.java51 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());
DTvSettings.java80 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()
DCaptionSettings.java82 public void setLanguage(String language) { in setLanguage() argument
83 mLanguage = language; in setLanguage()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
DGoogleSearch.java76 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()
DGoogleSuggestClient.java108 String language = GoogleSearch.getLanguage(l); in query() local
110 language); in query()
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DSectionParser.java1217 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 …]
DPsipData.java397 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/
Dtrack.proto13 * 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/
DReverseGeocoder.java357 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/
DTunerSessionWorkerExoV2.java1572 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()
DTunerSessionWorker.java1560 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/
DLanguageSettingsEntryPreferenceController.java17 package com.android.car.settings.language;
26 import com.android.car.settingslib.language.LanguagePickerUtils;
DLocalePreferenceProvider.java17 package com.android.car.settings.language;
30 import com.android.car.settingslib.language.LanguagePickerUtils;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DLanguageOnSpacebarUtils.java61 final String language = SubtypeLocaleUtils.getSubtypeLocale(ims).getLanguage(); in getLanguageOnSpacebarFormatType() local
62 if (keyboardLanguage.equals(language) && keyboardLayout.equals( in getLanguageOnSpacebarFormatType()
DScriptUtils.java187 String language = locale.getLanguage(); in getScriptFromSpellCheckerLocale() local
188 Integer script = mLanguageCodeToScriptCode.get(language); in getScriptFromSpellCheckerLocale()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDownloadOverMeteredDialog.java60 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/
DBmessage.java132 public Bmessage setLanguage(String language) { in setLanguage() argument
133 mBbodyLanguage = language; in setLanguage()
/packages/apps/TV/tuner/src/com/google/android/exoplayer/
DMediaFormatUtil.java33 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/
DSendGsmCmasMessages.java149 String language, String body, int severity, int urgency, int certainty, int priority) { in createCmasSmsMessage() argument
154 new SmsCbLocation("123456"), serviceCategory, language, body, in createCmasSmsMessage()
DSendCdmaCmasMessages.java127 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/
DMmsHttpClient.java291 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/
Dnumber_attributes.proto12 // 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/
DMmsHttpClient.java349 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/
DCellBroadcastAlertService.java627 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/
DLocaleSelectionListener.java16 package com.android.car.settingslib.language;

1234567891011