/frameworks/base/tools/localize/ |
H A D | Configuration.cpp | 50 split_locale(const string& in, string* language, string* region) argument 55 *language = in; 65 language->assign(in.c_str(), 2);
|
H A D | file_utils.cpp | 73 string language, region; local 75 language = ""; 78 else if (!split_locale(locale, &language, ®ion)) { 82 if (language != "") { 84 result += language;
|
H A D | localize.cpp | 627 string language, region; local 663 if (!split_locale(targetLocale, &language, ®ion)) {
|
/frameworks/base/packages/TtsService/src/android/tts/ |
H A D | SynthProxy.java | 13 * License for the specific language governing permissions and limitations under 100 * Queries for language support. 103 public int isLanguageAvailable(String language, String country, String variant) { argument 104 return native_isLanguageAvailable(mJniData, language, country, variant); 115 * Sets the language. 117 public int setLanguage(String language, String country, String variant) { argument 118 return native_setLanguage(mJniData, language, country, variant); 122 * Loads the language: it's not set, but prepared for use later. 124 public int loadLanguage(String language, String country, String variant) { argument 125 return native_loadLanguage(mJniData, language, countr 199 native_isLanguageAvailable(int jniData, String language, String country, String variant) argument 202 native_setLanguage(int jniData, String language, String country, String variant) argument 205 native_loadLanguage(int jniData, String language, String country, String variant) argument [all...] |
/frameworks/base/core/jni/ |
H A D | AndroidRuntime.cpp | 14 ** See the License for the specific language governing permissions and 498 static void readLocale(char* language, char* region) argument 502 property_get("persist.sys.language", propLang, ""); 506 property_get("ro.product.locale.language", propLang, "en"); 509 strncat(language, propLang, 2); 511 //LOGD("language=%s region=%s\n", language, region); 844 char langOption[sizeof("-Duser.language=") + 3]; 846 strcpy(langOption, "-Duser.language=");
|
/frameworks/base/packages/TtsService/jni/ |
H A D | android_tts_SynthProxy.cpp | 13 * See the License for the specific language governing permissions and 463 jstring language, jstring country, jstring variant) 473 const char *langNativeString = env->GetStringUTFChars(language, 0); 481 env->ReleaseStringUTFChars(language, langNativeString); 513 jstring language, jstring country, jstring variant) 525 const char *langNativeString = env->GetStringUTFChars(language, 0); 533 env->ReleaseStringUTFChars(language, langNativeString); 542 jstring language, jstring country, jstring variant) 552 const char *langNativeString = env->GetStringUTFChars(language, 0); 560 env->ReleaseStringUTFChars(language, langNativeStrin 462 android_tts_SynthProxy_isLanguageAvailable(JNIEnv *env, jobject thiz, jint jniData, jstring language, jstring country, jstring variant) argument 512 android_tts_SynthProxy_setLanguage(JNIEnv *env, jobject thiz, jint jniData, jstring language, jstring country, jstring variant) argument 541 android_tts_SynthProxy_loadLanguage(JNIEnv *env, jobject thiz, jint jniData, jstring language, jstring country, jstring variant) argument [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | PhoneBase.java | 13 * See the License for the specific language governing permissions and 563 String language = l.substring(0, 2); 568 setSystemLocale(language, country); 588 * @param language Two character language code desired 593 public void setSystemLocale(String language, String country) { argument 594 String l = SystemProperties.get("persist.sys.language"); 597 if (null == language) { 600 language = language [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/ |
H A D | BearerData.java | 13 * See the License for the specific language governing permissions and 165 public int language = LANGUAGE_UNKNOWN; field in class:BearerData 357 builder.append(", language=" + (languageIndicatorSet ? language : "unset")); 774 outStream.write(8, bData.language); 1429 bData.language = inStream.read(8);
|
/frameworks/base/include/utils/ |
H A D | ResourceTypes.h | 13 * See the License for the specific language governing permissions and 816 char language[2]; member in struct:android::ResTable_config::__anon132::__anon133 1080 if (language[0] != o.language[0]) { 1081 if (!language[0]) return false; 1082 if (!o.language[0]) return true; 1199 if ((language[0] != o.language[0]) && requested->language[0]) { 1200 return (language[ [all...] |