Home
last modified time | relevance | path

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

1234

/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/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/Car/LatinIME/src/com/android/inputmethod/latin/
DCarLatinIME.java194 mKeyboardView.setKeyboard(mQweKeyboard, getLocale()); in onStartInputView()
202 public Locale getLocale() { in getLocale() method in CarLatinIME
276 mKeyboardView.setKeyboard(mSymbolKeyboard, getLocale());
278 mKeyboardView.setKeyboard(mQweKeyboard, getLocale());
290 mKeyboardView.setKeyboard(mQweKeyboard, getLocale());
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DLanguageFragment.java89 final String languageTag = localeInfo.getLocale().toLanguageTag(); in onCreatePreferences()
99 if (localeInfo.getLocale().equals(currentLocale)) { in onCreatePreferences()
120 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()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DRegionZonePicker.java65 final LocaleDisplayNames localeDisplayNames = LocaleDisplayNames.getInstance(getLocale()); in onCreate()
117 final TimeZoneInfo.Formatter formatter = new TimeZoneInfo.Formatter(getLocale(), in getRegionTimeZoneInfo()
120 new TreeSet<>(new TimeZoneInfoComparator(Collator.getInstance(getLocale()), in getRegionTimeZoneInfo()
DRegionSearchPicker.java64 this::onListItemClick, getLocale(), false /* showItemSummary */, in createAdapter()
114 final Collator collator = Collator.getInstance(getLocale()); in createAdapterItem()
116 final LocaleDisplayNames localeDisplayNames = LocaleDisplayNames.getInstance(getLocale()); in createAdapterItem()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/
DRegionZonePicker.java65 final LocaleDisplayNames localeDisplayNames = LocaleDisplayNames.getInstance(getLocale()); in onCreate()
117 final TimeZoneInfo.Formatter formatter = new TimeZoneInfo.Formatter(getLocale(), in getRegionTimeZoneInfo()
120 new TreeSet<>(new TimeZoneInfoComparator(Collator.getInstance(getLocale()), in getRegionTimeZoneInfo()
DRegionSearchPicker.java64 this::onListItemClick, getLocale(), false /* showItemSummary */, in createAdapter()
114 final Collator collator = Collator.getInstance(getLocale()); in createAdapterItem()
116 final LocaleDisplayNames localeDisplayNames = LocaleDisplayNames.getInstance(getLocale()); in createAdapterItem()
/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/apps/TV/src/com/android/tv/util/
DCaptionSettings.java49 Locale l = mCaptioningManager.getLocale(); in getSystemLanguage()
60 Locale l = mCaptioningManager.getLocale(); in getSystemPreferenceLanguageList()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DRichInputMethodSubtypeTests.java180 .getSubtypeLocaleDisplayName(subtype.getLocale().toString()); in testAllFullDisplayNameForSpacebar()
194 final Locale locale = subtype.getLocale(); in testAllMiddleDisplayNameForSpacebar()
333 assertEquals("zz", subtype.getRawSubtype().getLocale()); in testRichInputMethodSubtypeForNullInputMethodSubtype()
/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/apps/Dialer/java/com/android/dialer/dialpadview/
DDialpadCharMappings.java136 return CHAR_TO_KEY_MAPS.get(LocaleUtils.getLocale(context).getISO3Language()); in getCharToKeyMap()
166 return KEY_TO_CHAR_MAPS.get(LocaleUtils.getLocale(context).getISO3Language()); in getKeyToCharsMap()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DProfileProvider.java123 protected Locale getLocale() { in getLocale() method in ProfileProvider
124 return mDelegate.getLocale(); in getLocale()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DAdditionalSubtypeUtilsTests.java119 assertEquals("en_US", subtype.getLocale()); in assertEnUsDvorak()
142 assertEquals("zz", subtype.getLocale()); in assertAzerty()
/packages/apps/Dialer/java/com/android/dialer/location/
DCountryDetector.java183 Locale defaultLocale = localeProvider.getLocale(); in getLocaleBasedCountryIso()
198 Locale getLocale(); in getLocale() method
/packages/apps/Dialer/java/com/android/dialer/i18n/
DLocaleUtils.java26 public static Locale getLocale(Context context) { in getLocale() method in LocaleUtils
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DSynchronousProfileProvider.java44 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/apps/Car/Settings/src/com/android/car/settings/language/
DLocaleUtil.java37 preference.getExtras().putSerializable(LOCALE_BUNDLE_KEY, localeInfo.getLocale()); in setLocaleArgument()

1234