/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | DictionaryInfoUtilsTests.java | 29 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()
|
D | CapsModeUtilsTests.java | 29 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/ |
D | MoreKeysResources.java | 63 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()
|
D | JarUtils.java | 99 return LocaleUtils.DEFAULT_LOCALE; 104 return LocaleUtils.constructLocaleFromString(localeStr); 106 return LocaleUtils.constructLocaleFromString(localeStr.replace("-r", "_"));
|
D | LocaleUtils.java | 28 public final class LocaleUtils { class 34 private LocaleUtils() { in LocaleUtils() method in LocaleUtils
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | SubtypeLocaleUtils.java | 30 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()
|
D | DictionaryInfoUtils.java | 34 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/ |
D | Ver4DictEncoder.java | 23 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/ |
D | DialpadCharMappings.java | 23 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/userdictionary/ |
D | UserDictionarySettingsUtils.java | 20 import com.android.inputmethod.latin.common.LocaleUtils; 38 final Locale locale = LocaleUtils.constructLocaleFromString(localeStr); in getLocaleDisplayName()
|
D | UserDictionaryAddWordContents.java | 31 import com.android.inputmethod.latin.common.LocaleUtils; 189 null : LocaleUtils.constructLocaleFromString(mLocale)); in apply() 231 mDescription = LocaleUtils.constructLocaleFromString(localeString).getDisplayName(); in LocaleRenderer()
|
D | UserDictionaryList.java | 34 import com.android.inputmethod.latin.common.LocaleUtils; 149 LocaleUtils.constructLocaleFromString(localeString).getDisplayName()); in createUserDictionaryPreference()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryGetter.java | 24 import com.android.inputmethod.latin.common.LocaleUtils; 174 final int matchLevel = LocaleUtils.getMatchLevel(dirLocale, locale); in getCachedWordLists() 175 if (LocaleUtils.isMatch(matchLevel)) { in getCachedWordLists()
|
D | RichInputMethodSubtype.java | 28 import com.android.inputmethod.latin.common.LocaleUtils; 156 return LocaleUtils.isRtlLanguage(mLocale); in isRtlSubtype()
|
/packages/apps/Dialer/java/com/android/dialer/phonenumbergeoutil/impl/ |
D | PhoneNumberGeoUtilImpl.java | 22 import com.android.dialer.i18n.LocaleUtils; 48 Locale locale = LocaleUtils.getLocale(context); in getGeoDescription()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | DownloadOverMeteredDialog.java | 29 import com.android.inputmethod.latin.common.LocaleUtils; 61 : LocaleUtils.constructLocaleFromString(localeString).getDisplayLanguage(); in setTexts()
|
D | DictionaryService.java | 30 import com.android.inputmethod.latin.common.LocaleUtils; 171 this, LocaleUtils.constructLocaleFromString(localeString)); in onStartCommand()
|
D | DictionarySettingsFragment.java | 19 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()
|
D | DictionaryProvider.java | 34 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/ |
D | LocaleUtils.java | 33 public final class LocaleUtils { class 34 private LocaleUtils() { in LocaleUtils() method in LocaleUtils
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | InputMethodSubtypeCompatUtils.java | 26 import com.android.inputmethod.latin.common.LocaleUtils; 96 return LocaleUtils.constructLocaleFromString(subtype.getLocale()); in getLocaleObject()
|
D | SuggestionSpanUtils.java | 29 import com.android.inputmethod.latin.common.LocaleUtils; 117 return LocaleUtils.constructLocaleFromString(localeString); in findFirstLocaleFromSuggestionSpans()
|
/packages/apps/Dialer/java/com/android/dialer/smartdial/map/ |
D | CompositeSmartDialMap.java | 22 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/ |
D | ActionTestsBase.java | 33 import com.android.inputmethod.latin.common.LocaleUtils; 77 return LocaleUtils.constructLocaleFromString(localeString); in getLabelLocale()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | InputTestsBase.java | 47 import com.android.inputmethod.latin.common.LocaleUtils; 376 mEditText.mCurrentLocale = LocaleUtils.constructLocaleFromString(locale); in changeLanguageWithoutWait() 408 mLatinIME.replaceDictionariesForTest(LocaleUtils.constructLocaleFromString(dictLocale)); in changeKeyboardLocaleAndDictLocale()
|