/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 112 public String getDescriptionForValidNumber(PhoneNumber number, Locale languageCode) { 113 String langStr = languageCode.getLanguage(); 115 String regionStr = languageCode.getCountry(); 139 ? areaDescription : getCountryNameForNumber(number, languageCode); 156 * @param languageCode the language code for which the description should be written 164 public String getDescriptionForValidNumber(PhoneNumber number, Locale languageCode, 171 return getDescriptionForValidNumber(number, languageCode); 174 return getRegionDisplayName(regionCode, languageCode); 184 * @param languageCode the language code for which the description should be writte [all...] |
/frameworks/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/test/letest/ |
xmlreader.h | 20 le_int32 languageCode,
|
xmlreader.cpp | 181 le_int32 languageCode = -1; 193 languageCode = getLanguageCode(lang); 195 if (languageCode < 0) { 240 (*callback)(id, fontName, fontVer, fontCksum, scriptCode, languageCode, text.getBuffer(), charCount, &expected);
|
gendata.cpp | 204 le_int32 languageCode = -1; 220 languageCode = getLanguageCode(lang); 222 if (languageCode < 0) { 309 engine = LayoutEngine::layoutEngineFactory(font, scriptCode, languageCode, typoFlags, leStatus);
|
/external/icu/icu4c/source/test/perf/leperf/ |
xmlreader.h | 21 le_int32 languageCode,
|
xmlreader.cpp | 185 le_int32 languageCode = -1; 197 languageCode = getLanguageCode(lang); 199 if (languageCode < 0) { 244 (*callback)(id, fontName, fontVer, fontCksum, scriptCode, languageCode, text.getBuffer(), charCount, &expected);
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/util/ |
LocaleNameProviderICU.java | 32 public String getDisplayLanguage(String languageCode, Locale locale) { 33 languageCode = AsciiUtil.toLowerString(languageCode); 35 .languageDisplayName(languageCode); 36 if (disp == null || disp.length() == 0 || disp.equals(languageCode)) {
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
LocalePriorityList.java | 83 * @param languageCode locale/language to be added 86 public static Builder add(ULocale... languageCode) { 87 return new Builder().add(languageCode); 93 * @param languageCode locale/language to be added 97 public static Builder add(ULocale languageCode, final double weight) { 98 return new Builder().add(languageCode, weight); 269 * @param languageCode to add with weight 1.0 272 public Builder add(final ULocale languageCode) { 273 return add(languageCode, D1); 283 for (final ULocale languageCode : languageCodes) [all...] |
LocaleMatcher.java | 245 * @param languageCode 249 private ULocale getBestMatchInternal(ULocale languageCode, OutputDouble outputWeight) { 250 languageCode = canonicalize(languageCode); 251 final ULocale maximized = addLikelySubtags(languageCode); 253 System.out.println("\ngetBestMatchInternal: " + languageCode + ";\t" + maximized); 265 final double match = match(languageCode, maximized, tableKey, maxLocale); 349 * @param languageCode 352 private ULocale addLikelySubtags(ULocale languageCode) { 360 if (languageCode.equals(UNKNOWN_LOCALE)) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
LocalePriorityList.java | 82 * @param languageCode locale/language to be added 86 public static Builder add(ULocale... languageCode) { 87 return new Builder().add(languageCode); 93 * @param languageCode locale/language to be added 98 public static Builder add(ULocale languageCode, final double weight) { 99 return new Builder().add(languageCode, weight); 281 * @param languageCode to add with weight 1.0 285 public Builder add(final ULocale languageCode) { 286 return add(languageCode, D1); 297 for (final ULocale languageCode : languageCodes) [all...] |
LocaleMatcher.java | 252 * @param languageCode 256 private ULocale getBestMatchInternal(ULocale languageCode, OutputDouble outputWeight) { 257 languageCode = canonicalize(languageCode); 258 final ULocale maximized = addLikelySubtags(languageCode); 260 System.out.println("\ngetBestMatchInternal: " + languageCode + ";\t" + maximized); 272 final double match = match(languageCode, maximized, tableKey, maxLocale); 356 * @param languageCode 359 private ULocale addLikelySubtags(ULocale languageCode) { 367 if (languageCode.equals(UNKNOWN_LOCALE)) [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")) { 147 String languageCode = locale.getLanguage(); 148 if (languageCode.equals("tr") || languageCode.equals("az") || languageCode.equals("lt")) { 151 if (languageCode.equals("el")) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
Locale.java | 116 String languageCode = qualifier.hasLanguage() ? qualifier.getLanguage() : null; 117 if (languageCode == null) { 122 Image image = icons.getFlag(languageCode, regionCode);
|
FlagManager.java | 146 String languageCode = locale.getLanguage(); 148 if (LocaleQualifier.FAKE_VALUE.equals(languageCode)) { 149 languageCode = null; 151 return getFlag(languageCode, regionCode);
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
TextRecord.java | 48 private TextRecord(String languageCode, String text) { 49 mLanguageCode = Preconditions.checkNotNull(languageCode); 106 String languageCode = new String(payload, 1, languageCodeLength, "US-ASCII"); 111 return new TextRecord(languageCode, text);
|
/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/ |
MappingFileProvider.java | 164 String languageCode = findBestMatchingLanguageCode(setOfLangs, language, script, region); 165 if (languageCode.length() > 0) { 167 fileName.append(countryCallingCode).append('_').append(languageCode);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
GsmAlphabet.java | [all...] |
/libcore/ojluni/src/main/java/java/util/ |
Locale.java | [all...] |
/external/libphonenumber/demo/src/com/google/phonenumbers/ |
PhoneNumberParserServlet.java | 67 String languageCode = "en"; // Default languageCode to English if nothing is entered. 83 } else if (fieldName.equals("languageCode")) { 86 languageCode = languageEntered; 108 Locale geocodingLocale = new Locale(languageCode, regionCode); 131 geocodingLocale = ENGLISH; // Default languageCode to English if nothing is entered.
|
/frameworks/base/core/java/android/nfc/ |
NdefRecord.java | 485 * @param languageCode The languageCode for the record. If locale is empty or null, 490 public static NdefRecord createTextRecord(String languageCode, String text) { 496 if (languageCode != null && !languageCode.isEmpty()) { 497 languageCodeBytes = languageCode.getBytes(StandardCharsets.US_ASCII); [all...] |
/frameworks/layoutlib/bridge/src/libcore/icu/ |
ICU_Delegate.java | 139 /*package*/ static String getDisplayLanguageNative(String languageCode, String locale) {
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastDatabaseHelper.java | 174 String languageCode = cursor.getString(COLUMN_V1_LANGUAGE_CODE); 186 cv.put(Telephony.CellBroadcasts.LANGUAGE_CODE, languageCode);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
TrieMapTest.java | 83 for (String languageCode : ULocale.getISOLanguages()) { 84 localeName = ULocale.getDisplayName(languageCode, locale); 85 if (!localeName.equals(languageCode)) {
|