HomeSort by relevance Sort by last modified time
    Searched defs:locales (Results 51 - 75 of 105) sorted by null

1 23 4 5

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
UserDictionaryAddWordContents.java 112 // It may also be the empty string, which means "all locales"
183 // In this class we use the empty string to represent 'all locales' and mLocale cannot
184 // be null. However the addWord method takes null to mean 'all locales'.
252 // Helper method to get the list of locales to display for this word
254 final TreeSet<String> locales = UserDictionaryList.getUserDictionaryLocalesSet(activity); local
256 locales.remove(mLocale); // mLocale may not be null
259 locales.remove(systemLocale); // system locale may not be null
260 locales.remove(""); // Remove the empty string if it's there
268 for (final String l : locales) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
ConfigurationDescription.java 205 String locales[] = localeString.split(SEP_LOCALE); local
206 if (locales[0].length() > 0) {
207 language = new LanguageQualifier(locales[0]);
209 if (locales.length > 1 && locales[1].length() > 0) {
210 region = new RegionQualifier(locales[1]);
VaryingConfiguration.java 169 List<Locale> locales = mConfigChooser.getLocaleList(); local
170 for (Locale l : locales) {
Configuration.java 181 // rendering targets, the set of available locales etc, which
769 String locales[] = values[2].split(SEP_LOCALE); local
770 if (locales.length >= 2) {
771 if (locales[0].length() > 0) {
772 language = new LanguageQualifier(locales[0]);
774 if (locales[1].length() > 0) {
775 region = new RegionQualifier(locales[1]);
853 String locales[] = values[0].split(SEP_LOCALE); local
854 if (locales.length >= 2) {
855 if (locales[0].length() > 0)
    [all...]
  /development/apps/CustomLocale/src/com/android/customlocale2/
CustomLocaleActivity.java 49 * Displays the list of system locales as well as maintain a custom list of user
50 * locales. The user can select a locale and apply it or it can create or remove
70 /** List view displaying system and custom locales. */
213 // Insert all system locales
214 String[] locales = getAssets().getLocales(); local
215 for (String locale : locales) {
221 locales = null;
223 // Insert all custom locales
238 // Sort all locales by code
323 // Enable the remove button only for custom locales and set the tag to the local
    [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
itrbnf.cpp 1811 const Locale* locales = Locale::getAvailableLocales(count); local
    [all...]
regcoll.cpp 930 const Locale *locales = Locale::getAvailableLocales(localeCount); local
937 c = Collator::createInstance(locales[i], status);
944 msg += locales[i].getName();
    [all...]
icusvtst.cpp 1197 StringEnumeration* locales = service.getAvailableLocales(); local
    [all...]
loctest.cpp 685 logln(UnicodeString("Number of locales returned = ") + locCount);
1175 const char** locales = localeArr; local
1418 Locale locales [] = { Locale("no", "NO"), local
    [all...]
numrgts.cpp 1635 const Locale *locales = Locale::getAvailableLocales(count); local
    [all...]
calregts.cpp 1189 Locale locales [] = { Locale::getChinese(), Locale::getChina() }; local
    [all...]
  /external/icu/icu4c/source/test/intltest/
itrbnf.cpp 1815 const Locale* locales = Locale::getAvailableLocales(count); local
    [all...]
measfmttest.cpp 526 Locale locales[] = {Locale("el_GR"), Locale("el")}; local
602 for (int32_t locIndex = 0; locIndex < LENGTHOF(locales); ++locIndex ) {
610 MeasureFormat fmt(locales[locIndex], styles[styleIndex], status);
    [all...]
icusvtst.cpp 1196 StringEnumeration* locales = service.getAvailableLocales(); local
    [all...]
regcoll.cpp 923 const Locale *locales = Locale::getAvailableLocales(localeCount); local
930 c = Collator::createInstance(locales[i], status);
937 msg += locales[i].getName();
    [all...]
tzfmttst.cpp 130 // Set up test locales
138 const Locale *LOCALES;
142 LOCALES = testLocales;
145 LOCALES = Locale::getAvailableLocales(nLocales);
155 SimpleDateFormat gmtFmt(UnicodeString("ZZZZ"), LOCALES[locidx], status);
165 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], status);
168 PATTERNS[patidx] + " for locale " + LOCALES[locidx].getName() + " - " + u_errorName(status));
232 + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx]
237 + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx]
246 + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx
341 const Locale* locales; \/\/ Static member in struct:LocaleData
    [all...]
loctest.cpp 686 logln(UnicodeString("Number of locales returned = ") + locCount);
1196 const char** locales = localeArr; local
1439 Locale locales [] = { Locale("no", "NO"), local
    [all...]
numrgts.cpp 1641 const Locale *locales = Locale::getAvailableLocales(count); local
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
CalendarTest.java 480 private static final Locale[] locales = new Locale[] { Locale.getDefault(), field in class:CalendarTest
638 Locale[] locales = Calendar.getAvailableLocales(); local
640 for (int i = 0; i < locales.length; i++) {
641 Locale l = locales[i];
797 for (Locale locale : locales) {
909 for (Locale locale : locales) {
955 for (Locale locale : locales) {
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
RuimRecords.java 596 final String[] locales = ctx.getAssets().getLocales(); local
597 final String[] localeLangs = new String[locales.length];
598 for (int i = 0; i < locales.length; ++i) {
599 final String localeStr = locales[i];
SIMRecords.java 1379 String[] locales = mContext.getAssets().getLocales(); local
    [all...]
  /libcore/luni/src/main/java/java/util/
ResourceBundle.java 334 List<Locale> locales = control.getCandidateLocales(baseName, targetLocale); local
335 if (locales == null) {
347 for (Locale locale : locales) {
389 || (Locale.ROOT.equals(ret.getLocale()) && (!(locales.size() == 1 && locales
806 * Returns a list of candidate locales according to {@code baseName} in
    [all...]
  /frameworks/base/core/jni/
android_util_AssetManager.cpp 566 Vector<String8> locales; local
573 am->getLocales(&locales);
575 const int N = locales.size();
583 jstring str = env->NewStringUTF(locales[i].string());
    [all...]
  /frameworks/base/libs/androidfw/
AssetManager.cpp 390 Vector<String8> locales; local
393 res->getLocales(&locales);
395 const size_t localesSize = locales.size();
398 if (locales[i].find(kFilPrefix) == 0) {
818 void AssetManager::getLocales(Vector<String8>* locales) const
822 res->getLocales(locales);
825 const size_t numLocales = locales->size();
827 const String8& localeStr = locales->itemAt(i);
831 locales->editItemAt(i) = replaced;
    [all...]
  /packages/apps/Settings/src/com/android/settings/inputmethod/
InputMethodAndLanguageSettings.java 344 List<LocalePicker.LocaleInfo> locales = LocalePicker.getAllAssetLocales(context, true); local
345 for (LocalePicker.LocaleInfo locale : locales) {
    [all...]

Completed in 3495 milliseconds

1 23 4 5