/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ConfigurationTest.java | 110 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()
|
D | ResourcesLocaleTest.java | 79 resources.getConfiguration().getLocales().get(0)); in testEnglishIsAlwaysConsideredSupported() 96 resources.getConfiguration().getLocales().get(0)); in testSelectFirstSupportedLanguage()
|
/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 | 133 return String.format(getResources().getConfiguration().getLocales().get(0), message, in resolveDialogMessage()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | LocaleUtils.java | 87 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/ |
D | AndroidLocale.java | 53 LocaleList localeList = context.getConfiguration().getLocales(); in getDefault()
|
/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/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()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/inputmethod/ |
D | InputMethodPreferenceTest.java | 124 .getLocales() in createInputMethodInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | SystemActions.java | 145 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/ |
D | SettingsHelper.java | 339 return conf.getLocales().toLanguageTags().getBytes(); in getLocaleData() 422 final LocaleList currentLocales = conf.getLocales(); in setLocaleData()
|
/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/tests/coretests/src/android/text/format/ |
D | DateUtilsTest.java | 51 mOriginalLocales = Resources.getSystem().getConfiguration().getLocales(); in setup()
|
/frameworks/base/core/java/android/view/ |
D | AccessibilityIterators.java | 153 final Locale locale = globalConfig.getLocales().get(0); in onConfigurationChanged()
|
/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/widget/ |
D | TextInputTimePickerView.java | 154 final LocaleList locales = mContext.getResources().getConfiguration().getLocales(); in setHourFormat()
|
/frameworks/base/core/java/android/text/format/ |
D | Formatter.java | 63 return context.getResources().getConfiguration().getLocales().get(0); in localeFromContext()
|
/frameworks/base/libs/androidfw/tests/ |
D | AssetManager2_bench.cpp | 209 table.getLocales(&locales, true /*includeSystemLocales*/, true /*mergeEquivalentLangs*/); in BM_AssetManagerGetResourceLocalesOld()
|
/frameworks/opt/localepicker/src/com/android/localepicker/ |
D | LocaleStore.java | 304 for (String localeId : Resources.getSystem().getAssets().getLocales()) { in fillCache()
|
/frameworks/base/core/java/com/android/internal/accessibility/dialog/ |
D | AccessibilityTargetHelper.java | 302 final Locale locale = context.getResources().getConfiguration().getLocales().get(0); in getServiceName()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethodSubtype.java | 510 return configuration.getLocales().get(0); in getLocaleFromContext()
|