/external/chromium_org/third_party/icu/source/i18n/ |
currfmt.h | 41 * Construct a CurrencyFormat for the given locale. 43 CurrencyFormat(const Locale& locale, UErrorCode& ec);
|
locdspnm.cpp | 56 // Access resource data for locale components. 60 Locale locale; member in class:ICUDataTable 63 ICUDataTable(const char* path, const Locale& locale); 66 const Locale& getLocale(); 89 ICUDataTable::ICUDataTable(const char* path, const Locale& locale) 90 : path(NULL), locale(Locale::getRoot() 267 Locale locale; member in class:LocaleDisplayNamesImpl [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
tsdate.h | 46 void testLocale(/*char *par, */const Locale&, const UnicodeString&);
|
uobjtest.cpp | 356 TESTCLASSID_FACTORY(RelativeDateFormat, DateFormat::createDateInstance(DateFormat::kFullRelative, Locale::getUS())); 363 TESTCLASSID_FACTORY_HIDDEN(CurrencyFormat, MeasureFormat::createCurrencyFormat(Locale::getUS(), status)); 364 TESTCLASSID_FACTORY(GregorianCalendar, Calendar::createInstance(Locale("@calendar=gregorian"), status)); 365 TESTCLASSID_FACTORY(BuddhistCalendar, Calendar::createInstance(Locale("@calendar=buddhist"), status)); 366 TESTCLASSID_FACTORY(IslamicCalendar, Calendar::createInstance(Locale("@calendar=islamic"), status)); 367 TESTCLASSID_FACTORY(JapaneseCalendar, Calendar::createInstance(Locale("@calendar=japanese"), status)); 368 TESTCLASSID_FACTORY(HebrewCalendar, Calendar::createInstance(Locale("@calendar=hebrew"), status)); 369 TESTCLASSID_FACTORY(PersianCalendar, Calendar::createInstance(Locale("@calendar=persian"), status)); 370 TESTCLASSID_FACTORY(IndianCalendar, Calendar::createInstance(Locale("@calendar=indian"), status)); 371 TESTCLASSID_FACTORY(ChineseCalendar, Calendar::createInstance(Locale("@calendar=chinese"), status)) [all...] |
restest.cpp | 91 Locale *locale; member in struct:__anon11585 155 Don't use more than one of these at a time because of the Locale names 161 if (param[5].locale == NULL) { 162 param[0].locale = new Locale("root"); 163 param[1].locale = new Locale("te"); 164 param[2].locale = new Locale("te", "IN") 496 const char* locale = uloc_getAvailable(locIndex); local 592 Locale locale; local [all...] |
nmfmapts.cpp | 31 Locale saveLocale; 32 Locale::setDefault(Locale::getEnglish(), status); 34 errln("ERROR: Could not set default locale, test may not give correct results"); 37 Locale::setDefault(saveLocale, status); 44 Locale saveLocale; 45 Locale::setDefault(Locale::getEnglish(), status); 47 errln("ERROR: Could not set default locale, test may not give correct results"); 50 Locale::setDefault(saveLocale, status) [all...] |
/external/icu4c/common/ |
locbased.h | 18 * Macro to declare a locale LocaleBased wrapper object for the given 51 * Return locale meta-data for the service object wrapped by this 52 * object. Either the valid or the actual locale may be 56 * @return the indicated locale 58 Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const; 61 * Return the locale ID for the service object wrapped by this 62 * object. Either the valid or the actual locale may be 66 * @return the indicated locale ID 71 * Set the locale meta-data for the service object wrapped by this 73 * @param valid the ID of the valid locale [all...] |
servlkf.cpp | 50 Locale loc; 92 LocaleKeyFactory::getDisplayName(const UnicodeString& id, const Locale& locale, UnicodeString& result) const { 97 Locale loc; 99 return loc.getDisplayName(locale, result); 107 LocaleKeyFactory::handleCreate(const Locale& /* loc */,
|
/external/icu4c/i18n/ |
currfmt.h | 41 * Construct a CurrencyFormat for the given locale. 43 CurrencyFormat(const Locale& locale, UErrorCode& ec);
|
/external/icu4c/test/intltest/ |
tsdate.h | 46 void testLocale(/*char *par, */const Locale&, const UnicodeString&);
|
alphaindextst.cpp | 86 AlphabeticIndex *index = new AlphabeticIndex(Locale::getEnglish(), status); 98 Collator::createInstance(Locale::getGerman(), status)); 113 index = new AlphabeticIndex(Locale::getEnglish(), status); 127 // addLabels(Locale) 130 index = new AlphabeticIndex(Locale::getEnglish(), status); 132 AlphabeticIndex &aip = index->addLabels(Locale::getJapanese(), status); 143 index = new AlphabeticIndex(Locale::getGerman(), status); 145 Collator *germanCol = Collator::createInstance(Locale::getGerman(), status); 184 index = new AlphabeticIndex(Locale::getEnglish(), status); 212 index = new AlphabeticIndex(Locale::getEnglish(), status) 531 const char *locale = localeAndIndexCharacters[0]; local [all...] |
restest.cpp | 91 Locale *locale; member in struct:__anon19110 155 Don't use more than one of these at a time because of the Locale names 161 if (param[5].locale == NULL) { 162 param[0].locale = new Locale("root"); 163 param[1].locale = new Locale("te"); 164 param[2].locale = new Locale("te", "IN") 496 const char* locale = uloc_getAvailable(locIndex); local 592 Locale locale; local [all...] |
nmfmapts.cpp | 31 Locale saveLocale; 32 Locale::setDefault(Locale::getEnglish(), status); 34 errln("ERROR: Could not set default locale, test may not give correct results"); 37 Locale::setDefault(saveLocale, status); 44 Locale saveLocale; 45 Locale::setDefault(Locale::getEnglish(), status); 47 errln("ERROR: Could not set default locale, test may not give correct results"); 50 Locale::setDefault(saveLocale, status) [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
OldDecimalFormatSymbolsTest.java | 22 import java.util.Locale; 36 DecimalFormatSymbols symbols = new DecimalFormatSymbols(Locale.FRANCE); 67 * java.text.DecimalFormatSymbols#DecimalFormatSymbols(java.util.Locale) 96 DecimalFormatSymbols fs = new DecimalFormatSymbols(Locale.US); 142 DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.FRANCE);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
DateTileView.java | 28 import java.util.Locale; 32 private static Locale sLocale; 39 Locale currentLocale = Locale.getDefault();
|
/packages/apps/Settings/src/com/android/settings/ |
LocalePicker.java | 31 import java.util.Locale; 41 private static final String SAVE_TARGET_LOCALE = "locale"; 43 private Locale mTargetLocale; 63 mTargetLocale = new Locale(savedInstanceState.getString(SAVE_TARGET_LOCALE)); 77 public void onLocaleSelected(final Locale locale) { 79 mTargetLocale = locale; 83 LocalePicker.updateLocale(locale);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
RecapitalizeStatus.java | 19 import java.util.Locale; 62 private Locale mLocale; 69 initialize(-1, -1, "", Locale.getDefault(), ""); 74 final Locale locale, final String separators) { 81 mLocale = locale;
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
TimeZoneTest.java | 26 import java.util.Locale; 172 * @tests java.util.TimeZone#getDisplayName(java.util.Locale) 177 .getDisplayName(Locale.CHINA)); 181 * @tests java.util.TimeZone#getDisplayName(boolean, int, java.util.Locale) 187 timezone.getDisplayName(false, TimeZone.LONG, Locale.CHINA)); 189 timezone.getDisplayName(false, TimeZone.SHORT, Locale.CHINA)); 191 timezone.getDisplayName(false, 100, Locale.CHINA); 233 Locale defaulLocal = Locale.getDefault(); 237 "getDispalyName() did not return the default Locale suitable name" [all...] |
CalendarTest.java | 26 import java.util.Locale; 34 Locale defaultLocale; 480 private static final Locale[] locales = new Locale[] { Locale.getDefault(), 481 Locale.US, Locale.UK, Locale.TAIWAN, Locale.PRC, Locale.KOREA [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
CollationElementIteratorTest.java | 24 import java.util.Locale; 39 coll = (RuleBasedCollator) Collator.getInstance(Locale.US); 103 .getInstance(new Locale("es", "", "TRADITIONAL")); 116 .getInstance(new Locale("de", "DE")); 131 .getInstance(new Locale("fr", "FR")); 146 .getInstance(new Locale("fr", "FR")); 165 .getInstance(new Locale("es", "", "TRADITIONAL")); 178 .getInstance(new Locale("es", "", "TRADITIONAL")); 194 .getInstance(new Locale("es", "", "TRADITIONAL"));
|
/external/chromium/base/i18n/ |
rtl.cc | 24 std::string GetLocaleString(const icu::Locale& locale) { 25 const char* language = locale.getLanguage(); 26 const char* country = locale.getCountry(); 44 // Represents the locale-specific ICU text direction. 47 // Convert the ICU default locale to a string. 49 return GetLocaleString(icu::Locale::getDefault()); 52 // Convert the ICU canonicalized locale to a string. 53 std::string GetCanonicalLocale(const char* locale) { 54 return GetLocaleString(icu::Locale::createCanonical(locale)) 69 const icu::Locale& locale = icu::Locale::getDefault(); local 117 const icu::Locale& locale = icu::Locale::getDefault(); local [all...] |
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
numfmt.h | 54 * NumberFormat helps you to format and parse numbers for any locale. 55 * Your code can be completely independent of the locale conventions 59 * To format a number for the current Locale, use one of the static 90 * To format a number for a different Locale, specify it in the 94 * nf = NumberFormat::createInstance( Locale::FRENCH, success ); 582 * currency name, searching for a match of this object's locale's 604 * only. For example in the English locale, with ParseIntegerOnly 607 * the exact format accepted by the parse operation is locale 626 * locale. The default format is one of the styles provided by 629 * is locale dependant [all...] |
/external/icu4c/i18n/unicode/ |
msgfmt.h | 61 * itself doesn't implement locale-specific behavior. Any locale-specific 70 * a Number value is formatted with a default (for the locale) NumberFormat, 71 * a Date value is formatted with a default (for the locale) DateFormat, 298 * Locale("en"), 343 * default locale. 354 * Constructs a new MessageFormat using the given pattern and locale. 356 * @param newLocale The locale to use for formatting dates and numbers. 362 const Locale& newLocale, 365 * Constructs a new MessageFormat using the given pattern and locale 902 const Locale* locale; member in class:MessageFormat::PluralSelectorProvider [all...] |
/frameworks/base/core/java/android/view/ |
AccessibilityIterators.java | 25 import java.util.Locale; 73 private Locale mLocale; 77 public static CharacterTextSegmentIterator getInstance(Locale locale) { 79 sInstance = new CharacterTextSegmentIterator(locale); 84 private CharacterTextSegmentIterator(Locale locale) { 85 mLocale = locale; 86 onLocaleChanged(locale); 150 Locale locale = newConfig.locale local [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
CalendarTest.java | 26 import java.util.Locale; 34 Locale defaultLocale; 480 private static final Locale[] locales = new Locale[] { Locale.getDefault(), 481 Locale.US, Locale.UK, Locale.TAIWAN, Locale.PRC, Locale.KOREA [all...] |