/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | ContentLanguage.java | 102 public ContentLanguage(String languageTag) { in ContentLanguage() argument 104 this.setLanguageTag( languageTag ); in ContentLanguage() 130 public void setLanguageTag(String languageTag) { in setLanguageTag() argument 132 final int slash = languageTag.indexOf('-'); in setLanguageTag() 134 … this.locale = new Locale(languageTag.substring(0,slash), languageTag.substring(slash+1) ); in setLanguageTag() 136 this.locale = new Locale(languageTag); in setLanguageTag()
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
D | ScriptList.java | 68 public LangSysRecord findLangSysRecord(String languageTag) in findLangSysRecord() argument 73 if (langSysRecord.getTag().equals(languageTag)) { in findLangSysRecord() 85 LangSysRecord newLangSysRecord = new LangSysRecord(languageTag); in findLangSysRecord() 142 private LangSysRecord findLangSysRecord(String scriptTag, String languageTag) in findLangSysRecord() argument 148 return scriptRecord.findLangSysRecord(languageTag); in findLangSysRecord() 163 return newScriptRecord.findLangSysRecord(languageTag); in findLangSysRecord() 166 public void addFeature(String scriptTag, String languageTag, Feature feature) in addFeature() argument 168 LangSysRecord langSysRecord = findLangSysRecord(scriptTag, languageTag); in addFeature()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | LocalizedNumberFormatterAsFormat.java | 115 proxy.languageTag = locale.toLanguageTag(); in writeReplace() 123 String languageTag; field in LocalizedNumberFormatterAsFormat.Proxy 133 out.writeUTF(languageTag); in writeExternal() 140 languageTag = in.readUTF(); in readExternal() 146 .locale(ULocale.forLanguageTag(languageTag)) in readResolve()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | LocalizedNumberFormatterAsFormat.java | 113 proxy.languageTag = locale.toLanguageTag(); in writeReplace() 121 String languageTag; field in LocalizedNumberFormatterAsFormat.Proxy 131 out.writeUTF(languageTag); in writeExternal() 138 languageTag = in.readUTF(); in readExternal() 144 .locale(ULocale.forLanguageTag(languageTag)) in readResolve()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | LanguageTagParser.java | 177 public LanguageTagParser set(String languageTag) { in set() argument 178 if (languageTag.length() == 0) { in set() 181 languageTag = languageTag.toLowerCase(Locale.ROOT); in set() 189 original = languageTag; in set() 190 int localeExtensionsPosition = languageTag.indexOf('@'); in set() 192 … final String localeExtensionsString = languageTag.substring(localeExtensionsPosition + 1); in set() 202 languageTag = languageTag.substring(0, localeExtensionsPosition); in set() 206 if (grandfatheredCodes.contains(languageTag)) { in set() 207 language = languageTag; in set() 213 StringTokenizer st = new StringTokenizer(languageTag, separator); in set() [all …]
|
D | LanguageTagCanonicalizer.java | 109 private String getReplacement(LanguageTagField tagField, String field, String languageTag) { in getReplacement() argument 117 LanguageTagParser x = new LanguageTagParser().set(languageTag).setRegion(""); in getReplacement()
|
D | Iso639Data.java | 202 public static String toBiblio3(String languageTag) { in toBiblio3() argument 206 String result = toBiblio3.get(languageTag); in toBiblio3() 210 return toAlpha3(languageTag); in toBiblio3()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | LikelySubtags.java | 111 public static String maximize(String languageTag, Map<String, String> toMaximized) { in maximize() argument 112 return new LikelySubtags(toMaximized).maximize(languageTag); in maximize() 120 public synchronized String maximize(String languageTag) { in maximize() argument 121 if (languageTag == null) { in maximize() 125 if (DEBUG && languageTag.equals("es" + TAG_SEPARATOR + "Hans" + TAG_SEPARATOR + "CN")) { in maximize() 129 ltp.set(languageTag); in maximize()
|
D | GenerateMaximalLocales.java | 1194 public static String maximize(String languageTag, Map<String, String> toMaximized) { in maximize() argument 1198 ltp.set(languageTag); in maximize() 1216 languageTag = ltp.toString(); in maximize() 1219 String result = toMaximized.get(languageTag); in maximize() 1246 return languageTag; // it was ok, and we couldn't do anything with it in maximize()
|
D | CLDRModify.java | 1341 String languageTag = "root"; 1356 languageTag = "root-u-nu-deva"; 1358 languageTag = "root-u-nu-beng"; 1363 languageTag = "root-u-nu-arabext"; 1367 NumberFormat nf = NumberFormat.getInstance(ULocale.forLanguageTag(languageTag));
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
D | LanguageTag.java | 160 public static LanguageTag parse(String languageTag, ParseStatus sts) { in parse() argument 171 String[] gfmap = GRANDFATHERED.get(new AsciiUtil.CaseInsensitiveKey(languageTag)); in parse() 177 itr = new StringTokenIterator(languageTag, SEP); in parse() 199 sts._parseLength = languageTag.length(); in parse()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
D | LanguageTag.java | 164 public static LanguageTag parse(String languageTag, ParseStatus sts) { in parse() argument 175 String[] gfmap = GRANDFATHERED.get(new AsciiUtil.CaseInsensitiveKey(languageTag)); in parse() 181 itr = new StringTokenIterator(languageTag, SEP); in parse() 203 sts._parseLength = languageTag.length(); in parse()
|
/external/nist-sip/java/javax/sip/header/ |
D | ContentLanguageHeader.java | 12 void setLanguageTag(String languageTag); in setLanguageTag() argument
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/locale/ |
D | LanguageTag.java | 160 public static LanguageTag parse(String languageTag, ParseStatus sts) { in parse() argument 170 String[] gfmap = GRANDFATHERED.get(new AsciiUtil.CaseInsensitiveKey(languageTag)); in parse() 175 itr = new StringTokenIterator(languageTag, SEP); in parse()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | ULocale.java | 3237 public static ULocale forLanguageTag(String languageTag) { in forLanguageTag() argument 3238 LanguageTag tag = LanguageTag.parse(languageTag, null); in forLanguageTag() 3466 public Builder setLanguageTag(String languageTag) { in setLanguageTag() argument 3468 LanguageTag tag = LanguageTag.parse(languageTag, sts); in setLanguageTag()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | ULocale.java | 3372 public static ULocale forLanguageTag(String languageTag) { in forLanguageTag() argument 3373 LanguageTag tag = LanguageTag.parse(languageTag, null); in forLanguageTag() 3613 public Builder setLanguageTag(String languageTag) { in setLanguageTag() argument 3615 LanguageTag tag = LanguageTag.parse(languageTag, sts); in setLanguageTag()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
D | ULocale.java | 2734 public static ULocale forLanguageTag(String languageTag) { in forLanguageTag() argument 2735 LanguageTag tag = LanguageTag.parse(languageTag, null); in forLanguageTag() 2840 public Builder setLanguageTag(String languageTag) { in setLanguageTag() argument 2842 LanguageTag tag = LanguageTag.parse(languageTag, sts); in setLanguageTag()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | MessageFormat.java | 2338 String languageTag = (String)in.readObject(); in readObject() local 2339 ulocale = ULocale.forLanguageTag(languageTag); in readObject()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | MessageFormat.java | 2385 String languageTag = (String)in.readObject(); in readObject() local 2386 ulocale = ULocale.forLanguageTag(languageTag); in readObject()
|