Home
last modified time | relevance | path

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

12345678910>>...15

/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DGsmSmsCbMessage.java120 String language = cbData.first; in createSmsCbMessage() local
147 header.getServiceCategory(), language, header.getDataCodingScheme(), body, in createSmsCbMessage()
151 String language = null; in createSmsCbMessage() local
155 language = p.first; in createSmsCbMessage()
163 header.getServiceCategory(), language, header.getDataCodingScheme(), in createSmsCbMessage()
260 String language = header.getDataCodingSchemeStructedData().language; in parseUmtsBody() local
283 language = p.first; in parseUmtsBody()
286 return new Pair(language, sb.toString()); in parseUmtsBody()
316 String language = dcs.language; in unpackBody() local
324 language = body.substring(0, 2); in unpackBody()
[all …]
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/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DGsmSmsCbMessage.java121 String language = cbData.first; in createSmsCbMessage() local
148 header.getServiceCategory(), language, header.getDataCodingScheme(), body, in createSmsCbMessage()
152 String language = null; in createSmsCbMessage() local
156 language = p.first; in createSmsCbMessage()
164 header.getServiceCategory(), language, header.getDataCodingScheme(), in createSmsCbMessage()
306 String language = header.getDataCodingSchemeStructedData().language; in parseUmtsBody() local
329 language = p.first; in parseUmtsBody()
332 return new Pair(language, sb.toString()); in parseUmtsBody()
363 String language = dcs.language; in unpackBody() local
371 language = body.substring(0, 2); in unpackBody()
[all …]
DSmsCbHeader.java506 public final String language; field in SmsCbHeader.DataCodingScheme
511 String language = null; in DataCodingScheme() local
519 language = LANGUAGE_CODES_GROUP_0[dataCodingScheme & 0x0f]; in DataCodingScheme()
533 language = LANGUAGE_CODES_GROUP_2[dataCodingScheme & 0x0f]; in DataCodingScheme()
584 this.language = language; in DataCodingScheme()
/packages/apps/TV/src/com/android/tv/util/
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()
DTvTrackInfoUtils.java114 List<TvTrackInfo> tracks, String id, String language, int channelCount) {
119 if (language == null) {
129 languages.add(language);
158 String language = context.getString(R.string.multi_audio_unknown_language);
160 language = new Locale(track.getLanguage()).getDisplayName();
215 return language;
218 R.string.multi_audio_display_string_with_channel, language, metadata.toString());
DCaptionSettings.java113 public void setLanguage(String language) { in setLanguage() argument
114 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/tests/robotests/src/com/android/tv/util/
DTvTrackInfoUtilsTest.java61 private TvTrackInfo createTvTrackInfo(String trackId, String language, int audioChannelCount) { in createTvTrackInfo() argument
63 .setLanguage(language) in createTvTrackInfo()
306 private static TvTrackInfo createAudioTrackInfo(String language) { in createAudioTrackInfo() argument
307 return createAudioTrackInfo(language, 0); in createAudioTrackInfo()
310 private static TvTrackInfo createAudioTrackInfo(String language, int channelCount) { in createAudioTrackInfo() argument
312 .setLanguage(language) in createAudioTrackInfo()
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DSectionParser.java1215 String language = null; in generateAudioTracks() local
1217 language = audioDescriptor.getLanguage(); in generateAudioTracks()
1219 if (language == null) { in generateAudioTracks()
1220 language = ""; in generateAudioTracks()
1224 .setLanguage(language) in generateAudioTracks()
1277 String language = ISO_LANGUAGE_CODE_MAP.get(audioTrack.getLanguage()); in generateAudioTracks() local
1278 if (language != null) { in generateAudioTracks()
1279 audioTrack = audioTrack.setLanguage(language); in generateAudioTracks()
1599 String language = new String(data, pos, 3); in parseIso639Language() local
1607 .setLanguage(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()
/packages/apps/TV/tuner/proto/
Dtrack.proto13 * See the License for the specific language governing permissions and
26 optional string language = 1; field
44 optional string language = 1; field
/packages/apps/TV/tests/robotests/src/com/android/tv/
DMainActivityRoboTest.java203 private TvTrackInfo buildTrackForTesting(int type, String id, String language) { in buildTrackForTesting() argument
205 .setLanguage(language) in buildTrackForTesting()
210 private TvTrackInfo buildCaptionTrackForTesting(String id, String language) { in buildCaptionTrackForTesting() argument
212 .setLanguage(language) in buildCaptionTrackForTesting()
/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/exoplayer2/
DFileSampleExtractor.java123 videoFormat.language, in handlePrepare()
142 String language = getOptionalStringV16(mediaFormat, android.media.MediaFormat.KEY_LANGUAGE); in createFormat() local
179 language); in createFormat()
201 language, in createFormat()
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCdmaSmsMessageTest.java175 int language) throws BitwiseOutputStream.AccessException { in createBearerDataStream() argument
192 if (language != -1) { in createBearerDataStream()
195 bos.write(8, (language & 0xff)); in createBearerDataStream()
233 int language, int encoding, String body, int cmasCategory, int responseType, in createCmasSmsMessage() argument
257 BitwiseOutputStream bos = createBearerDataStream(messageId, priority, language); in createCmasSmsMessage()
282 int priority, int language, int encoding, String body) throws Exception { in createBroadcastSmsMessage() argument
284 BitwiseOutputStream bos = createBearerDataStream(messageId, priority, language); in createBroadcastSmsMessage()
/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/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()

12345678910>>...15