/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/util/ |
Locale.java | 238 private transient String languageCode; 250 this.languageCode = lowerCaseLanguageCode; 280 languageCode = ""; 286 // languageCode = language.toLowerCase(Locale.US); // not supported by GWT 287 languageCode = language.toLowerCase(); 290 if (languageCode.equals("he")) { 291 languageCode = "iw"; 292 } else if (languageCode.equals("id")) { 293 languageCode = "in"; 294 } else if (languageCode.equals("yi")) [all...] |
/external/libphonenumber/carrier/src/com/google/i18n/phonenumbers/ |
PhoneNumberToCarrierMapper.java | 70 * @param languageCode the language code in which the name should be written 73 public String getNameForValidNumber(PhoneNumber number, Locale languageCode) { 74 String langStr = languageCode.getLanguage(); 76 String regionStr = languageCode.getCountry(); 87 * @param languageCode the language code in which the name should be written 91 public String getNameForNumber(PhoneNumber number, Locale languageCode) { 94 return getNameForValidNumber(number, languageCode); 106 * @param languageCode the language code in which the name should be written 109 public String getSafeDisplayName(PhoneNumber number, Locale languageCode) { 113 return getNameForNumber(number, languageCode); [all...] |
/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/geocoding/ |
PhoneNumberOfflineGeocoder.java | 107 * @param languageCode the language code for which the description should be written 110 public String getDescriptionForValidNumber(PhoneNumber number, Locale languageCode) { 111 String langStr = languageCode.getLanguage(); 113 String regionStr = languageCode.getCountry(); 137 ? areaDescription : getCountryNameForNumber(number, languageCode); 154 * @param languageCode the language code for which the description should be written 161 public String getDescriptionForValidNumber(PhoneNumber number, Locale languageCode, 168 return getDescriptionForValidNumber(number, languageCode); 171 return getRegionDisplayName(regionCode, languageCode); 181 * @param languageCode the language code for which the description should be writte [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
AndroidLocale.java | 39 public static String adjustLanguageCode(String languageCode) { 40 String adjusted = languageCode.toLowerCase(Locale.US); 43 if (languageCode.equals("he")) { 45 } else if (languageCode.equals("id")) { 47 } else if (languageCode.equals("yi")) {
|
/external/icu/icu4c/source/layout/ |
HangulLayoutEngine.h | 57 HangulOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, 74 HangulOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode,
|
KhmerLayoutEngine.h | 60 KhmerOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, 77 KhmerOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode,
|
TibetanLayoutEngine.h | 60 TibetanOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, 77 TibetanOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode,
|
KhmerLayoutEngine.cpp | 20 KhmerOpenTypeLayoutEngine::KhmerOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, 22 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTable, success) 28 KhmerOpenTypeLayoutEngine::KhmerOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, 30 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success)
|
TibetanLayoutEngine.cpp | 26 TibetanOpenTypeLayoutEngine::TibetanOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, 28 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTable, success) 34 TibetanOpenTypeLayoutEngine::TibetanOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, 36 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success)
|
IndicLayoutEngine.h | 58 IndicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, 75 IndicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode,
|
ArabicLayoutEngine.h | 52 ArabicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, 69 ArabicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, 163 * @param languageCode - the language 171 UnicodeArabicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode,
|
LayoutEngine.cpp | 145 le_int32 languageCode, 148 : fGlyphStorage(NULL), fFontInstance(fontInstance), fScriptCode(scriptCode), fLanguageCode(languageCode), 519 LayoutEngine *LayoutEngine::layoutEngineFactory(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, LEErrorCode &success) 522 return LayoutEngine::layoutEngineFactory(fontInstance, scriptCode, languageCode, LE_DEFAULT_FEATURE_FLAG, success); 525 LayoutEngine *LayoutEngine::layoutEngineFactory(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, le_int32 typoFlags, LEErrorCode &success) 545 result = new IndicOpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, TRUE, gsubTable, success); 559 result = new IndicOpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, FALSE, gsubTable, success); 563 result = new ArabicOpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTable, success); 568 result = new OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags & ~kTypoFlagLiga, gsubTable, success); 572 result = new HangulOpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTable, success) [all...] |
OpenTypeLayoutEngine.h | 66 OpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, 80 OpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, 121 * @param languageCode - the language code 127 static LETag getLangSysTag(le_int32 languageCode);
|
HanLayoutEngine.h | 50 HanOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode,
|
ThaiLayoutEngine.h | 39 * @param languageCode - the language 47 ThaiLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, le_int32 typoFlags, LEErrorCode &success);
|
GXLayoutEngine.cpp | 19 GXLayoutEngine::GXLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, const LEReferenceTo<MorphTableHeader> &morphTable, LEErrorCode &success) 20 : LayoutEngine(fontInstance, scriptCode, languageCode, 0, success), fMorphTable(morphTable)
|
GXLayoutEngine2.cpp | 17 GXLayoutEngine2::GXLayoutEngine2(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, const LEReferenceTo<MorphTableHeader2> &morphTable, le_int32 typoFlags, LEErrorCode &success) 18 : LayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success), fMorphTable(morphTable)
|
HanLayoutEngine.cpp | 41 HanOpenTypeLayoutEngine::HanOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, 43 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTable, success)
|
/external/icu/icu4c/source/test/letest/ |
xmlreader.h | 18 le_int32 languageCode,
|
/external/icu/icu4c/source/test/perf/leperf/ |
xmlreader.h | 18 le_int32 languageCode,
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/util/ |
LocaleNameProviderICU.java | 30 public String getDisplayLanguage(String languageCode, Locale locale) { 31 languageCode = AsciiUtil.toLowerString(languageCode); 33 .languageDisplayName(languageCode); 34 if (disp == null || disp.length() == 0 || disp.equals(languageCode)) {
|
/libcore/ojluni/src/main/java/java/util/spi/ |
LocaleNameProvider.java | 50 * For example, if <code>languageCode</code> is "fr" and <code>locale</code> 51 * is en_US, getDisplayLanguage() will return "French"; if <code>languageCode</code> 56 * @param languageCode the language code string in the form of two to eight 61 * @exception NullPointerException if <code>languageCode</code> or <code>locale</code> is null 62 * @exception IllegalArgumentException if <code>languageCode</code> is not in the form of 69 public abstract String getDisplayLanguage(String languageCode, Locale locale);
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
LocalePriorityList.java | 81 * @param languageCode locale/language to be added 84 public static Builder add(ULocale... languageCode) { 85 return new Builder().add(languageCode); 91 * @param languageCode locale/language to be added 95 public static Builder add(ULocale languageCode, final double weight) { 96 return new Builder().add(languageCode, weight); 267 * @param languageCode to add with weight 1.0 270 public Builder add(final ULocale languageCode) { 271 return add(languageCode, D1); 281 for (final ULocale languageCode : languageCodes) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
LocalePriorityList.java | 80 * @param languageCode locale/language to be added 84 public static Builder add(ULocale... languageCode) { 85 return new Builder().add(languageCode); 91 * @param languageCode locale/language to be added 96 public static Builder add(ULocale languageCode, final double weight) { 97 return new Builder().add(languageCode, weight); 279 * @param languageCode to add with weight 1.0 283 public Builder add(final ULocale languageCode) { 284 return add(languageCode, D1); 295 for (final ULocale languageCode : languageCodes) [all...] |
/libcore/libart/src/main/java/java/lang/ |
CaseMapper.java | 48 String languageCode = locale.getLanguage(); 49 if (languageCode.equals("tr") || languageCode.equals("az") || languageCode.equals("lt")) { 146 String languageCode = locale.getLanguage(); 147 if (languageCode.equals("tr") || languageCode.equals("az") || languageCode.equals("lt")) { 150 if (languageCode.equals("el")) {
|