/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/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertAudio.java | 211 String language = mMessagePreferredLanguage; in setTtsLanguage() local 212 if (language == null || language.isEmpty() || in setTtsLanguage() 213 TextToSpeech.LANG_AVAILABLE != mTts.isLanguageAvailable(new Locale(language))) { in setTtsLanguage() 214 language = mMessageDefaultLanguage; in setTtsLanguage() 215 if (language == null || language.isEmpty() || in setTtsLanguage() 216 TextToSpeech.LANG_AVAILABLE != mTts.isLanguageAvailable(new Locale(language))) { in setTtsLanguage() 224 if (DBG) log("Setting TTS language to '" + language + '\''); in setTtsLanguage() 227 int result = mTts.setLanguage(new Locale(language)); in setTtsLanguage() 233 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 53 boolean rhsLangMatch = Utils.isEqualLanguage(rhs.getLanguage(), language); in createComparator() 54 boolean lhsLangMatch = Utils.isEqualLanguage(lhs.getLanguage(), language); in createComparator() 94 public static TvTrackInfo getBestTrackInfo(List<TvTrackInfo> tracks, String id, String language, 99 Comparator<TvTrackInfo> comparator = createComparator(id, language, channelCount);
|
D | TvSettings.java | 155 public static void setMultiAudioId(Context context, String language) { in setMultiAudioId() argument 157 PREF_MULTI_AUDIO_ID, language).apply(); in setMultiAudioId() 165 public static void setMultiAudioLanguage(Context context, String language) { in setMultiAudioLanguage() argument 167 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 | 410 String language = context.getString(R.string.default_language); in getMultiAudioString() local 412 language = new Locale(track.getLanguage()).getDisplayName(); in getMultiAudioString() 461 return language; in getMultiAudioString() 463 return context.getString(R.string.multi_audio_display_string_with_channel, language, in getMultiAudioString()
|
/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/TV/usbtuner/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/usbtuner/src/com/android/usbtuner/ts/ |
D | SectionParser.java | 680 audioTrack.language = audioDescriptor.getLanguage(); in generateAudioTracks() 725 if (audioTrack.language == null) { in generateAudioTracks() 726 audioTrack.language = iso639LanguageTrack.language; in generateAudioTracks() 878 String language = new String(data, pos, 3); in parseIso639Language() local 881 audioTrack.language = language; in parseIso639Language() 905 String language = new String(Arrays.copyOfRange(data, pos, pos + 3)); in parseCaptionService() local 921 captionTrack.language = language; in parseCaptionService() 1121 String language = null; in parseAc3AudioStream() local 1137 language = new String(data, pos, 3); in parseAc3AudioStream() 1147 language, language2); in parseAc3AudioStream()
|
/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/services/Telephony/src/com/android/phone/ |
D | CellBroadcastSms.java | 649 private static void setConfigDataCompleteLanguage(int language) { in setConfigDataCompleteLanguage() argument 652 mConfigDataComplete[i] = language; in setConfigDataCompleteLanguage() 657 int language = mConfigDataComplete[2]; in getConfigDataLanguage() local 660 if (language < 1 || language > 7) { in getConfigDataLanguage() 665 return language; in getConfigDataLanguage()
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/ |
D | TunerSessionWorker.java | 1038 String language = audioTrack.language; in updateAudioTracks() local 1039 if (language == null && mChannel.getAudioTracks() != null in updateAudioTracks() 1042 language = mChannel.getAudioTracks().get(index).language; in updateAudioTracks() 1051 if (IsoUtils.isValidIso3Language(language)) { in updateAudioTracks() 1052 builder.setLanguage(language); in updateAudioTracks() 1080 String language = captionTrack.language; in updateCaptionTracks() local 1087 if (IsoUtils.isValidIso3Language(language)) { in updateCaptionTracks() 1088 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/usbtuner/src/com/android/usbtuner/data/ |
D | PsipData.java | 334 String language, String language2) { in Ac3AudioDescriptor() argument 348 mLanguage = language; in Ac3AudioDescriptor() 660 if (IsoUtils.isValidIso3Language(audioTrack.language)) { in getAudioLanguage() 661 languages.add(audioTrack.language); in getAudioLanguage()
|
/packages/apps/TV/usbtuner/src/com/google/android/exoplayer/ |
D | MediaFormatUtil.java | 34 String language = getOptionalStringV16(format, android.media.MediaFormat.KEY_LANGUAGE); in createMediaFormat() local 57 channelCount, sampleRate, language, MediaFormat.OFFSET_SAMPLE_RELATIVE, in createMediaFormat()
|
/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/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/ |
D | SendCdmaCmasMessages.java | 140 String language, String body, int cmasCategory, int responseType, int severity, in createCmasSmsMessage() argument 147 serviceCategory, language, body, SmsCbMessage.MESSAGE_PRIORITY_EMERGENCY, null, 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/services/Mms/src/com/android/mms/service/ |
D | MmsHttpClient.java | 323 final String language = convertObsoleteLanguageCodeToNew(locale.getLanguage()); in addLocaleToHttpAcceptLanguage() local 324 if (language != null) { in addLocaleToHttpAcceptLanguage() 325 builder.append(language); in addLocaleToHttpAcceptLanguage()
|
/packages/apps/Messaging/ |
D | proguard-release.flags | 12 # See the License for the specific language governing permissions and
|
D | proguard-test.flags | 12 # See the License for the specific language governing permissions and
|
/packages/apps/Calculator/ |
D | build.gradle | 13 * See the License for the specific language governing permissions and
|