Searched refs:LocaleHelper (Results 1 – 13 of 13) sorted by relevance
/frameworks/opt/localepicker/tests/src/com/android/localepicker/ |
D | LocaleHelperTest.java | 21 import com.android.localepicker.LocaleHelper.LocaleInfoComparator; 37 String sentenceCase = LocaleHelper.toSentenceCase("hello Google", Locale.US); in toSentenceCase_shouldUpperCaseFirstLetter() 43 String lowerCase = LocaleHelper.normalizeForSearch("english", Locale.US); in normalizeForSearch_sameStrings_shouldBeEqualAfterNormalized() 44 String upperCase = LocaleHelper.normalizeForSearch("ENGLISH", Locale.US); in normalizeForSearch_sameStrings_shouldBeEqualAfterNormalized() 51 LocaleHelper.getDisplayName(Locale.US, Locale.US, /* sentenceCase */ true); in getDisplayName_shouldReturnLocaleDisplayName() 58 LocaleHelper.getDisplayName( in getDisplayName_withDifferentLocale_shouldReturnLocalizedDisplayName() 67 String displayCountry = LocaleHelper.getDisplayCountry(Locale.GERMANY, Locale.GERMANY); in getDisplayCountry_shouldReturnLocalizedCountryName()
|
D | SuggestedLocaleAdapterTest.java | 21 import com.android.localepicker.LocaleHelper.LocaleInfoComparator;
|
/frameworks/opt/localepicker/src/com/android/localepicker/ |
D | LocaleStore.java | 126 LocaleHelper.getDisplayName(mLocale, mLocale, true /* sentence case */); in getFullNameNative() 133 mFullCountryNameNative = LocaleHelper.getDisplayCountry(mLocale, mLocale); in getFullCountryNameNative() 140 return LocaleHelper.getDisplayCountry(mLocale); in getFullCountryNameInUiLanguage() 150 return LocaleHelper.getDisplayName(mLocale, true /* sentence case */); in getFullNameInUiLanguage() 159 Locale parentWithScript = getParent(LocaleHelper.addLikelySubtags(baseLocale)); in getLangScriptKey()
|
D | SuggestedLocaleAdapter.java | 241 public void sort(LocaleHelper.LocaleInfoComparator comp) { in sort() 263 String prefixString = LocaleHelper.normalizeForSearch(prefix.toString(), locale); in performFiltering() 270 final String nameToCheck = LocaleHelper.normalizeForSearch( in performFiltering() 272 final String nativeNameToCheck = LocaleHelper.normalizeForSearch( in performFiltering()
|
D | LocaleHelper.java | 33 public class LocaleHelper { class
|
/frameworks/base/core/java/com/android/internal/app/ |
D | SuggestedLocaleAdapter.java | 338 public void sort(LocaleHelper.LocaleInfoComparator comp) { in sort() 360 String prefixString = LocaleHelper.normalizeForSearch(prefix.toString(), locale); in performFiltering() 367 final String nameToCheck = LocaleHelper.normalizeForSearch( in performFiltering() 369 final String nativeNameToCheck = LocaleHelper.normalizeForSearch( in performFiltering()
|
D | LocaleStore.java | 215 LocaleHelper.getDisplayName(locale, locale, true /* sentence case */); in getFullNameNative() 222 mFullCountryNameNative = LocaleHelper.getDisplayCountry(mLocale, mLocale); in getFullCountryNameNative() 229 return LocaleHelper.getDisplayCountry(mLocale); in getFullCountryNameInUiLanguage() 241 return LocaleHelper.getDisplayName(locale, true /* sentence case */); in getFullNameInUiLanguage() 250 Locale parentWithScript = getParent(LocaleHelper.addLikelySubtags(baseLocale)); in getLangScriptKey() 268 return LocaleHelper.getDisplayNumberingSystemKeyValue(mLocale, mLocale); in getNumberingSystem()
|
D | LocaleHelper.java | 35 public class LocaleHelper { class 161 localeNames[i] = LocaleHelper.getDisplayName(locales.get(i), dispLocale, false); in getDisplayLocaleList()
|
D | LocalePickerWithRegion.java | 205 final LocaleHelper.LocaleInfoComparator comp = in onCreate() 206 new LocaleHelper.LocaleInfoComparator(sortingLocale, countryMode); in onCreate()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/ |
D | InputMethodAndSubtypeUtil.java | 38 import com.android.internal.app.LocaleHelper; 381 return LocaleHelper.toSentenceCase(subtypeName.toString(), locale); in getSubtypeLocaleNameAsSentence() 399 return LocaleHelper.toSentenceCase( in getSubtypeLocaleNameListAsSentence()
|
D | InputMethodAndSubtypeUtilCompat.java | 40 import com.android.internal.app.LocaleHelper; 424 return LocaleHelper.toSentenceCase(subtypeName.toString(), locale); in getSubtypeLocaleNameAsSentence() 442 return LocaleHelper.toSentenceCase( in getSubtypeLocaleNameListAsSentence()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | BilingualSuggestedLocaleAdapterTest.java | 23 import com.android.internal.app.LocaleHelper.LocaleInfoComparator;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/ |
D | ZoneGetter.java | 39 import com.android.internal.app.LocaleHelper; 129 return LocaleHelper.toSentenceCase(toCapitalize, locale); in capitalizeForStandaloneDisplay()
|