Home
last modified time | relevance | path

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

123

/frameworks/base/core/tests/coretests/src/android/content/res/
DConfigurationTest.java110 read.getLocales().size(), write.getLocales().size()); in testReadWriteProto()
112 read.getLocales().indexOf(arabic) != -1); in testReadWriteProto()
114 read.getLocales().indexOf(urdu) != -1); in testReadWriteProto()
116 read.getLocales().indexOf(urduExtension) != -1); in testReadWriteProto()
DResourcesLocaleTest.java79 resources.getConfiguration().getLocales().get(0)); in testEnglishIsAlwaysConsideredSupported()
96 resources.getConfiguration().getLocales().get(0)); in testSelectFirstSupportedLanguage()
/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.java133 return String.format(getResources().getConfiguration().getLocales().get(0), message, in resolveDialogMessage()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DLocaleUtils.java87 String[] localeArray = context.getAssets().getLocales(); in getLocaleForLanguageCountry()
184 for (String localeId : context.getAssets().getLocales()) { in isTranslated()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DAndroidLocale.java53 LocaleList localeList = context.getConfiguration().getLocales(); in getDefault()
/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/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()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/inputmethod/
DInputMethodPreferenceTest.java124 .getLocales() in createInputMethodInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DSystemActions.java145 mLocale = mContext.getResources().getConfiguration().getLocales().get(0); in SystemActions()
163 final Locale locale = mContext.getResources().getConfiguration().getLocales().get(0); in onConfigurationChanged()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsHelper.java339 return conf.getLocales().toLanguageTags().getBytes(); in getLocaleData()
422 final LocaleList currentLocales = conf.getLocales(); in setLocaleData()
/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/tests/coretests/src/android/text/format/
DDateUtilsTest.java51 mOriginalLocales = Resources.getSystem().getConfiguration().getLocales(); in setup()
/frameworks/base/core/java/android/view/
DAccessibilityIterators.java153 final Locale locale = globalConfig.getLocales().get(0); in onConfigurationChanged()
/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/widget/
DTextInputTimePickerView.java154 final LocaleList locales = mContext.getResources().getConfiguration().getLocales(); in setHourFormat()
/frameworks/base/core/java/android/text/format/
DFormatter.java63 return context.getResources().getConfiguration().getLocales().get(0); in localeFromContext()
/frameworks/base/libs/androidfw/tests/
DAssetManager2_bench.cpp209 table.getLocales(&locales, true /*includeSystemLocales*/, true /*mergeEquivalentLangs*/); in BM_AssetManagerGetResourceLocalesOld()
/frameworks/opt/localepicker/src/com/android/localepicker/
DLocaleStore.java304 for (String localeId : Resources.getSystem().getAssets().getLocales()) { in fillCache()
/frameworks/base/core/java/com/android/internal/accessibility/dialog/
DAccessibilityTargetHelper.java302 final Locale locale = context.getResources().getConfiguration().getLocales().get(0); in getServiceName()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodSubtype.java510 return configuration.getLocales().get(0); in getLocaleFromContext()

123