Searched refs:lang (Results 1 – 2 of 2) sorted by relevance
218 String lang = loc.getLanguage();219 if (countByLanguage.containsKey(lang)) {220 countByLanguage.put(lang, countByLanguage.get(lang)+1);222 countByLanguage.put(lang, 1);278 String lang = loc.getLanguage();279 if (countByLanguage.get(lang) > 1) {280 countByLanguage.put(lang, countByLanguage.get(lang)-1);281 lang = loc.toString();284 Log.i(TAG, "encoding \"" + loc + "\" as \"" + lang + "\": " + tw + " x " + h);285 byte[] langBytes = lang.getBytes();
513 char* lang = strdup(locale); in SetLocale() local514 for (char* p = lang; *p; ++p) { in SetLocale()522 if (strcmp(lang, "ar") == 0 || // Arabic in SetLocale()523 strcmp(lang, "fa") == 0 || // Persian (Farsi) in SetLocale()524 strcmp(lang, "he") == 0 || // Hebrew (new language code) in SetLocale()525 strcmp(lang, "iw") == 0 || // Hebrew (old language code) in SetLocale()526 strcmp(lang, "ur") == 0) { // Urdu in SetLocale()529 free(lang); in SetLocale()