/frameworks/base/core/java/com/android/internal/app/ |
D | LocalePicker.java | 91 final String[] locales = Resources.getSystem().getAssets().getLocales(); in constructAdapter() local 94 Arrays.sort(locales); in constructAdapter() 95 final int origSize = locales.length; in constructAdapter() 99 final String s = locales[i]; in constructAdapter()
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
D | CdmaLteUiccRecords.java | 362 String[] locales = phone.getContext().getAssets().getLocales(); in findBestLanguage() local 364 if ((languages == null) || (locales == null)) return null; in findBestLanguage() 370 for (int j = 0; j < locales.length; j++) { in findBestLanguage() 371 if (locales[j] != null && locales[j].length() >= 2 && in findBestLanguage() 372 locales[j].substring(0, 2).equals(lang)) { in findBestLanguage()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | PhoneBase.java | 643 String[] locales = mContext.getAssets().getLocales(); in setSystemLocale() local 644 final int N = locales.length; in setSystemLocale() 648 if (locales[i]!=null && locales[i].length() >= 5 && in setSystemLocale() 649 locales[i].substring(0,2).equals(language)) { in setSystemLocale() 650 if (locales[i].substring(3,5).equals(country)) { in setSystemLocale() 651 bestMatch = locales[i]; in setSystemLocale() 654 bestMatch = locales[i]; in setSystemLocale()
|
/frameworks/base/tools/aapt/ |
D | Command.cpp | 590 Vector<String8> locales; in doDump() local 591 res.getLocales(&locales); in doDump() 767 const size_t NL = locales.size(); in doDump() 769 const char* localeStr = locales[i].string(); in doDump() 1336 const size_t NL = locales.size(); in doDump() 1338 const char* localeStr = locales[i].string(); in doDump()
|
D | ResourceTable.cpp | 2480 for (set<String8>::const_iterator locales = configSet.begin(); in validateLocalizations() local 2481 locales != configSet.end(); in validateLocalizations() 2482 locales++) { in validateLocalizations() 2483 fprintf(stdout, " %s", (*locales).string()); in validateLocalizations()
|
/frameworks/base/docs/html/resources/tutorials/localization/ |
D | index.jd | 183 flags for different locales, this code will sometimes assign a different flag. 228 will render differently in different locales. In this application, the default 231 plan for how the application will appear in different locales.</p> 318 specifies which ones will be loaded for which locales. (For more about the 528 alternate locales via the Settings application, or might offer only a few. The 529 emulator, on the other hand, will offer a selection of all the locales that are 544 <p>For a list of locales available on different versions of the Android platform, 547 href="{@docRoot}sdk/android-2.0.html#locs">Android 2.0 locales</a>.</p> 549 <p>Run the application for each of the expected locales, plus one unexpected
|
/frameworks/base/include/utils/ |
D | AssetManager.h | 218 void getLocales(Vector<String8>* locales) const;
|
D | ResourceTypes.h | 2063 void getLocales(Vector<String8>* locales) const;
|
/frameworks/base/docs/html/sdk/ |
D | android-2.3.4.jd | 270 built-in locales. In some cases, region-specific strings are available for the 271 locales. In other cases, a default version of the language is used. The 347 locales than are included in the SDK system image. All of the supported locales
|
D | android-2.2.jd | 389 built-in locales. In some cases, region-specific strings are available for the 390 locales. In other cases, a default version of the language is used. The 432 <p>Localized UI strings match the locales that are accessible 435 <p class="note"><strong>Note:</strong> Android supports more locales than are listed above. However, 437 only what's included in the system image for the SDK. All of Android's supported locales are
|
D | android-2.1.jd | 297 built-in locales. In some cases, region-specific strings are available for the 298 locales. In other cases, a default version of the language is used. The 340 <p>Localized UI strings match the locales that are accessible
|
D | android-1.5.jd | 307 built-in locales. In some cases, region-specific strings are available for the 308 locales. In other cases, a default version of the language is used. The 350 <p>Localized UI strings match the locales that are accessible
|
D | android-2.0.1.jd | 169 built-in locales. In some cases, region-specific strings are available for the 170 locales. In other cases, a default version of the language is used. The 212 <p>Localized UI strings match the locales that are accessible
|
D | android-2.3.3.jd | 310 built-in locales. In some cases, region-specific strings are available for the 311 locales. In other cases, a default version of the language is used. The 385 locales than are included in the SDK system image. All of the supported locales
|
D | android-2.0.jd | 158 built-in locales. In some cases, region-specific strings are available for the 159 locales. In other cases, a default version of the language is used. The 201 <p>Localized UI strings match the locales that are accessible
|
D | android-1.6.jd | 438 built-in locales. In some cases, region-specific strings are available for the 439 locales. In other cases, a default version of the language is used. The 481 <p>Localized UI strings match the locales that are accessible
|
D | android-3.2.jd | 649 built-in locales. In some cases, region-specific strings are available for the 650 locales. In other cases, a default version of the language is used. The 724 locales than are included in the SDK system image. All of the supported locales
|
D | android-2.3.jd | 833 built-in locales. In some cases, region-specific strings are available for the 834 locales. In other cases, a default version of the language is used. The 908 locales than are included in the SDK system image. All of the supported locales
|
D | android-3.1.jd | 1015 built-in locales. In some cases, region-specific strings are available for the 1016 locales. In other cases, a default version of the language is used. The 1090 locales than are included in the SDK system image. All of the supported locales
|
D | android-1.1.jd | 141 <p>Localized UI strings match the locales that are displayable in
|
D | android-3.0.jd | 1093 built-in locales. In some cases, region-specific strings are available for the 1094 locales. In other cases, a default version of the language is used. The 1168 locales than are included in the SDK system image. All of the supported locales
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 478 Vector<String8> locales; in android_content_AssetManager_getLocales() local 485 am->getLocales(&locales); in android_content_AssetManager_getLocales() 487 const int N = locales.size(); in android_content_AssetManager_getLocales() 495 jstring str = env->NewStringUTF(locales[i].string()); in android_content_AssetManager_getLocales()
|
/frameworks/base/docs/html/guide/topics/resources/ |
D | localization.jd | 12 <li>Android lets you create different resource sets for different locales.</li> 63 graphics in ways appropriate to the locales where your application will be used. 118 different locales.</p></td> 422 the devices available to consumers in other geographies. The locales available 437 system image does not explicitly support. (For a list of supported locales in
|
/frameworks/base/libs/utils/ |
D | AssetManager.cpp | 748 void AssetManager::getLocales(Vector<String8>* locales) const in getLocales() 752 res->getLocales(locales); in getLocales()
|
D | ResourceTypes.cpp | 3898 void ResTable::getLocales(Vector<String8>* locales) const in getLocales() 3908 const size_t J = locales->size(); in getLocales() 3911 if (0 == strcmp(locale, (*locales)[j].string())) { in getLocales() 3916 locales->add(String8(locale)); in getLocales()
|