HomeSort by relevance Sort by last modified time
    Searched refs:Locale (Results 301 - 325 of 1279) sorted by null

<<11121314151617181920>>

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DictionaryInfoUtils.java 34 import java.util.Locale;
49 private static final String LOCALE_COLUMN = "locale";
57 public final Locale mLocale;
61 public DictionaryInfo(final String id, final Locale locale, final String description,
64 mLocale = locale;
117 sb.append(String.format((Locale)null, "%%%1$0" + MAX_HEX_DIGITS_FOR_CODEPOINT + "x",
160 * Helper method to the list of cache directories, one for each distinct locale.
170 * {@link #getMainDictId(Locale)} and {@link #isMainWordListId(String)}.
176 // An id is supposed to be in format category:locale, so splitting on the separato
290 final Locale locale = LocaleUtils.constructLocaleFromString(header.getLocaleString()); local
324 final Locale locale = LocaleUtils.constructLocaleFromString(localeString); local
341 final Locale locale = LocaleUtils.constructLocaleFromString(localeString); local
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
TextToSpeechActivity.java 28 import java.util.Locale;
93 int result = mTts.setLanguage(Locale.US);
95 // int result mTts.setLanguage(Locale.FRANCE);
102 // For example, the language may be available for the locale,
  /external/apache-http/src/org/apache/http/auth/
NTUserPrincipal.java 34 import java.util.Locale;
59 this.domain = domain.toUpperCase(Locale.ENGLISH);
  /external/apache-http/src/org/apache/http/cookie/
CookieOrigin.java 33 import java.util.Locale;
67 this.host = host.toLowerCase(Locale.ENGLISH);
  /external/apache-http/src/org/apache/http/impl/auth/
RFC2617Scheme.java 34 import java.util.Locale;
107 return this.params.get(name.toLowerCase(Locale.ENGLISH));
  /external/apache-http/src/org/apache/http/impl/cookie/
NetscapeDomainHandler.java 33 import java.util.Locale;
80 final String ucDomain = domain.toUpperCase(Locale.ENGLISH);
  /external/chromium_org/third_party/WebKit/Source/core/page/
PagePopupController.cpp 73 return m_popupClient->locale().convertToLocalizedNumber(numberString);
83 return m_popupClient->locale().formatDateTime(date, Locale::FormatTypeMedium);
92 return m_popupClient->locale().formatDateTime(date, Locale::FormatTypeShort);
  /external/chromium_org/third_party/icu/source/i18n/unicode/
datefmt.h 51 * DateFormat helps you to format and parse dates for any locale. Your code can
52 * be completely independent of the locale conventions for months, days of the
55 * To format a date for the current Locale, use one of the static factory
91 * To format a date for a different Locale, specify it in the call to
96 * DateFormat::createDateInstance( DateFormat::SHORT, Locale::getFrance());
112 * locale, but generally:
495 * locale.
498 * SHORT for "h:mm a" in the US locale. Relative
500 * @param aLocale The given locale.
505 const Locale& aLocale = Locale::getDefault())
    [all...]
plurrule.h 90 * could be defined by users or from ICU locale data. There are 6
171 * locale.
173 * @param locale The locale for which a <code>PluralRules</code> object is
178 * this locale. If there's no predefined rules for this locale,
179 * the rules for the closest parent in the locale hierarchy
184 static PluralRules* U_EXPORT2 forLocale(const Locale& locale, UErrorCode& status);
290 UnicodeString getRuleFromResource(const Locale& locale, UErrorCode& status)
    [all...]
stsearch.h 121 * StringSearch iter(pattern, target, Locale::getUS(), NULL, status);
145 * Creating a <tt>StringSearch</tt> instance using the argument locale
151 * @param locale A locale which defines the language-sensitive
166 const Locale &locale,
198 * Creating a <tt>StringSearch</tt> instance using the argument locale
208 * @param locale A locale which defines the language-sensitive
223 const Locale &locale,
    [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
dtfmtrtts.h 34 void test(const Locale& loc);
35 void test(DateFormat *fmt, const Locale &origLocale, UBool timeOnly = FALSE );
icusvtst.h 45 void confirmEqual(const UnicodeString& message, const Locale* lhs, const Locale* rhs);
locnmtst.cpp 86 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getGermany());
94 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS(), ULDN_DIALECT_NAMES);
102 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS());
115 ULocaleDisplayNames *ldn = uldn_open(Locale::getGermany().getName(), ULDN_STANDARD_NAMES, &status);
123 // make sure that NULL gives us the default locale as usual
125 const char *locale = uldn_getLocale(ldn); local
126 if(0 != uprv_strcmp(uloc_getDefault(), locale)) {
127 errln("uldn_getLocale(uldn_open(NULL))=%s != default locale %s\n", locale, uloc_getDefault());
137 ULocaleDisplayNames *ldn = uldn_open(Locale::getUS().getName(), ULDN_DIALECT_NAMES, &status)
    [all...]
restsnew.cpp 89 Locale *locale; member in struct:__anon11588
153 Don't use more than one of these at a time because of the Locale names
159 if (param[5].locale == NULL) {
160 param[0].locale = new Locale("root");
161 param[1].locale = new Locale("te");
162 param[2].locale = new Locale("te", "IN")
312 Locale *locale=new Locale("te_IN"); local
446 Locale *locale=new Locale("te_IN"); local
    [all...]
sdtfmtts.cpp 29 Locale saveLocale;
30 Locale::setDefault(Locale::getEnglish(), status);
32 errln("ERROR: Could not set default locale, test may not give correct results");
35 Locale::setDefault(saveLocale, status);
71 SimpleDateFormat pat_fr(pattern, Locale::getFrench(), status);
77 DateFormatSymbols *symbols = new DateFormatSymbols(Locale::getFrench(), status);
103 SimpleDateFormat ovr2(pattern, override, Locale::getGerman(), status);
105 errln("ERROR: Could not create SimpleDateFormat (pattern, override, locale) - %s", u_errorName(status));
110 SimpleDateFormat ovr3(pattern, override_bogus, Locale::getGerman(), status)
    [all...]
  /external/icu4c/common/unicode/
listformatter.h 64 * Creates a ListFormatter appropriate for the default locale.
66 * @param errorCode ICU error code, set if no data available for default locale.
67 * @return Pointer to a ListFormatter object for the default locale,
74 * Creates a ListFormatter appropriate for a locale.
76 * @param locale The locale.
77 * @param errorCode ICU error code, set if no data available for the given locale.
82 static ListFormatter* createInstance(const Locale& locale, UErrorCode& errorCode);
113 static const ListFormatData* getListFormatData(const Locale& locale, UErrorCode& errorCode)
    [all...]
  /external/icu4c/i18n/unicode/
datefmt.h 51 * DateFormat helps you to format and parse dates for any locale. Your code can
52 * be completely independent of the locale conventions for months, days of the
55 * To format a date for the current Locale, use one of the static factory
91 * To format a date for a different Locale, specify it in the call to
96 * DateFormat::createDateInstance( DateFormat::SHORT, Locale::getFrance());
112 * locale, but generally:
527 * locale.
530 * SHORT for "h:mm a" in the US locale. Relative
532 * @param aLocale The given locale.
537 const Locale& aLocale = Locale::getDefault())
    [all...]
stsearch.h 121 * StringSearch iter(pattern, target, Locale::getUS(), NULL, status);
145 * Creating a <tt>StringSearch</tt> instance using the argument locale
151 * @param locale A locale which defines the language-sensitive
166 const Locale &locale,
198 * Creating a <tt>StringSearch</tt> instance using the argument locale
208 * @param locale A locale which defines the language-sensitive
223 const Locale &locale,
    [all...]
  /external/icu4c/test/intltest/
dtfmtrtts.h 34 void test(const Locale& loc);
35 void test(DateFormat *fmt, const Locale &origLocale, UBool timeOnly = FALSE );
icusvtst.h 45 void confirmEqual(const UnicodeString& message, const Locale* lhs, const Locale* rhs);
restsnew.cpp 89 Locale *locale; member in struct:__anon19113
153 Don't use more than one of these at a time because of the Locale names
159 if (param[5].locale == NULL) {
160 param[0].locale = new Locale("root");
161 param[1].locale = new Locale("te");
162 param[2].locale = new Locale("te", "IN")
312 Locale *locale=new Locale("te_IN"); local
446 Locale *locale=new Locale("te_IN"); local
    [all...]
sdtfmtts.cpp 29 Locale saveLocale;
30 Locale::setDefault(Locale::getEnglish(), status);
32 errln("ERROR: Could not set default locale, test may not give correct results");
35 Locale::setDefault(saveLocale, status);
71 SimpleDateFormat pat_fr(pattern, Locale::getFrench(), status);
77 DateFormatSymbols *symbols = new DateFormatSymbols(Locale::getFrench(), status);
103 SimpleDateFormat ovr2(pattern, override, Locale::getGerman(), status);
105 errln("ERROR: Could not create SimpleDateFormat (pattern, override, locale) - %s", u_errorName(status));
110 SimpleDateFormat ovr3(pattern, override_bogus, Locale::getGerman(), status)
    [all...]
  /external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/
PhoneNumberOfflineGeocoder.java 27 import java.util.Locale;
132 private String getCountryNameForNumber(PhoneNumber number, Locale language) {
140 private String getRegionDisplayName(String regionCode, Locale language) {
143 ? "" : new Locale("", regionCode).getDisplayCountry(language);
160 public String getDescriptionForValidNumber(PhoneNumber number, Locale languageCode) {
172 * As per {@link #getDescriptionForValidNumber(PhoneNumber, Locale)} but also considers the
192 public String getDescriptionForValidNumber(PhoneNumber number, Locale languageCode,
208 * As per {@link #getDescriptionForValidNumber(PhoneNumber, Locale)} but explicitly checks
216 public String getDescriptionForNumber(PhoneNumber number, Locale languageCode) {
227 * As per {@link #getDescriptionForValidNumber(PhoneNumber, Locale, String)} bu
    [all...]
  /external/llvm/unittests/Support/
LocaleTest.cpp 1 //===- unittests/Support/LocaleTest.cpp - Locale.h tests ------------------===//
10 #include "llvm/Support/Locale.h"
15 namespace locale { namespace in namespace:llvm::sys
21 TEST(Locale, columnWidth) {
63 TEST(Locale, isPrint) {
98 } // namespace locale
  /external/mockito/src/org/mockito/internal/util/reflection/
BeanPropertySetter.java 10 import java.util.Locale;
87 .append(fieldName.substring(0, 1).toUpperCase(Locale.ENGLISH))

Completed in 1107 milliseconds

<<11121314151617181920>>