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

1 2 3 4 5 6 7 891011>>

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DicTraverseSession.java 21 import java.util.Locale;
28 private static native long setDicTraverseSessionNative(String locale, long dictSize);
35 public DicTraverseSession(Locale locale, long dictionary, long dictSize) {
37 locale != null ? locale.toString() : "", dictSize);
54 private final long createNativeDicTraverseSession(String locale, long dictSize) {
55 return setDicTraverseSessionNative(locale, dictSize);
SynchronouslyLoadedContactsBinaryDictionary.java 25 import java.util.Locale;
30 public SynchronouslyLoadedContactsBinaryDictionary(final Context context, final Locale locale) {
31 super(context, locale);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
LocaleUtils.java 22 import java.util.Locale;
40 // Locale match level constants.
49 // The languages matches, but the country are different. Or, the reference locale requires a
50 // country and the tested locale does not have one.
52 // The languages and country match, but the variants are different. Or, the reference locale
53 // requires a variant and the tested locale does not have one.
55 // The required locale is null or empty so it will accept anything, and the tested locale
58 // The language matches, and the tested locale specifies a country but the reference locale
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
CountryMonitor.java 25 import java.util.Locale;
54 // Fallback to Locale if there are issues with CountryDetector
55 return Locale.getDefault().getCountry();
NameNormalizer.java 24 import java.util.Locale;
34 private static Locale sCollatorLocale;
40 * Ensure that the cached collators are for the current locale.
43 final Locale locale = Locale.getDefault(); local
44 if (locale.equals(sCollatorLocale)) {
47 sCollatorLocale = locale;
49 sCachedCompressingCollator = (RuleBasedCollator) Collator.getInstance(locale);
53 sCachedComplexityCollator = (RuleBasedCollator) Collator.getInstance(locale);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/
SSLKeyGenerator.cpp 41 void getSupportedKeySizes(Locale& locale, Vector<String>& sizes)
44 sizes[0] = locale.queryString(blink::WebLocalizedString::KeygenMenuHighGradeKeySize);
45 sizes[1] = locale.queryString(blink::WebLocalizedString::KeygenMenuMediumGradeKeySize);
  /external/icu4c/test/intltest/
dtfmttst.h 242 const Locale& loc,
247 const Locale& locale);
250 const Locale& loc);
253 const Locale &locale);
dtifmtts.h 65 void stress(const char** data, int32_t data_length, const Locale& loc,
itrbnfrt.cpp 65 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getUS(), status);
83 = new RuleBasedNumberFormat(URBNF_DURATION, Locale::getUS(), status);
101 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("es", "es"), status);
119 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getFrance(), status);
137 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("fr", "CH"), status);
155 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getItalian(), status);
173 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getGermany(), status);
191 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("sv", "SE"), status);
209 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("nl", "NL"), status);
227 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getJapan(), status)
    [all...]
loctest.h 11 * Tests for the Locale class
29 * Use Locale to access Resource file data and compare against expected values
33 * Use Locale to access Resource file display names and compare against expected values
45 * Test Locale::getAvailableLocales
82 /* Test getting the locale base name */
109 const Locale& validLoc,
110 const Locale& actualLoc,
117 void doTestDisplayNames(Locale& inLocale, int32_t compareIndex);
  /frameworks/base/core/java/android/provider/
UserDictionary.java 19 import java.util.Locale;
30 * frequency information and locale information.
81 * The locale that this word belongs to. Null if it pertains to all
82 * locales. Locale is as defined by the string returned by Locale.toString().
85 public static final String LOCALE = "locale";
100 * @deprecated Use {@link #addWord(Context, String, int, String, Locale)}.
106 * @deprecated Use {@link #addWord(Context, String, int, String, Locale)}.
117 * specified locale type
136 final Locale locale; local
    [all...]
  /frameworks/support/v4/java/android/support/v4/text/
TextUtilsCompat.java 21 import java.util.Locale;
63 * Return the layout direction for a given Locale
65 * @param locale the Locale for which we want the layout direction. Can be null.
72 public static int getLayoutDirectionFromLocale(Locale locale) {
73 if (locale != null && !locale.equals(ROOT)) {
75 ICUCompat.addLikelySubtags(locale.toString()));
76 if (scriptSubtag == null) return getLayoutDirectionFromFirstChar(locale);
    [all...]
  /cts/tests/tests/location/src/android/location/cts/
GeocoderTest.java 24 import java.util.Locale;
34 new Geocoder(getContext(), Locale.ENGLISH);
98 Geocoder geocoder = new Geocoder(getContext(), Locale.US);
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
URISyntaxExceptionTest.java 20 import java.util.Locale;
106 Locale.setDefault(Locale.US);
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
BreakIteratorTest.java 23 import java.util.Locale;
38 iterator = BreakIterator.getCharacterInstance(Locale.US);
46 BreakIterator newOne = BreakIterator.getCharacterInstance(Locale.US);
53 newOne = BreakIterator.getCharacterInstance(Locale.CHINA);
166 Locale[] locales = BreakIterator.getAvailableLocales();
178 * Class under test for BreakIterator getCharacterInstance(Locale)
181 BreakIterator it = BreakIterator.getCharacterInstance(Locale.US);
182 BreakIterator it2 = BreakIterator.getCharacterInstance(Locale.CHINA);
195 * Class under test for BreakIterator getLineInstance(Locale)
198 BreakIterator it = BreakIterator.getLineInstance(Locale.US)
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/
windtfmt.h 43 Win32DateFormat(DateFormat::EStyle timeStyle, DateFormat::EStyle dateStyle, const Locale &locale, UErrorCode &status);
61 * calendar for the specified or default locale is used. The caller should
71 * calendar for the specified or default locale is used.
128 UnicodeString* getTimeDateFormat(const Calendar *cal, const Locale *locale, UErrorCode &status) const;
133 const Locale *fLocale;
  /external/chromium_org/third_party/icu/source/test/intltest/
itrbnfrt.cpp 65 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getUS(), status);
83 = new RuleBasedNumberFormat(URBNF_DURATION, Locale::getUS(), status);
101 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("es", "es"), status);
119 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getFrance(), status);
137 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("fr", "CH"), status);
155 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getItalian(), status);
173 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getGermany(), status);
191 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("sv", "SE"), status);
209 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("nl", "NL"), status);
227 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getJapan(), status)
    [all...]
loctest.h 11 * Tests for the Locale class
29 * Use Locale to access Resource file data and compare against expected values
33 * Use Locale to access Resource file display names and compare against expected values
45 * Test Locale::getAvailableLocales
82 /* Test getting the locale base name */
108 const Locale& validLoc,
109 const Locale& actualLoc,
116 void doTestDisplayNames(Locale& inLocale, int32_t compareIndex);
  /external/icu4c/common/
unistr_titlecase_brkiter.cpp 43 setTempCaseMap(UCaseMap *csm, const char *locale) {
47 if(locale!=NULL && locale[0]==0) {
48 csm->locale[0]=0;
50 ustrcase_setTempCaseMapLocale(csm, locale);
58 return toTitle(titleIter, Locale::getDefault(), 0);
62 UnicodeString::toTitle(BreakIterator *titleIter, const Locale &locale) {
63 return toTitle(titleIter, locale, 0);
67 UnicodeString::toTitle(BreakIterator *titleIter, const Locale &locale, uint32_t options)
    [all...]
  /external/icu4c/i18n/
windtfmt.h 43 Win32DateFormat(DateFormat::EStyle timeStyle, DateFormat::EStyle dateStyle, const Locale &locale, UErrorCode &status);
61 * calendar for the specified or default locale is used. The caller should
70 * calendar for the specified or default locale is used.
119 UnicodeString* getTimeDateFormat(const Calendar *cal, const Locale *locale, UErrorCode &status) const;
124 const Locale *fLocale;
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
HttpDate.java 23 import java.util.Locale;
38 DateFormat rfc1123 = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss zzz", Locale.US);
69 format = new SimpleDateFormat(BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS[i], Locale.US);
  /frameworks/base/core/java/android/database/sqlite/
SQLiteDatabaseConfiguration.java 20 import java.util.Locale;
73 * The database locale.
75 * Default is the value returned by {@link Locale#getDefault()}.
77 public Locale locale; field in class:SQLiteDatabaseConfiguration
110 locale = Locale.getDefault();
145 locale = other.locale;
  /frameworks/base/location/tests/locationtests/src/android/location/
GeocoderTest.java 27 import java.util.Locale;
35 Locale locale = new Locale("en", "us"); local
36 Geocoder g = new Geocoder(mContext, locale);
  /libcore/benchmarks/src/benchmarks/regression/
SchemePrefixBenchmark.java 21 import java.util.Locale;
43 return spec.substring(0, colon).toLowerCase(Locale.US);
63 return matcher.group(1).toLowerCase(Locale.US);
  /libcore/support/src/test/java/libcore/java/io/
NullPrintStream.java 22 import java.util.Locale;
37 public PrintStream format(Locale l, String format, Object... args) { return this; }
39 public PrintStream printf(Locale l, String format, Object... args) { return this; }

Completed in 2052 milliseconds

1 2 3 4 5 6 7 891011>>