Home
last modified time | relevance | path

Searched refs:getLanguage (Results 1 – 25 of 56) 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()
DScriptUtils.java187 String language = locale.getLanguage(); in getScriptFromSpellCheckerLocale()
/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/apps/TV/src/com/android/tv/ui/sidepanel/
DClosedCaptionFragment.java63 mClosedCaptionLanguage = captionSettings.getLanguage(); in getItemList()
87 CaptionSettings.OPTION_ON, track.getId(), track.getLanguage()); in getItemList()
176 if (track.getLanguage() != null) { in getLabel()
177 return new Locale(track.getLanguage()).getDisplayName(); in getLabel()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DAlphabeticIndexCompat.java40 .getLanguage().equals(Locale.JAPANESE.getLanguage())) { in AlphabeticIndexCompat()
125 if (!curLocale.getLanguage().equals(Locale.ENGLISH.getLanguage())) { in AlphabeticIndexV16()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLocaleSet.java52 return locale != null && "zh".equals(locale.getLanguage()); in isLanguageChinese()
57 return locale != null && "ja".equals(locale.getLanguage()); in isLanguageJapanese()
62 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/
DContactsDictionaryUtils.java50 if (locale != null && locale.getLanguage().equals(Locale.ENGLISH.getLanguage())) { in useFirstLastBigramsForLocale()
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()
DSuggest.java65 sLanguageToMaximumAutoCorrectionWithSpaceLength.put(Locale.GERMAN.getLanguage(), in Locale.GERMAN.getLanguage()
401 sLanguageToMaximumAutoCorrectionWithSpaceLength.get(locale.getLanguage()); in isAllowedByAutoCorrectionWithSpaceFilter()
/packages/apps/TV/src/com/android/tv/util/
DCaptionSettings.java42 return l.getLanguage(); in getSystemLanguage()
47 public final String getLanguage() { in getLanguage() method in CaptionSettings
DTvTrackInfoUtils.java53 boolean rhsLangMatch = Utils.isEqualLanguage(rhs.getLanguage(), language); in createComparator()
54 boolean lhsLangMatch = Utils.isEqualLanguage(lhs.getLanguage(), language); in createComparator()
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DExchangeSource.java70 Locale.JAPANESE.getLanguage().equals(Locale.getDefault().getLanguage()); in inflateStructuredName()
175 Locale.JAPANESE.getLanguage().equals(Locale.getDefault().getLanguage()); in inflateStructuredPostal()
/packages/apps/TV/src/com/android/tv/
DTvOptionsManager.java122 : (track.getLanguage() != null) ? track.getLanguage() in onClosedCaptionsChanged()
/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()
DSearchBaseUrlHelper.java94 getSearchDomain(), GoogleSearch.getLanguage(Locale.getDefault())); in getSearchBaseUrl()
/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.java344 intent.putExtra("language", mCurrentDefaultLocale.getLanguage()); in getSampleText()
370 if (mTts != null && mTts.getLanguage() != null) { in getDefaultSampleString()
372 final String currentLang = mTts.getLanguage().getISO3Language(); in getDefaultSampleString()
/packages/apps/Settings/src/com/android/settings/tts/
DTextToSpeechSettings.java433 intent.putExtra("language", mCurrentDefaultLocale.getLanguage()); in getSampleText()
459 if (mTts != null && mTts.getLanguage() != null) { in getDefaultSampleString()
461 final String currentLang = mTts.getLanguage().getISO3Language(); in getDefaultSampleString()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DHelpUrl.java66 return locale.getLanguage() + "-" + locale.getCountry().toLowerCase(); in getLocale()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DInputMethodSubtypePreference.java56 .equals(systemLocale.getLanguage()); in InputMethodSubtypePreference()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
DSamsungAccountType.java93 Locale.JAPANESE.getLanguage().equals(Locale.getDefault().getLanguage()); in addDataKindStructuredPostal()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DLocaleUtils.java208 return sRtlLanguageCodes.contains(locale.getLanguage()); in isRtlLanguage()
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DLocaleUtils.java162 if (locale.getLanguage().equals(NO_LANGUAGE_LOCALE_CODE)) { in getLocaleDisplayName()

123