Home
last modified time | relevance | path

Searched refs:locales (Results 1 – 25 of 43) 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.java278 List<String> locales = new ArrayList<>(Arrays.asList(localeArray)); in getLocaleForLanguageCountry() local
281 locales.remove("ar-XB"); in getLocaleForLanguageCountry()
282 locales.remove("en-XA"); in getLocaleForLanguageCountry()
285 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.java596 final String[] locales = ctx.getAssets().getLocales(); in getAssetLanguages() local
597 final String[] localeLangs = new String[locales.length]; in getAssetLanguages()
598 for (int i = 0; i < locales.length; ++i) { in getAssetLanguages()
599 final String localeStr = locales[i]; in getAssetLanguages()
DSIMRecords.java1379 String[] locales = mContext.getAssets().getLocales(); in findBestLanguage() local
1381 if ((languages == null) || (locales == null)) return null; in findBestLanguage()
1388 for (int j = 0; j < locales.length; j++) { in findBestLanguage()
1389 if (locales[j] != null && locales[j].length() >= 2 && in findBestLanguage()
1390 locales[j].substring(0, 2).equalsIgnoreCase(lang)) { in findBestLanguage()
/frameworks/base/include/androidfw/
DAssetManager.h227 void getLocales(Vector<String8>* locales) const;
DResourceTypes.h1764 void getLocales(Vector<String8>* locales) const;
/frameworks/base/docs/html/about/versions/
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.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.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.cpp763 Vector<String8> locales; in doDump() local
764 res.getLocales(&locales); in doDump()
1082 const size_t NL = locales.size(); in doDump()
1084 const char* localeStr = locales[i].string(); in doDump()
1964 const size_t NL = locales.size(); in doDump()
1966 const char* localeStr = locales[i].string(); in doDump()
DResourceTable.cpp2653 for (map<String8, SourcePos>::const_iterator locales = configSrcMap.begin(); in validateLocalizations() local
2654 locales != configSrcMap.end(); in validateLocalizations()
2655 locales++) { in validateLocalizations()
2656 locales->second.printf("locale %s found", locales->first.string()); in validateLocalizations()
/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/tools/
Dindex.jd38 …<li>Visualize your UI on tablets, phones, and other devices. Switch themes, locales, even platform…
/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/core/jni/
Dandroid_util_AssetManager.cpp566 Vector<String8> locales; in android_content_AssetManager_getLocales() local
573 am->getLocales(&locales); in android_content_AssetManager_getLocales()
575 const int N = locales.size(); in android_content_AssetManager_getLocales()
583 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/distribute/tools/promote/
Dbadges.jd65 // locales for which we have the 'app' badge

12