Home
last modified time | relevance | path

Searched refs:getLocales (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesLocaleTest.java79 resources.getConfiguration().getLocales().get(0)); in testEnglishIsAlwaysConsideredSupported()
96 resources.getConfiguration().getLocales().get(0)); in testSelectFirstSupportedLanguage()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DAndroidLocale.java53 LocaleList localeList = context.getConfiguration().getLocales(); in getDefault()
/frameworks/base/core/java/com/android/internal/app/
DLocalePicker.java91 return Resources.getSystem().getAssets().getLocales(); in getSystemAssetLocales()
289 public static LocaleList getLocales() {
292 .getConfiguration().getLocales();
DLocalePickerWithRegion.java112 final LocaleList userLocales = LocalePicker.getLocales(); in setListener()
DSuspendedAppActivity.java115 return String.format(getResources().getConfiguration().getLocales().get(0), message, in resolveDialogMessage()
/frameworks/base/core/java/android/text/method/
DAllCapsTransformationMethod.java44 mLocale = context.getResources().getConfiguration().getLocales().get(0); in AllCapsTransformationMethod()
/frameworks/base/core/java/android/text/style/
DLocaleSpan.java112 public LocaleList getLocales() { in getLocales() method in LocaleSpan
/frameworks/base/core/java/android/hardware/input/
DKeyboardLayout.java106 public LocaleList getLocales() { in getLocales() method in KeyboardLayout
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/inputmethod/
DInputMethodPreferenceTest.java124 .getLocales() in createInputMethodInfo()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsHelper.java303 return conf.getLocales().toLanguageTags().getBytes(); in getLocaleData()
386 final LocaleList currentLocales = conf.getLocales(); in setLocaleData()
/frameworks/base/core/java/android/content/res/
DResourcesImpl.java224 mPluralRule = PluralRules.forLocale(mConfiguration.getLocales().get(0)); in getPluralRule()
406 LocaleList locales = mConfiguration.getLocales(); in updateConfiguration()
419 availableLocales = mAssets.getLocales(); in updateConfiguration()
466 adjustLanguageTag(mConfiguration.getLocales().get(0).toLanguageTag()), in updateConfiguration()
492 mPluralRule = PluralRules.forLocale(mConfiguration.getLocales().get(0)); in updateConfiguration()
521 if (mTmpConfig.getLocales().isEmpty()) { in calcConfigChanges()
DResources.java485 return String.format(mResourcesImpl.getConfiguration().getLocales().get(0), raw, in getString()
518 return String.format(mResourcesImpl.getConfiguration().getLocales().get(0), raw, in getQuantityString()
/frameworks/base/telephony/java/android/telephony/mbms/
DServiceInfo.java158 public List<Locale> getLocales() { in getLocales() method in ServiceInfo
/frameworks/base/libs/androidfw/include/androidfw/
DAssetManager.h206 void getLocales(Vector<String8>* locales, bool includeSystemLocales=true) const;
/frameworks/base/core/java/android/view/
DAccessibilityIterators.java149 final Locale locale = globalConfig.getLocales().get(0); in onConfigurationChanged()
/frameworks/base/core/tests/coretests/src/android/text/format/
DDateUtilsTest.java51 mOriginalLocales = Resources.getSystem().getConfiguration().getLocales(); in setup()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DPowerUtil.java179 final Locale currentLocale = context.getResources().getConfiguration().getLocales().get(0); in getMoreThanTwoDaysString()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifierImpl.java143 AnnotatorModel::getLocales)); in TextClassifierImpl()
157 ActionsSuggestionsModel::getLocales)); in TextClassifierImpl()
903 return mContext.getResources().getConfiguration().getLocales().toLanguageTags(); in getResourceLocalesString()
/frameworks/base/core/java/android/text/format/
DFormatter.java63 return context.getResources().getConfiguration().getLocales().get(0); in localeFromContext()
/frameworks/base/core/java/android/widget/
DTextInputTimePickerView.java154 final LocaleList locales = mContext.getResources().getConfiguration().getLocales(); in setHourFormat()
/frameworks/base/libs/androidfw/tests/
DAssetManager2_bench.cpp209 table.getLocales(&locales, true /*includeSystemLocales*/, true /*mergeEquivalentLangs*/); in BM_AssetManagerGetResourceLocalesOld()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodSubtype.java510 return configuration.getLocales().get(0); in getLocaleFromContext()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodAndSubtypeUtilCompat.java415 final Locale configurationLocale = configuration.getLocales().get(0); in getDisplayLocale()
DInputMethodAndSubtypeUtil.java415 final Locale configurationLocale = configuration.getLocales().get(0); in getDisplayLocale()
/frameworks/layoutlib/bridge/src/android/content/res/
DResources_Delegate.java824 … PluralRules pluralRules = PluralRules.forLocale(resources.getConfiguration().getLocales() in getQuantityString()
849 return String.format(resources.getConfiguration().getLocales().get(0), raw, formatArgs); in getQuantityString()

12