/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesLocaleTest.java | 79 resources.getConfiguration().getLocales().get(0)); in testEnglishIsAlwaysConsideredSupported() 96 resources.getConfiguration().getLocales().get(0)); in testSelectFirstSupportedLanguage()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | AndroidLocale.java | 53 LocaleList localeList = context.getConfiguration().getLocales(); in getDefault()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocalePicker.java | 91 return Resources.getSystem().getAssets().getLocales(); in getSystemAssetLocales() 289 public static LocaleList getLocales() { 292 .getConfiguration().getLocales();
|
D | LocalePickerWithRegion.java | 112 final LocaleList userLocales = LocalePicker.getLocales(); in setListener()
|
D | SuspendedAppActivity.java | 115 return String.format(getResources().getConfiguration().getLocales().get(0), message, in resolveDialogMessage()
|
/frameworks/base/core/java/android/text/method/ |
D | AllCapsTransformationMethod.java | 44 mLocale = context.getResources().getConfiguration().getLocales().get(0); in AllCapsTransformationMethod()
|
/frameworks/base/core/java/android/text/style/ |
D | LocaleSpan.java | 112 public LocaleList getLocales() { in getLocales() method in LocaleSpan
|
/frameworks/base/core/java/android/hardware/input/ |
D | KeyboardLayout.java | 106 public LocaleList getLocales() { in getLocales() method in KeyboardLayout
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/inputmethod/ |
D | InputMethodPreferenceTest.java | 124 .getLocales() in createInputMethodInfo()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsHelper.java | 303 return conf.getLocales().toLanguageTags().getBytes(); in getLocaleData() 386 final LocaleList currentLocales = conf.getLocales(); in setLocaleData()
|
/frameworks/base/core/java/android/content/res/ |
D | ResourcesImpl.java | 224 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()
|
D | Resources.java | 485 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/ |
D | ServiceInfo.java | 158 public List<Locale> getLocales() { in getLocales() method in ServiceInfo
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | AssetManager.h | 206 void getLocales(Vector<String8>* locales, bool includeSystemLocales=true) const;
|
/frameworks/base/core/java/android/view/ |
D | AccessibilityIterators.java | 149 final Locale locale = globalConfig.getLocales().get(0); in onConfigurationChanged()
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | DateUtilsTest.java | 51 mOriginalLocales = Resources.getSystem().getConfiguration().getLocales(); in setup()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | PowerUtil.java | 179 final Locale currentLocale = context.getResources().getConfiguration().getLocales().get(0); in getMoreThanTwoDaysString()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextClassifierImpl.java | 143 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/ |
D | Formatter.java | 63 return context.getResources().getConfiguration().getLocales().get(0); in localeFromContext()
|
/frameworks/base/core/java/android/widget/ |
D | TextInputTimePickerView.java | 154 final LocaleList locales = mContext.getResources().getConfiguration().getLocales(); in setHourFormat()
|
/frameworks/base/libs/androidfw/tests/ |
D | AssetManager2_bench.cpp | 209 table.getLocales(&locales, true /*includeSystemLocales*/, true /*mergeEquivalentLangs*/); in BM_AssetManagerGetResourceLocalesOld()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethodSubtype.java | 510 return configuration.getLocales().get(0); in getLocaleFromContext()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/ |
D | InputMethodAndSubtypeUtilCompat.java | 415 final Locale configurationLocale = configuration.getLocales().get(0); in getDisplayLocale()
|
D | InputMethodAndSubtypeUtil.java | 415 final Locale configurationLocale = configuration.getLocales().get(0); in getDisplayLocale()
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | Resources_Delegate.java | 824 … PluralRules pluralRules = PluralRules.forLocale(resources.getConfiguration().getLocales() in getQuantityString() 849 return String.format(resources.getConfiguration().getLocales().get(0), raw, formatArgs); in getQuantityString()
|