Home
last modified time | relevance | path

Searched refs:getLanguage (Results 1 – 25 of 85) sorted by relevance

1234

/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DSmsCbHeader.java43 Locale.GERMAN.getLanguage(), // German
44 Locale.ENGLISH.getLanguage(), // English
45 Locale.ITALIAN.getLanguage(), // Italian
46 Locale.FRENCH.getLanguage(), // French
47 new Locale("es").getLanguage(), // Spanish
48 new Locale("nl").getLanguage(), // Dutch
49 new Locale("sv").getLanguage(), // Swedish
50 new Locale("da").getLanguage(), // Danish
51 new Locale("pt").getLanguage(), // Portuguese
52 new Locale("fi").getLanguage(), // Finnish
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DOsuProviderInfoTest.java107 new I18Name(nonDefaultLocale.getLanguage(), nonDefaultLocale, nonDefaultString)); in getFriendlyNameMatchingDefaultLocale()
108 friendlyNames.add(new I18Name(defaultLocale.getLanguage(), defaultLocale, defaultString)); in getFriendlyNameMatchingDefaultLocale()
130 new I18Name(nonDefaultLocale.getLanguage(), nonDefaultLocale, firstString)); in getFriendlyNameNotMatchingDefaultLocale()
132 new I18Name(nonDefaultLocale.getLanguage(), nonDefaultLocale, secondString)); in getFriendlyNameNotMatchingDefaultLocale()
167 new I18Name(nonDefaultLocale.getLanguage(), nonDefaultLocale, nonDefaultString)); in getServiceDescriptionMatchingDefaultLocale()
169 new I18Name(defaultLocale.getLanguage(), defaultLocale, defaultString)); in getServiceDescriptionMatchingDefaultLocale()
191 new I18Name(nonDefaultLocale.getLanguage(), nonDefaultLocale, firstString)); in getServiceDescriptionNotMatchingDefaultLocale()
193 new I18Name(nonDefaultLocale.getLanguage(), nonDefaultLocale, secondString)); in getServiceDescriptionNotMatchingDefaultLocale()
/packages/apps/TV/src/com/android/tv/util/
DTvTrackInfoUtils.java75 Iterables.indexOf(languages, s -> Utils.isEqualLanguage(lhs.getLanguage(), s)); in createComparator()
80 Iterables.indexOf(languages, s -> Utils.isEqualLanguage(rhs.getLanguage(), s)); in createComparator()
123 languages.add(locales.get(i).getLanguage());
126 languages.add(Locale.getDefault().getLanguage());
159 if (!TextUtils.isEmpty(track.getLanguage())) {
160 language = new Locale(track.getLanguage()).getDisplayName();
242 + info.getLanguage()
DCaptionSettings.java51 return l.getLanguage(); in getSystemLanguage()
62 languageList.add(l.getLanguage()); in getSystemPreferenceLanguageList()
67 languageList.add(locales.get(i).getLanguage()); in getSystemPreferenceLanguageList()
70 languageList.add(Locale.getDefault().getLanguage()); in getSystemPreferenceLanguageList()
77 public final String getLanguage() { in getLanguage() method in CaptionSettings
DTvSettings.java122 .putString(PREF_DVR_MULTI_AUDIO_LANGUAGE, info.getLanguage()) in setDvrPlaybackTrackSettings()
136 .putString(PREF_DVR_SUBTITLE_LANGUAGE, info.getLanguage()) in setDvrPlaybackTrackSettings()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DLanguageOnSpacebarUtils.java57 final String keyboardLanguage = locale.getLanguage(); in getLanguageOnSpacebarFormatType()
61 final String language = SubtypeLocaleUtils.getSubtypeLocale(ims).getLanguage(); in getLanguageOnSpacebarFormatType()
84 if (!systemLocale.getLanguage().equals(newLocale.getLanguage())) { in onSubtypeChanged()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSpacingAndPunctuations.java70 mUsesAmericanTypography = Locale.ENGLISH.getLanguage().equals(locale.getLanguage()); in SpacingAndPunctuations()
71 mUsesGermanRules = Locale.GERMAN.getLanguage().equals(locale.getLanguage()); in SpacingAndPunctuations()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DOsuProviderInfo.java88 e -> mFriendlyNames.put(e.getLocale().getLanguage(), e.getText())); in OsuProviderInfo()
195 String lang = Locale.getDefault().getLanguage(); in getFriendlyName()
316 if (name.getLanguage().equals(Locale.getDefault().getLanguage())) { in getI18String()
DI18Name.java90 public String getLanguage() { in getLanguage() method in I18Name
125 return mText + ':' + mLocale.getLanguage(); in toString()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLocaleSet.java53 return locale != null && "zh".equals(locale.getLanguage()); in isLanguageChinese()
58 return locale != null && "ja".equals(locale.getLanguage()); in isLanguageJapanese()
63 return locale != null && "ko".equals(locale.getLanguage()); in isLanguageKorean()
DPostalSplitter.java28 private static final String JAPANESE_LANGUAGE = Locale.JAPANESE.getLanguage().toLowerCase();
91 JAPANESE_LANGUAGE.equals(mLocale.getLanguage()) && in join()
DNameSplitter.java50 private static final String JAPANESE_LANGUAGE = Locale.JAPANESE.getLanguage().toLowerCase();
51 private static final String KOREAN_LANGUAGE = Locale.KOREAN.getLanguage().toLowerCase();
54 private static final String CHINESE_LANGUAGE = Locale.CHINESE.getLanguage().toLowerCase();
291 mLanguage = mLocale.getLanguage().toLowerCase(); in NameSplitter()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputMethodManager.java448 if (subtypeLocale.getLanguage().equals(locale.getLanguage()) && in findSubtypeByLocale()
457 if (subtypeLocale.getLanguage().equals(locale.getLanguage()) && in findSubtypeByLocale()
465 if (subtypeLocale.getLanguage().equals(locale.getLanguage())) { in findSubtypeByLocale()
DContactsDictionaryUtils.java50 if (locale != null && locale.getLanguage().equals(Locale.ENGLISH.getLanguage())) { in useFirstLastBigramsForLocale()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DClosedCaptionFragment.java59 mClosedCaptionLanguage = captionSettings.getLanguage(); in getItemList()
131 } else if (track.getLanguage() != null) { in getLabel()
132 return new Locale(track.getLanguage()).getDisplayName(); in getLabel()
/packages/apps/Settings/src/com/android/settings/widget/
DUsageView.java93 final String defaultLanguageCode = Locale.getDefault().getLanguage(); in UsageView()
94 if (TextUtils.equals(defaultLanguageCode, new Locale("fa").getLanguage()) in UsageView()
95 || TextUtils.equals(defaultLanguageCode, new Locale("ur").getLanguage())) { in UsageView()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DAlphabeticIndexCompat.java35 if (primaryLocale.getLanguage().equals(Locale.JAPANESE.getLanguage())) { in AlphabeticIndexCompat()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DSystemInfo.java61 public String getLanguage() { in getLanguage() method in SystemInfo
62 return Locale.getDefault().getLanguage(); in getLanguage()
/packages/apps/TV/src/com/android/tv/
DTvOptionsManager.java93 : (track.getLanguage() != null) in onClosedCaptionsChanged()
94 ? track.getLanguage() in onClosedCaptionsChanged()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackSideFragment.java131 if (track.getLanguage() != null) {
132 return new Locale(track.getLanguage()).getDisplayName();
DDvrPlaybackOverlayFragment.java405 selectedTrack.getLanguage(), in selectBestMatchedTrack()
412 bestMatchedTrack.getLanguage(), selectedTrack.getLanguage()))) { in selectBestMatchedTrack()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
DGoogleSearch.java75 public static String getLanguage(Locale locale) { in getLanguage() method in GoogleSearch
76 String language = locale.getLanguage(); in getLanguage()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DReverseGeocoder.java326 writeUTF(dos, locale.getLanguage()); in lookupAddress()
370 if (!locale.getLanguage().equals(Locale.getDefault().getLanguage())) { in lookupAddress()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DTextToSpeechFragment.java353 intent.putExtra("language", mCurrentDefaultLocale.getLanguage()); in getSampleText()
379 if (mTts != null && mTts.getLanguage() != null) { in getDefaultSampleString()
381 final String currentLang = mTts.getLanguage().getISO3Language(); in getDefaultSampleString()
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/
DVvm3Protocol.java230 if (Locale.getDefault().getLanguage().equals(new Locale(ISO639_SPANISH).getLanguage())) { in startProvisionNewUser()

1234