Home
last modified time | relevance | path

Searched refs:getLocale (Results 1 – 25 of 58) sorted by relevance

123

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputMethodSubtype.java83 return SubtypeLocaleUtils.NO_LANGUAGE.equals(mSubtype.getLocale()); in isNoLanguage()
113 return SubtypeLocaleUtils.getSubtypeLocaleDisplayName(mSubtype.getLocale()); in getFullDisplayName()
122 return SubtypeLocaleUtils.getSubtypeLanguageDisplayName(mSubtype.getLocale()); in getMiddleDisplayName()
145 public Locale getLocale() { in getLocale() method in RichInputMethodSubtype
DRichInputMethodManager.java340 return sForcedSubtypeForTesting.getLocale(); in getCurrentSubtypeLocale()
342 return getCurrentSubtype().getLocale(); in getCurrentSubtypeLocale()
424 if (localeString.equals(subtype.getLocale()) in findSubtypeByLocaleAndKeyboardLayoutSet()
525 if (!subtype.isAuxiliary() && !subtype.getLocale().isEmpty() in isSystemLocaleSameAsLocaleOfAllEnabledSubtypesOfEnabledImes()
543 mShortcutSubtype.getLocale() + ", " + mShortcutSubtype.getMode()))); in updateShortcutIme()
574 mShortcutSubtype.getLocale() + ", " + mShortcutSubtype.getMode()))); in updateShortcutIme()
DDictionaryFacilitatorImpl.java236 public Locale getLocale() { in getLocale() method in DictionaryFacilitatorImpl
526 final String lowerCaseWord = originalWord.toLowerCase(getLocale()); in putWordIntoValidSpellingWordCache()
531 StringUtils.capitalizeFirstAndDowncaseRest(originalWord, getLocale()); in putWordIntoValidSpellingWordCache()
DSuggest.java167 final Locale locale = mDictionaryFacilitator.getLocale(); in getSuggestedWordsForNonBatchInput()
298 final Locale locale = mDictionaryFacilitator.getLocale(); in getSuggestedWordsForBatchInput()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DLanguageFragment.java84 final String languageTag = localeInfo.getLocale().toLanguageTag(); in onCreatePreferences()
94 if (localeInfo.getLocale().equals(currentLocale)) { in onCreatePreferences()
115 mNewLocale = mLocaleInfoMap.get(radioPreference.getKey()).getLocale(); in onPreferenceTreeClick()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/
DLayoutBase.java58 public final Locale getLocale() { return mCustomizer.getLocale(); } in getLocale() method in LayoutBase
124 builder.toUpperCase(getLocale()); in getCommonAlphabetShiftLayout()
DColemak.java56 builder.toUpperCase(getLocale()); in getCommonAlphabetShiftLayout()
DAzerty.java57 builder.toUpperCase(getLocale()); in getCommonAlphabetShiftLayout()
DGreek.java64 builder.toUpperCase(getLocale()); in getCommonAlphabetShiftLayout()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DSubtypeLocaleUtils.java265 return getSubtypeLocaleDisplayNameInternal(subtype.getLocale(), displayLocale); in getReplacementString()
299 + " locale=" + subtype.getLocale() in getSubtypeDisplayNameInternal()
312 final String localeString = subtype.getLocale(); in getSubtypeLocale()
335 final String key = subtype.getLocale() + ":" + subtype.getExtraValue(); in getKeyboardLayoutSetName()
342 "locale=" + subtype.getLocale() + " extraValue=" + subtype.getExtraValue()); in getKeyboardLayoutSetName()
DLanguageOnSpacebarUtils.java53 final Locale locale = subtype.getLocale(); in getLanguageOnSpacebarFormatType()
79 final Locale newLocale = subtype.getLocale(); in onSubtypeChanged()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DHelpUrl.java54 helpUri = Uri.parse(helpUri.toString().replace("%locale%", getLocale())); in getHelpUrl()
64 private static String getLocale() { in getLocale() method in HelpUrl
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardId.java177 public Locale getLocale() { in getLocale() method in KeyboardId
178 return mSubtype.getLocale(); in getLocale()
195 mSubtype.getLocale(), in toString()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DRichInputMethodSubtypeTests.java168 .getSubtypeLocaleDisplayName(subtype.getLocale().toString()); in testAllFullDisplayNameForSpacebar()
181 final Locale locale = subtype.getLocale(); in testAllMiddleDisplayNameForSpacebar()
315 assertEquals("zz", subtype.getRawSubtype().getLocale()); in testRichInputMethodSubtypeForNullInputMethodSubtype()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DProfileProvider.java113 protected Locale getLocale() { in getLocale() method in ProfileProvider
114 return mDelegate.getLocale(); in getLocale()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DCustomInputStylePreference.java104 setKey(KEY_PREFIX + subtype.getLocale() + "_" in setSubtype()
262 mLocaleString = subtype.getLocale(); in SubtypeLocaleItem()
295 subtype.getLocale(), subtype.hashCode(), subtype.hashCode(), in SubtypeLocaleAdapter()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DAdditionalSubtypeUtilsTests.java109 assertEquals("en_US", subtype.getLocale()); in assertEnUsDvorak()
132 assertEquals("zz", subtype.getLocale()); in assertAzerty()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DSynchronousProfileProvider.java43 protected Locale getLocale() { in getLocale() method in SynchronousProfileProvider
/packages/inputmethods/LatinIME/native/jni/src/dictionary/interface/
Ddictionary_header_structure_policy.h52 virtual const std::vector<int> *getLocale() const = 0;
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
DKlpActionTestsBase.java34 SubtypeLocaleUtils.getDisplayLocaleOfSubtypeLocale(subtype.getLocale()));
/packages/apps/TV/src/com/android/tv/util/
DCaptionSettings.java40 Locale l = mCaptioningManager.getLocale(); in getSystemLanguage()
/packages/apps/Settings/src/com/android/settings/accessibility/
DLocalePreference.java56 entryValues[i + 1] = info.getLocale().toString(); in init()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/
Ddic_traverse_session.cpp77 getDictionaryStructurePolicy()->getHeaderStructurePolicy()->getLocale()); in initializeProximityInfoStates()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DInputMethodSubtypePreference.java47 final String subtypeLocaleString = subtype.getLocale(); in InputMethodSubtypePreference()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/customizer/
DLayoutCustomizer.java38 public final Locale getLocale() { return mLocale; } in getLocale() method in LayoutCustomizer

123