/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/geocoding/ |
D | PhoneNumberOfflineGeocoder.java | 110 public String getDescriptionForValidNumber(PhoneNumber number, Locale languageCode) { in getDescriptionForValidNumber() argument 111 String langStr = languageCode.getLanguage(); in getDescriptionForValidNumber() 113 String regionStr = languageCode.getCountry(); in getDescriptionForValidNumber() 137 ? areaDescription : getCountryNameForNumber(number, languageCode); in getDescriptionForValidNumber() 161 public String getDescriptionForValidNumber(PhoneNumber number, Locale languageCode, in getDescriptionForValidNumber() argument 168 return getDescriptionForValidNumber(number, languageCode); in getDescriptionForValidNumber() 171 return getRegionDisplayName(regionCode, languageCode); in getDescriptionForValidNumber() 185 public String getDescriptionForNumber(PhoneNumber number, Locale languageCode) { in getDescriptionForNumber() argument 190 return getCountryNameForNumber(number, languageCode); in getDescriptionForNumber() 192 return getDescriptionForValidNumber(number, languageCode); in getDescriptionForNumber() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | LocalePriorityList.java | 84 public static Builder add(ULocale... languageCode) { in add() argument 85 return new Builder().add(languageCode); in add() 96 public static Builder add(ULocale languageCode, final double weight) { in add() argument 97 return new Builder().add(languageCode, weight); in add() 283 public Builder add(final ULocale languageCode) { in add() argument 284 return add(languageCode, D1); in add() 295 for (final ULocale languageCode : languageCodes) { in add() 296 add(languageCode, D1); in add() 310 public Builder add(final ULocale languageCode, in add() argument 312 if (languageToWeight.containsKey(languageCode)) { in add() [all …]
|
D | LocaleMatcher.java | 241 private Row.R2<ULocale, Double> getBestMatchInternal(ULocale languageCode) { in getBestMatchInternal() argument 242 languageCode = canonicalize(languageCode); in getBestMatchInternal() 243 final ULocale maximized = addLikelySubtags(languageCode); in getBestMatchInternal() 245 System.out.println("\n" + languageCode + ";\t" + maximized); in getBestMatchInternal() 251 final double match = match(languageCode, maximized, tableKey, row.get0()); in getBestMatchInternal() 287 private ULocale addLikelySubtags(ULocale languageCode) { in addLikelySubtags() argument 295 if (languageCode.equals(UNKNOWN_LOCALE)) { in addLikelySubtags() 298 final ULocale result = ULocale.addLikelySubtags(languageCode); in addLikelySubtags() 300 if (result == null || result.equals(languageCode)) { in addLikelySubtags() 301 final String language = languageCode.getLanguage(); in addLikelySubtags() [all …]
|
/external/libphonenumber/carrier/src/com/google/i18n/phonenumbers/ |
D | PhoneNumberToCarrierMapper.java | 73 public String getNameForValidNumber(PhoneNumber number, Locale languageCode) { in getNameForValidNumber() argument 74 String langStr = languageCode.getLanguage(); in getNameForValidNumber() 76 String regionStr = languageCode.getCountry(); in getNameForValidNumber() 91 public String getNameForNumber(PhoneNumber number, Locale languageCode) { in getNameForNumber() argument 94 return getNameForValidNumber(number, languageCode); in getNameForNumber() 109 public String getSafeDisplayName(PhoneNumber number, Locale languageCode) { in getSafeDisplayName() argument 113 return getNameForNumber(number, languageCode); in getSafeDisplayName()
|
/external/icu/icu4c/source/layout/ |
D | LayoutEngine.cpp | 145 le_int32 languageCode, in LayoutEngine() argument 148 …phStorage(NULL), fFontInstance(fontInstance), fScriptCode(scriptCode), fLanguageCode(languageCode), in LayoutEngine() 519 …ory(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, LEErrorCode &s… in layoutEngineFactory() argument 522 …return LayoutEngine::layoutEngineFactory(fontInstance, scriptCode, languageCode, LE_DEFAULT_FEATUR… in layoutEngineFactory() 525 …ory(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, le_int32 typoF… in layoutEngineFactory() argument 545 …result = new IndicOpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, TRUE, gs… in layoutEngineFactory() 559 …result = new IndicOpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, FALSE, g… in layoutEngineFactory() 563 …result = new ArabicOpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTab… in layoutEngineFactory() 568 …result = new OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags & ~kTypoFlagLi… in layoutEngineFactory() 572 …result = new HangulOpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTab… in layoutEngineFactory() [all …]
|
D | TibetanLayoutEngine.cpp | 26 …penTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 28 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTable, success) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 34 …penTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, in TibetanOpenTypeLayoutEngine() argument 36 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success) in TibetanOpenTypeLayoutEngine()
|
D | KhmerLayoutEngine.cpp | 20 …penTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 22 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTable, success) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 28 …penTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, in KhmerOpenTypeLayoutEngine() argument 30 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success) in KhmerOpenTypeLayoutEngine()
|
D | ArabicLayoutEngine.cpp | 37 le_int32 languageCode, le_int32 typoFlags, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 40 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTable, success) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 47 le_int32 languageCode, in ArabicOpenTypeLayoutEngine() argument 49 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success) in ArabicOpenTypeLayoutEngine() 132 …ine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, le_int32 typoF… in UnicodeArabicOpenTypeLayoutEngine() argument 133 …: ArabicOpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags | LE_CHAR_FILTER_FE… in UnicodeArabicOpenTypeLayoutEngine()
|
D | IndicLayoutEngine.cpp | 27 …penTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 29 …: OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTable, success), fMP… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 41 …ine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, le_int32 typoF… in IndicOpenTypeLayoutEngine() argument 42 …: OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success), fMPreFixups(NU… in IndicOpenTypeLayoutEngine()
|
D | ArabicLayoutEngine.h | 52 …penTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, 69 …penTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, 171 …penTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode,
|
D | OpenTypeLayoutEngine.h | 66 …penTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, 80 …penTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, 127 static LETag getLangSysTag(le_int32 languageCode);
|
D | OpenTypeLayoutEngine.cpp | 128 …penTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, in OpenTypeLayoutEngine() argument 130 …: LayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success), fFeatureMask(minimalFe… in OpenTypeLayoutEngine() 223 …penTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, in OpenTypeLayoutEngine() argument 225 … : LayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success), fFeatureOrder(FALSE), in OpenTypeLayoutEngine() 266 LETag OpenTypeLayoutEngine::getLangSysTag(le_int32 languageCode) in getLangSysTag() argument 268 if (languageCode < 0 || languageCode >= languageCodeCount) { in getLangSysTag() 272 return languageTags[languageCode]; in getLangSysTag()
|
D | TibetanLayoutEngine.h | 60 …penTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, 77 …penTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode,
|
D | KhmerLayoutEngine.h | 60 …penTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, 77 …penTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode,
|
D | HangulLayoutEngine.h | 57 …penTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, 74 …penTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode,
|
D | LayoutEngine.h | 149 le_int32 languageCode, 493 …ory(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, LEErrorCode &s… 499 …ory(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, le_int32 typo_…
|
D | IndicLayoutEngine.h | 58 …penTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, 75 …penTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode,
|
D | GXLayoutEngine2.cpp | 17 …ne2(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, const LERefere… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 18 …: LayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success), fMorphTable(morphTable) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
|
D | GXLayoutEngine.cpp | 19 …ine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, const LERefere… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 20 : LayoutEngine(fontInstance, scriptCode, languageCode, 0, success), fMorphTable(morphTable) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
|
D | HanLayoutEngine.cpp | 41 …penTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, in HanOpenTypeLayoutEngine() argument 43 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTable, success) in HanOpenTypeLayoutEngine()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/util/ |
D | LocaleNameProviderICU.java | 30 public String getDisplayLanguage(String languageCode, Locale locale) { in getDisplayLanguage() argument 31 languageCode = AsciiUtil.toLowerString(languageCode); in getDisplayLanguage() 33 .languageDisplayName(languageCode); in getDisplayLanguage() 34 if (disp == null || disp.length() == 0 || disp.equals(languageCode)) { in getDisplayLanguage()
|
/external/libphonenumber/demo/src/com/google/phonenumbers/ |
D | PhoneNumberParserServlet.java | 59 String languageCode = "en"; // Default languageCode to English if nothing is entered. in doPost() local 78 languageCode = languageEntered; in doPost() 97 output = getOutputForSingleNumber(phoneNumber, defaultCountry, languageCode, regionCode); in doPost() 108 "Language entered: " + languageCode + in doPost() 170 String phoneNumber, String defaultCountry, String languageCode, String regionCode) { in getOutputForSingleNumber() argument 263 number, new Locale(languageCode, regionCode)), in getOutputForSingleNumber() 287 number, new Locale(languageCode, regionCode)), in getOutputForSingleNumber()
|
/external/icu/icu4c/source/test/perf/leperf/ |
D | xmlreader.cpp | 179 le_int32 languageCode = -1; in readTestFile() local 191 languageCode = getLanguageCode(lang); in readTestFile() 193 if (languageCode < 0) { in readTestFile() 238 …(*callback)(id, fontName, fontVer, fontCksum, scriptCode, languageCode, text.getBuffer(), charCoun… in readTestFile()
|
/external/icu/icu4c/source/test/letest/ |
D | xmlreader.cpp | 179 le_int32 languageCode = -1; in readTestFile() local 191 languageCode = getLanguageCode(lang); in readTestFile() 193 if (languageCode < 0) { in readTestFile() 238 …(*callback)(id, fontName, fontVer, fontCksum, scriptCode, languageCode, text.getBuffer(), charCoun… in readTestFile()
|
D | gendata.cpp | 202 le_int32 languageCode = -1; in main() local 218 languageCode = getLanguageCode(lang); in main() 220 if (languageCode < 0) { in main() 307 … engine = LayoutEngine::layoutEngineFactory(font, scriptCode, languageCode, typoFlags, leStatus); in main()
|