Home
last modified time | relevance | path

Searched refs:LocaleUtils (Results 1 – 25 of 33) sorted by relevance

12

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DDictionaryInfoUtilsTests.java29 import com.android.inputmethod.latin.common.LocaleUtils;
63 DictionaryInfoUtils.getMainDictId(LocaleUtils.constructLocaleFromString("en"))); in testGetMainDictId()
65 DictionaryInfoUtils.getMainDictId(LocaleUtils.constructLocaleFromString("en_US"))); in testGetMainDictId()
67 DictionaryInfoUtils.getMainDictId(LocaleUtils.constructLocaleFromString("en_GB"))); in testGetMainDictId()
70 DictionaryInfoUtils.getMainDictId(LocaleUtils.constructLocaleFromString("es"))); in testGetMainDictId()
72 DictionaryInfoUtils.getMainDictId(LocaleUtils.constructLocaleFromString("es_US"))); in testGetMainDictId()
75 LocaleUtils.constructLocaleFromString("en_US_POSIX"))); in testGetMainDictId()
DCapsModeUtilsTests.java29 import com.android.inputmethod.latin.common.LocaleUtils;
125 sp = job.runInLocale(res, LocaleUtils.constructLocaleFromString("hy_AM")); in testGetCapsMode()
150 sp = job.runInLocale(res, LocaleUtils.constructLocaleFromString("el")); in testGetCapsMode()
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DMoreKeysResources.java63 mResourcesMap.put(LocaleUtils.getLocaleCode(resMap.mLocale), resMap); in MoreKeysResources()
66 LocaleUtils.getLocaleCode(LocaleUtils.DEFAULT_LOCALE)); in MoreKeysResources()
170 return TEXTS_ARRAY_NAME_PREFIX + LocaleUtils.getLocaleCode(locale); in getArrayNameForLocale()
178 locale, LocaleUtils.getLocaleDisplayName(locale)); in dumpTexts()
190 final String localeStr = LocaleUtils.getLocaleCode(locale); in dumpLocalesMap()
191 final String localeToDump = (locale == LocaleUtils.DEFAULT_LOCALE) in dumpLocalesMap()
197 LocaleUtils.getLocaleDisplayName(locale)); in dumpLocalesMap()
DJarUtils.java99 return LocaleUtils.DEFAULT_LOCALE;
104 return LocaleUtils.constructLocaleFromString(localeStr);
106 return LocaleUtils.constructLocaleFromString(localeStr.replace("-r", "_"));
DLocaleUtils.java28 public final class LocaleUtils { class
34 private LocaleUtils() { in LocaleUtils() method in LocaleUtils
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DSubtypeLocaleUtils.java30 import com.android.inputmethod.latin.common.LocaleUtils;
180 return LocaleUtils.constructLocaleFromString(localeString); in getDisplayLocaleOfSubtypeLocale()
202 languageString = LocaleUtils.constructLocaleFromString(localeString).getLanguage(); in getSubtypeLanguageDisplayName()
234 displayName = LocaleUtils.constructLocaleFromString(localeString) in getSubtypeLocaleDisplayNameInternal()
313 return LocaleUtils.constructLocaleFromString(localeString); in getSubtypeLocale()
DDictionaryInfoUtils.java34 import com.android.inputmethod.latin.common.LocaleUtils;
509 final Locale locale = LocaleUtils.constructLocaleFromString(localeString);
536 LocaleUtils.constructLocaleFromString(locale));
547 final Locale locale = LocaleUtils.constructLocaleFromString(localeString);
574 Locale locale = LocaleUtils.constructLocaleFromString(subtype.getLocale());
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DVer4DictEncoder.java23 import com.android.inputmethod.latin.common.LocaleUtils;
60 FormatSpec.VERSION4, LocaleUtils.constructLocaleFromString( in writeDictionary()
68 LocaleUtils.constructLocaleFromString(dict.mOptions.mAttributes.get( in writeDictionary()
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DDialpadCharMappings.java23 import com.android.dialer.i18n.LocaleUtils;
136 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionaryGetter.java24 import com.android.inputmethod.latin.common.LocaleUtils;
174 final int matchLevel = LocaleUtils.getMatchLevel(dirLocale, locale); in getCachedWordLists()
175 if (LocaleUtils.isMatch(matchLevel)) { in getCachedWordLists()
DRichInputMethodSubtype.java28 import com.android.inputmethod.latin.common.LocaleUtils;
156 return LocaleUtils.isRtlLanguage(mLocale); in isRtlSubtype()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionarySettingsUtils.java20 import com.android.inputmethod.latin.common.LocaleUtils;
38 final Locale locale = LocaleUtils.constructLocaleFromString(localeStr); in getLocaleDisplayName()
DUserDictionaryAddWordContents.java31 import com.android.inputmethod.latin.common.LocaleUtils;
189 null : LocaleUtils.constructLocaleFromString(mLocale)); in apply()
231 mDescription = LocaleUtils.constructLocaleFromString(localeString).getDisplayName(); in LocaleRenderer()
DUserDictionaryList.java34 import com.android.inputmethod.latin.common.LocaleUtils;
149 LocaleUtils.constructLocaleFromString(localeString).getDisplayName()); in createUserDictionaryPreference()
/packages/apps/Dialer/java/com/android/dialer/phonenumbergeoutil/impl/
DPhoneNumberGeoUtilImpl.java22 import com.android.dialer.i18n.LocaleUtils;
48 Locale locale = LocaleUtils.getLocale(context); in getGeoDescription()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDownloadOverMeteredDialog.java29 import com.android.inputmethod.latin.common.LocaleUtils;
61 : LocaleUtils.constructLocaleFromString(localeString).getDisplayLanguage(); in setTexts()
DDictionarySettingsFragment.java19 import com.android.inputmethod.latin.common.LocaleUtils;
322 final int matchLevel = LocaleUtils.getMatchLevel(systemLocaleString, localeString); in createInstalledDictSettingsCollection()
323 final String matchLevelString = LocaleUtils.getMatchLevelSortedString(matchLevel); in createInstalledDictSettingsCollection()
DDictionaryService.java30 import com.android.inputmethod.latin.common.LocaleUtils;
171 this, LocaleUtils.constructLocaleFromString(localeString)); in onStartCommand()
DDictionaryProvider.java34 import com.android.inputmethod.latin.common.LocaleUtils;
391 final int matchLevel = LocaleUtils.getMatchLevel(wordListLocale, locale); in getDictionaryWordListsForLocale()
392 if (!LocaleUtils.isMatch(matchLevel)) { in getDictionaryWordListsForLocale()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DLocaleUtils.java33 public final class LocaleUtils { class
34 private LocaleUtils() { in LocaleUtils() method in LocaleUtils
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DInputMethodSubtypeCompatUtils.java26 import com.android.inputmethod.latin.common.LocaleUtils;
96 return LocaleUtils.constructLocaleFromString(subtype.getLocale()); in getLocaleObject()
DSuggestionSpanUtils.java29 import com.android.inputmethod.latin.common.LocaleUtils;
117 return LocaleUtils.constructLocaleFromString(localeString); in findFirstLocaleFromSuggestionSpans()
/packages/apps/Dialer/java/com/android/dialer/smartdial/map/
DCompositeSmartDialMap.java22 import com.android.dialer.i18n.LocaleUtils;
160 String languageCode = LocaleUtils.getLocale(context).getISO3Language(); in getExtraMap()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
DActionTestsBase.java33 import com.android.inputmethod.latin.common.LocaleUtils;
77 return LocaleUtils.constructLocaleFromString(localeString); in getLabelLocale()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DInputTestsBase.java47 import com.android.inputmethod.latin.common.LocaleUtils;
376 mEditText.mCurrentLocale = LocaleUtils.constructLocaleFromString(locale); in changeLanguageWithoutWait()
408 mLatinIME.replaceDictionariesForTest(LocaleUtils.constructLocaleFromString(dictLocale)); in changeKeyboardLocaleAndDictLocale()

12