Home
last modified time | relevance | path

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

123

/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/apps/TV/src/com/android/tv/util/
DTvTrackInfoUtils.java65 language == null || Utils.isEqualLanguage(lhs.getLanguage(), language); in createComparator()
67 language == null || Utils.isEqualLanguage(rhs.getLanguage(), language); in createComparator()
128 if (!TextUtils.isEmpty(track.getLanguage())) {
129 language = new Locale(track.getLanguage()).getDisplayName();
215 + info.getLanguage()
DCaptionSettings.java41 return l.getLanguage(); in getSystemLanguage()
46 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/settings/
DSpacingAndPunctuations.java70 mUsesAmericanTypography = Locale.ENGLISH.getLanguage().equals(locale.getLanguage()); in SpacingAndPunctuations()
71 mUsesGermanRules = Locale.GERMAN.getLanguage().equals(locale.getLanguage()); in SpacingAndPunctuations()
/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()
DSuggest.java65 sLanguageToMaximumAutoCorrectionWithSpaceLength.put(Locale.GERMAN.getLanguage(), in Locale.GERMAN.getLanguage()
401 sLanguageToMaximumAutoCorrectionWithSpaceLength.get(locale.getLanguage()); in isAllowedByAutoCorrectionWithSpaceFilter()
/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/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/TV/src/com/android/tv/
DTvOptionsManager.java93 : (track.getLanguage() != null) in onClosedCaptionsChanged()
94 ? track.getLanguage() in onClosedCaptionsChanged()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DAlphabeticIndexCompat.java33 .getLanguage().equals(Locale.JAPANESE.getLanguage())) { in AlphabeticIndexCompat()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackSideFragment.java131 if (track.getLanguage() != null) {
132 return new Locale(track.getLanguage()).getDisplayName();
DDvrPlaybackOverlayFragment.java377 selectedTrack.getLanguage(), in selectBestMatchedTrack()
384 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.java351 intent.putExtra("language", mCurrentDefaultLocale.getLanguage()); in getSampleText()
377 if (mTts != null && mTts.getLanguage() != null) { in getDefaultSampleString()
379 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()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/tts/
DTextToSpeechSettings.java459 intent.putExtra("language", mCurrentDefaultLocale.getLanguage()); in getSampleText()
551 if (mTts != null && mTts.getLanguage() != null) { in getDefaultSampleString()
553 final String currentLang = mTts.getLanguage().getISO3Language(); in getDefaultSampleString()
/packages/apps/Settings/src/com/android/settings/tts/
DTextToSpeechSettings.java459 intent.putExtra("language", mCurrentDefaultLocale.getLanguage()); in getSampleText()
551 if (mTts != null && mTts.getLanguage() != null) { in getDefaultSampleString()
553 final String currentLang = mTts.getLanguage().getISO3Language(); in getDefaultSampleString()
/packages/apps/Dialer/java/com/android/contacts/common/model/account/
DSamsungAccountType.java90 Locale.JAPANESE.getLanguage().equals(Locale.getDefault().getLanguage()); in addDataKindStructuredPostal()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DSamsungAccountType.java93 Locale.JAPANESE.getLanguage().equals(Locale.getDefault().getLanguage()); in addDataKindStructuredPostal()
DExchangeAccountType.java189 Locale.JAPANESE.getLanguage().equals(Locale.getDefault().getLanguage()); in addDataKindStructuredPostal()

123