Searched defs:lang (Results 1 - 3 of 3) sorted by relevance

/development/samples/TtsEngine/src/com/example/android/ttsengine/
H A DCheckVoiceData.java55 for (String lang : checkLanguages) {
59 if (isLanguageSupported(lang)) {
60 if (isDataInstalled(lang)) {
61 available.add(lang);
63 unavailable.add(lang);
104 for (String lang : list) {
105 if (!TextUtils.isEmpty(lang)) {
106 ret.add(lang);
117 for (String lang : SUPPORTED_LANGUAGES) {
118 if (lang
134 isDataInstalled(String lang) argument
[all...]
H A DRobotSpeakTtsService.java88 protected int onIsLanguageAvailable(String lang, String country, String variant) { argument
90 if ("eng".equals(lang)) {
116 protected synchronized int onLoadLanguage(String lang, String country, String variant) { argument
117 final int isLanguageAvailable = onIsLanguageAvailable(lang, country, variant);
130 if (mCurrentLanguage[0].equals(lang) && mCurrentLanguage[1].equals(country)) {
137 InputStream file = getAssets().open(lang + "-" + loadCountry + ".freq");
141 Log.e(TAG, "Error loading data for : " + lang + "-" + country);
145 mCurrentLanguage = new String[] { lang, loadCountry, ""};
/development/ndk/sources/android/native_app_glue/
H A Dandroid_native_app_glue.c64 char lang[2], country[2]; local
65 AConfiguration_getLanguage(android_app->config, lang);
68 LOGV("Config: mcc=%d mnc=%d lang=%c%c cnt=%c%c orien=%d touch=%d dens=%d "
73 lang[0], lang[1], country[0], country[1],

Completed in 1861 milliseconds