/external/chromium_org/third_party/icu/source/common/ |
resbund_cnv.cpp | 26 const Locale& locale, 30 constructForLocale(path, locale, error); 37 constructForLocale(path, Locale::getDefault(), error); 42 const Locale& locale, 46 fResource = ures_open(NULL, locale.getName(), &error); 51 fResource = ures_openU(nullTerminatedPath.getBuffer(), locale.getName(), &error);
|
locbased.cpp | 16 Locale LocaleBased::getLocale(ULocDataLocaleType type, UErrorCode& status) const { 18 return Locale((id != 0) ? id : "");
|
servloc.h | 52 * A subclass of Key that implements a locale fallback mechanism. 53 * The first locale to search for is the locale provided by the 54 * client, and the fallback locale to search for is the current 55 * default locale. If a prefix is present, the currentDescriptor 56 * includes it before the locale proper, separated by "/". This 59 * <p>Canonicalization adjusts the locale string so that the 93 * PrimaryID is the user's requested locale string, 95 * fallbackID is the current default locale's string in 130 * Convenience method to return the locale corresponding to the (canonical) original ID [all...] |
/external/icu4c/common/ |
resbund_cnv.cpp | 26 const Locale& locale, 30 constructForLocale(path, locale, error); 37 constructForLocale(path, Locale::getDefault(), error); 42 const Locale& locale, 46 fResource = ures_open(NULL, locale.getName(), &error); 51 fResource = ures_openU(nullTerminatedPath.getBuffer(), locale.getName(), &error);
|
locbased.cpp | 16 Locale LocaleBased::getLocale(ULocDataLocaleType type, UErrorCode& status) const { 18 return Locale((id != 0) ? id : "");
|
servloc.h | 52 * A subclass of Key that implements a locale fallback mechanism. 53 * The first locale to search for is the locale provided by the 54 * client, and the fallback locale to search for is the current 55 * default locale. If a prefix is present, the currentDescriptor 56 * includes it before the locale proper, separated by "/". This 59 * <p>Canonicalization adjusts the locale string so that the 93 * PrimaryID is the user's requested locale string, 95 * fallbackID is the current default locale's string in 130 * Convenience method to return the locale corresponding to the (canonical) original ID [all...] |
/libcore/luni/src/main/java/libcore/net/http/ |
HttpDate.java | 23 import java.util.Locale; 38 DateFormat rfc1123 = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss zzz", Locale.US); 78 return new SimpleDateFormat(formatString, Locale.US).parse(value);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
RunInLocale.java | 22 import java.util.Locale; 30 * Execute {@link #job(Resources)} method in specified system locale exclusively. 33 * @param newLocale the locale to change to. 36 public T runInLocale(final Resources res, final Locale newLocale) { 39 final Locale oldLocale = conf.locale; 43 conf.locale = newLocale; 49 conf.locale = oldLocale;
|
/cts/tests/tests/location/src/android/location/cts/ |
AddressTest.java | 19 import java.util.Locale; 32 new Address(Locale.ENGLISH); 34 new Address(Locale.FRANCE); 40 Address address = new Address(Locale.GERMAN); 52 Address address = new Address(Locale.ITALY); 63 Address address = new Address(Locale.JAPAN); 74 Address address = new Address(Locale.KOREA); 85 Address address = new Address(Locale.TAIWAN); 102 Address address = new Address(Locale.SIMPLIFIED_CHINESE); 113 Address address = new Address(Locale.CHINA) 250 Locale locale = Locale.US; local 274 Locale locale = Locale.KOREA; local [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
ListResourceBundleTest.java | 21 import java.util.Locale; 35 Locale.setDefault(new Locale("en", "US")); 36 bundle = ResourceBundle.getBundle(name, new Locale("fr", "FR", "VAR")); 61 new Locale("fr", "FR")); 83 new Locale("fr", "FR"));
|
MissingResourceExceptionTest.java | 20 import java.util.Locale; 51 + '_' + Locale.getDefault(), e.getClassName());
|
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
PlatformLocale.h | 37 class PLATFORM_EXPORT Locale { 38 WTF_MAKE_NONCOPYABLE(Locale); 40 static PassOwnPtr<Locale> create(const String& localeIdentifier); 41 static Locale& defaultLocale(); 49 // for this Locale locale. The input string must conform to HTML 96 // technical standard 35, Locale Data Markup Language, e.g. "'Week' ww, yyyy" 129 // Returns true if people use right-to-left writing in the locale for this 141 virtual ~Locale(); 151 Locale() : m_hasLocaleData(false) { [all...] |
/external/chromium_org/third_party/icu/source/common/unicode/ |
resbund.h | 30 * Modified to load locale index out of new file 64 * locale. A resource bundle provides a way of accessing locale- specfic information in 66 * locale and then ask it for individual resources. 83 * @param packageName The packageName and locale together point to an ICU udata object, 84 * as defined by <code> udata_open( packageName, "res", locale, err) </code> 88 * @param locale This is the locale this resource bundle is for. To get resources 89 * for the French locale, for example, you would create a 90 * ResourceBundle passing Locale::FRENCH for the "locale" parameter [all...] |
/external/icu4c/common/unicode/ |
resbund.h | 30 * Modified to load locale index out of new file 64 * locale. A resource bundle provides a way of accessing locale- specfic information in 66 * locale and then ask it for individual resources. 83 * @param packageName The packageName and locale together point to an ICU udata object, 84 * as defined by <code> udata_open( packageName, "res", locale, err) </code> 88 * @param locale This is the locale this resource bundle is for. To get resources 89 * for the French locale, for example, you would create a 90 * ResourceBundle passing Locale::FRENCH for the "locale" parameter [all...] |
/packages/apps/Email/tests/src/com/android/email/ |
ControllerProviderOpsTests.java | 28 import java.util.Locale; 64 * These are strings that should not change per locale. 81 Locale savedLocale = Locale.getDefault(); 82 Locale.setDefault(Locale.FRANCE); 88 Locale.setDefault(savedLocale);
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
Constants.java | 19 import java.util.Locale; 67 + Locale.getDefault().toString() + "; " + android.os.Build.DEVICE
|
/external/chromium_org/third_party/WebKit/Source/web/ |
ColorChooserPopupUIController.h | 55 virtual WebCore::Locale& locale() OVERRIDE; 67 WebCore::Locale& m_locale;
|
/external/chromium_org/third_party/icu/source/i18n/ |
measfmt.cpp | 22 MeasureFormat* U_EXPORT2 MeasureFormat::createCurrencyFormat(const Locale& locale, 26 fmt = new CurrencyFormat(locale, ec); 39 return MeasureFormat::createCurrencyFormat(Locale::getDefault(), ec);
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
coll.h | 29 * createDefault() to call new RuleBasedCollator(Locale&) 82 * The <code>Collator</code> class performs locale-sensitive string 98 * Like other locale-sensitive classes, you can use the static factory method, 100 * <code>Collator</code> object for a given locale. You will only need to 106 * <code>Collator</code> for the default locale. 110 * // Compare two strings in the default locale 125 * The exact assignment of strengths to language features is locale dependant. 135 * Collator* usCollator = Collator::createInstance(Locale::US, success); 162 * <strong>Note:</strong> <code>Collator</code>s with different Locale, 172 * @see Locale [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
incaltst.h | 41 void quasiGregorianTest(Calendar& cal, const Locale& gregoLocale, const int32_t *data); 42 void simpleTest(const Locale& loc, const UnicodeString& expect, UDate expectDate, UErrorCode& status);
|
/external/icu4c/i18n/ |
measfmt.cpp | 24 MeasureFormat* U_EXPORT2 MeasureFormat::createCurrencyFormat(const Locale& locale, 28 fmt = new CurrencyFormat(locale, ec); 41 return MeasureFormat::createCurrencyFormat(Locale::getDefault(), ec);
|
/external/icu4c/i18n/unicode/ |
coll.h | 29 * createDefault() to call new RuleBasedCollator(Locale&) 82 * The <code>Collator</code> class performs locale-sensitive string 98 * Like other locale-sensitive classes, you can use the static factory method, 100 * <code>Collator</code> object for a given locale. You will only need to 106 * <code>Collator</code> for the default locale. 110 * // Compare two strings in the default locale 125 * The exact assignment of strengths to language features is locale dependant. 135 * Collator* usCollator = Collator::createInstance(Locale::US, success); 162 * <strong>Note:</strong> <code>Collator</code>s with different Locale, 172 * @see Locale [all...] |
gender.h | 42 * locale. 44 * @param locale The locale for which a <code>GenderInfo</code> object is 49 * this locale. The returned object is immutable, so it is 54 static const GenderInfo* U_EXPORT2 getInstance(const Locale& locale, UErrorCode& status); 80 * Copy constructor. One object per locale invariant. Clients 98 static const GenderInfo* loadInstance(const Locale& locale, UErrorCode& status);
|
plurfmt.h | 82 * the constructors that takes a <code>locale</code> object. To 92 * specified locale. Syntax: 123 * <code>NumberFormat</code> for the <code>PluralFormat</code>'s locale. If you 135 * <code>PluralFormat</code>'s constructor. If you also specify a locale in this 136 * constructor, this locale will be used to format the number in the message 151 * Creates a new cardinal-number <code>PluralFormat</code> for the default locale. 152 * This locale will be used to get the set of plural rules and for standard 161 * Creates a new cardinal-number <code>PluralFormat</code> for a given locale. 162 * @param locale the <code>PluralFormat</code> will be configured with 163 * rules for this locale. This locale will also be used fo 567 Locale locale; member in class:PluralFormat [all...] |
/external/icu4c/test/intltest/ |
incaltst.h | 41 void quasiGregorianTest(Calendar& cal, const Locale& gregoLocale, const int32_t *data); 42 void simpleTest(const Locale& loc, const UnicodeString& expect, UDate expectDate, UErrorCode& status);
|