Home
last modified time | relevance | path

Searched defs:locale (Results 1 – 25 of 56) sorted by relevance

123

/libcore/luni/src/main/java/libcore/icu/
DICU.java276 public static String getBestDateTimePattern(String skeleton, Locale locale) { in getBestDateTimePattern()
349 public static String toLowerCase(String s, Locale locale) { in toLowerCase()
355 public static String toUpperCase(String s, Locale locale) { in toUpperCase()
386 public static String getCurrencyDisplayName(Locale locale, String currencyCode) { in getCurrencyDisplayName()
395 public static String getCurrencySymbol(Locale locale, String currencyCode) { in getCurrencySymbol()
401 public static String getDisplayCountry(Locale targetLocale, Locale locale) { in getDisplayCountry()
407 public static String getDisplayLanguage(Locale targetLocale, Locale locale) { in getDisplayLanguage()
413 public static String getDisplayVariant(Locale targetLocale, Locale locale) { in getDisplayVariant()
419 public static String getDisplayScript(Locale targetLocale, Locale locale) { in getDisplayScript()
429 public static Locale addLikelySubtags(Locale locale) { in addLikelySubtags()
[all …]
DTimeZoneNames.java60 @Override protected String[][] create(Locale locale) { in create()
130 public static String[][] getZoneStrings(Locale locale) { in getZoneStrings()
144 public static String[] forLocale(Locale locale) { in forLocale()
160 public static native String getExemplarLocation(String locale, String tz); in getExemplarLocation()
162 private static native void fillZoneStrings(String locale, String[][] result); in fillZoneStrings()
DNativeBreakIterator.java144 public static NativeBreakIterator getCharacterInstance(Locale locale) { in getCharacterInstance()
148 public static NativeBreakIterator getLineInstance(Locale locale) { in getLineInstance()
152 public static NativeBreakIterator getSentenceInstance(Locale locale) { in getSentenceInstance()
156 public static NativeBreakIterator getWordInstance(Locale locale) { in getWordInstance()
160 private static native long getCharacterInstanceImpl(String locale); in getCharacterInstanceImpl()
161 private static native long getWordInstanceImpl(String locale); in getWordInstanceImpl()
162 private static native long getLineInstanceImpl(String locale); in getLineInstanceImpl()
163 private static native long getSentenceInstanceImpl(String locale); in getSentenceInstanceImpl()
DAlphabeticIndex.java80 public AlphabeticIndex(Locale locale) { in AlphabeticIndex()
117 public synchronized AlphabeticIndex addLabels(Locale locale) { in addLabels()
161 private static native long create(String locale); in create()
165 private static native void addLabels(long peer, String locale); in addLabels()
DLocaleData.java125 public static Locale mapInvalidAndNullLocales(Locale locale) { in mapInvalidAndNullLocales()
140 public static LocaleData get(Locale locale) { in get()
205 private static LocaleData initLocaleData(Locale locale) { in initLocaleData()
DNativePluralRules.java49 public static NativePluralRules forLocale(Locale locale) { in forLocale()
/libcore/luni/src/main/java/java/text/
DBreakIterator.java272 public static BreakIterator getCharacterInstance(Locale locale) { in getCharacterInstance()
290 public static BreakIterator getLineInstance(Locale locale) { in getLineInstance()
308 public static BreakIterator getSentenceInstance(Locale locale) { in getSentenceInstance()
326 public static BreakIterator getWordInstance(Locale locale) { in getWordInstance()
DNumberFormat.java355 public static NumberFormat getCurrencyInstance(Locale locale) { in getCurrencyInstance()
382 public static NumberFormat getIntegerInstance(Locale locale) { in getIntegerInstance()
410 public static NumberFormat getInstance(Locale locale) { in getInstance()
414 private static NumberFormat getInstance(String pattern, Locale locale) { in getInstance()
479 public static NumberFormat getNumberInstance(Locale locale) { in getNumberInstance()
509 public static NumberFormat getPercentInstance(Locale locale) { in getPercentInstance()
DDateFormatSymbols.java72 private final Locale locale; field in DateFormatSymbols
102 public DateFormatSymbols(Locale locale) { in DateFormatSymbols()
134 public static final DateFormatSymbols getInstance(Locale locale) { in getInstance()
154 Locale locale = this.locale; in readObject() local
DDecimalFormatSymbols.java57 private transient Locale locale; field in DecimalFormatSymbols
83 public DecimalFormatSymbols(Locale locale) { in DecimalFormatSymbols()
133 public static DecimalFormatSymbols getInstance(Locale locale) { in getInstance()
/libcore/luni/src/main/java/java/util/
DCurrency.java66 public static Currency getInstance(Locale locale) { in getInstance()
128 public String getDisplayName(Locale locale) { in getDisplayName()
151 public String getSymbol(Locale locale) { in getSymbol()
DResourceBundle.java92 private Locale locale; field in ResourceBundle
154 public static ResourceBundle getBundle(String bundleName, Locale locale) { in getBundle()
211 public static ResourceBundle getBundle(String bundleName, Locale locale, in getBundle()
476 private static ResourceBundle handleGetBundle(boolean loadBase, String base, Locale locale, in handleGetBundle()
588 private static Locale strip(Locale locale) { in strip()
604 private void setLocale(Locale locale) { in setLocale()
668 public Locale getFallbackLocale(String baseName, Locale locale) { in getFallbackLocale()
809 public List<Locale> getCandidateLocales(String baseName, Locale locale) { in getCandidateLocales()
845 public Locale getFallbackLocale(String baseName, Locale locale) { in getFallbackLocale()
878 public ResourceBundle newBundle(String baseName, Locale locale, in newBundle()
[all …]
DCalendar.java728 protected Calendar(TimeZone timezone, Locale locale) { in Calendar()
979 public static synchronized Calendar getInstance(Locale locale) { in getInstance()
995 public static synchronized Calendar getInstance(TimeZone timezone, Locale locale) { in getInstance()
1289 public String getDisplayName(int field, int style, Locale locale) { in getDisplayName()
1299 private String[] getDisplayNameArray(int field, int style, Locale locale) { in getDisplayNameArray()
1340 public Map<String, Integer> getDisplayNames(int field, int style, Locale locale) { in getDisplayNames()
/libcore/include/
DScopedIcuLocale.h49 Locale& locale() { in locale() function
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DRuleBasedCollatorTest.java108 Locale locale = Locale.forLanguageTag("es-u-co-trad"); in testGetCollationElementIteratorString() local
125 Locale locale = new Locale("de", "DE"); in testGetCollationElementIteratorString() local
150 Locale locale = Locale.forLanguageTag("es-u-co-trad"); in testGetCollationElementIteratorCharacterIterator() local
169 Locale locale = new Locale("de", "DE"); in testGetCollationElementIteratorCharacterIterator() local
DDecimalFormatSymbolsTest.java98 Locale locale = new Locale("not exist language", "not exist country"); in test_getInstanceLjava_util_Locale() local
285 Locale locale = Locale.CANADA; in test_setCurrencyLjava_util_Currency() local
368 Locale locale = Locale.CANADA; in test_setInternationalCurrencySymbolLjava_lang_String() local
/libcore/luni/src/main/java/java/lang/
DCaseMapper.java47 public static String toLowerCase(Locale locale, String s, char[] value, int offset, int count) { in toLowerCase()
150 public static String toUpperCase(Locale locale, String s, char[] value, int offset, int count) { in toUpperCase()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/
DNoAccessParser.java52 public void setLocale(Locale locale) { in setLocale()
DDoNothingParser.java52 public void setLocale(Locale locale) { in setLocale()
DNoSubclassParser.java51 public void setLocale(Locale locale) { in setLocale()
DNoInstanceParser.java55 public void setLocale(Locale locale) { in setLocale()
DMockParser.java64 public void setLocale(Locale locale) throws SAXException { in setLocale()
/libcore/luni/src/main/java/org/xml/sax/
DParser.java71 public abstract void setLocale (Locale locale) in setLocale()
/libcore/luni/src/test/java/libcore/java/text/
DDecimalFormatSymbolsTest.java39 private void checkLocaleIsEquivalentToRoot(Locale locale) { in checkLocaleIsEquivalentToRoot()
/libcore/luni/src/test/java/libcore/java/util/
DOldAndroidLocaleTest.java36 Locale locale = new Locale("en"); in testLocale() local

123