Home
last modified time | relevance | path

Searched refs:locales (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/base/core/java/android/hardware/soundtrigger/
DKeyphraseEnrollmentInfo.java205 ArraySet<Locale> locales = new ArraySet<>(); in initializeKeyphrasesFromTypedArray() local
211 locales.add(Locale.forLanguageTag(supportedLocalesDelimited[i])); in initializeKeyphrasesFromTypedArray()
232 mKeyphrases[0] = new KeyphraseMetadata(searchKeyphraseId, searchKeyphrase, locales, in initializeKeyphrasesFromTypedArray()
/frameworks/base/core/java/com/android/internal/app/
DLocalePicker.java89 final String[] locales = Resources.getSystem().getAssets().getLocales(); in getAllAssetLocales() local
90 List<String> localeList = new ArrayList<String>(locales.length); in getAllAssetLocales()
91 Collections.addAll(localeList, locales); in getAllAssetLocales()
/frameworks/base/libs/androidfw/
DAssetManager.cpp390 Vector<String8> locales; in setLocaleLocked() local
393 res->getLocales(&locales); in setLocaleLocked()
395 const size_t localesSize = locales.size(); in setLocaleLocked()
398 if (locales[i].find(kFilPrefix) == 0) { in setLocaleLocked()
818 void AssetManager::getLocales(Vector<String8>* locales) const in getLocales()
822 res->getLocales(locales); in getLocales()
825 const size_t numLocales = locales->size(); in getLocales()
827 const String8& localeStr = locales->itemAt(i); in getLocales()
831 locales->editItemAt(i) = replaced; in getLocales()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMccTable.java269 List<String> locales = new ArrayList<>(Arrays.asList(localeArray)); in getLocaleForLanguageCountry() local
272 locales.remove("ar-XB"); in getLocaleForLanguageCountry()
273 locales.remove("en-XA"); in getLocaleForLanguageCountry()
276 for (String locale : locales) { in getLocaleForLanguageCountry()
/frameworks/base/docs/html/sdk/installing/
Dstudio-layout.jd101 you can select a particular locale, add and edit translations, preview the locales your
102 app supports (all locales or just a single locale), and preview right-to-left layout for
106 Different Languages</a> for a description of how to support different locales in your app.</p>
112 <p class="img-caption"><strong>Figure 5.</strong> Previewing locales.</p>
Dstudio-androidview.jd16 <li>Groups resource files for different locales, orientations, and screen types in a single group
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DRuimRecords.java726 final String[] locales = ctx.getAssets().getLocales(); in getAssetLanguages() local
727 final String[] localeLangs = new String[locales.length]; in getAssetLanguages()
728 for (int i = 0; i < locales.length; ++i) { in getAssetLanguages()
729 final String localeStr = locales[i]; in getAssetLanguages()
DSIMRecords.java1367 String[] locales = mContext.getAssets().getLocales(); in findBestLanguage() local
1369 if ((languages == null) || (locales == null)) return null; in findBestLanguage()
1376 for (int j = 0; j < locales.length; j++) { in findBestLanguage()
1377 if (locales[j] != null && locales[j].length() >= 2 && in findBestLanguage()
1378 locales[j].substring(0, 2).equalsIgnoreCase(lang)) { in findBestLanguage()
/frameworks/base/include/androidfw/
DAssetManager.h227 void getLocales(Vector<String8>* locales) const;
DResourceTypes.h1784 void getLocales(Vector<String8>* locales) const;
/frameworks/base/docs/html/about/versions/
Dandroid-2.0.1.jd170 built-in locales. In some cases, region-specific strings are available for the
171 locales. In other cases, a default version of the language is used. The
213 <p>Localized UI strings match the locales that are accessible
Dandroid-1.5.jd308 built-in locales. In some cases, region-specific strings are available for the
309 locales. In other cases, a default version of the language is used. The
351 <p>Localized UI strings match the locales that are accessible
Dandroid-2.1.jd298 built-in locales. In some cases, region-specific strings are available for the
299 locales. In other cases, a default version of the language is used. The
341 <p>Localized UI strings match the locales that are accessible
Dandroid-2.0.jd159 built-in locales. In some cases, region-specific strings are available for the
160 locales. In other cases, a default version of the language is used. The
202 <p>Localized UI strings match the locales that are accessible
Dandroid-1.6.jd439 built-in locales. In some cases, region-specific strings are available for the
440 locales. In other cases, a default version of the language is used. The
482 <p>Localized UI strings match the locales that are accessible
Dandroid-1.1.jd142 <p>Localized UI strings match the locales that are displayable in
/frameworks/base/tools/aapt/
DCommand.cpp762 Vector<String8> locales; in doDump() local
763 res.getLocales(&locales); in doDump()
1081 const size_t NL = locales.size(); in doDump()
1083 const char* localeStr = locales[i].string(); in doDump()
1985 const size_t NL = locales.size(); in doDump()
1987 const char* localeStr = locales[i].string(); in doDump()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeech.java1567 HashSet<Locale> locales = new HashSet<Locale>();
1569 locales.add(voice.getLocale());
1571 return locales;
/frameworks/base/docs/html/guide/topics/resources/
Dlocalization.jd38 graphics in ways appropriate to the locales where your application will be used.
90 different locales.</p></td>
400 the devices available to consumers in other geographies. The locales available
414 system image does not explicitly support. (For a list of supported locales in
/frameworks/base/docs/html/distribute/tools/
Dlocalization-checklist.jd13 <li><a href="#identify-languages">1. Identify target languages and locales</a></li>
45 1. Identify target languages and locales
144 locales, screen sizes, and so on, simply by tagging them with the appropriate
188 patterns across locales, such as <a href=
654 After you've tested your apps in all of your supported languages and locales,
/frameworks/base/docs/html/tools/studio/
Dindex.jd76 <li>Groups resource files for different locales, orientations, and screen types in a single
305 densities, UI modes, locales, and Android versions (multi-API version rendering).
393 locales to the app's translation file. Color codes indicate whether a locale is complete or
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp567 Vector<String8> locales; in android_content_AssetManager_getLocales() local
574 am->getLocales(&locales); in android_content_AssetManager_getLocales()
576 const int N = locales.size(); in android_content_AssetManager_getLocales()
584 jstring str = env->NewStringUTF(locales[i].string()); in android_content_AssetManager_getLocales()
/frameworks/base/docs/html/guide/topics/text/
Dspell-checker-framework.jd204 also defines subtypes for the spelling checker; in this case, the subtypes define locales that
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/tools/promote/
Dbadges.jd46 // locales for which we have the 'app' badge
/frameworks/base/docs/html/distribute/tools/promote/
Dbadges.jd65 // locales for which we have the 'app' badge

12