Searched defs:language (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/core/java/android/speech/tts/
H A DSynthesisRequest.java13 * License for the specific language governing permissions and limitations under
24 * <li>The synthesis locale, represented as a language, country and a variant.
25 * The language is an ISO 639-3 letter language code, and the country is an
59 * Gets the ISO 3-letter language code for the language to use.
66 * Gets the ISO 3-letter country code for the language to use.
73 * Gets the language variant to use.
103 void setLanguage(String language, String country, String variant) { argument
104 mLanguage = language;
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmSmsCbMessage.java13 * See the License for the specific language governing permissions and
71 String language = null;
75 language = p.first;
83 header.getServiceCategory(), language, sb.toString(), priority,
104 * text into mBody, and optionally the language code into mLanguage
108 * @return a Pair of Strings containing the language and body of the message
112 String language = null;
116 // Extract encoding and language from DCS, as defined in 3gpp TS 23.038,
121 language = LANGUAGE_CODES_GROUP_0[dataCodingScheme & 0x0f];
135 language
236 unpackBody(byte[] pdu, int encoding, int offset, int length, boolean hasLanguageIndicator, String language) argument
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DGsmSmsTest.java13 * See the License for the specific language governing permissions and
348 private void decodeSingle(int language) throws Exception { argument
374 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, 128, 0, language, 0);
375 byte[] reEncoded = GsmAlphabet.stringToGsm7BitPacked(decoded, language, 0);
377 assertEquals(sBasicTables[language], decoded);
418 for (int language = 0; language < 3; language++) {
419 int[] tableIndex = sExtendedTableIndexes[language];
452 0, language);
[all...]
/frameworks/base/telephony/java/android/telephony/cdma/
H A DCdmaSmsCbProgramResults.java13 * See the License for the specific language governing permissions and
66 public CdmaSmsCbProgramResults(int category, int language, int categoryResult) { argument
68 mLanguage = language;
101 * Returns the CDMA language code for this service category.
102 * @return one of the language values defined in BearerData.LANGUAGE_*
119 + ", language=" + mLanguage + ", result=" + mCategoryResult + '}';
H A DCdmaSmsCbProgramData.java13 * See the License for the specific language governing permissions and
97 public CdmaSmsCbProgramData(int operation, int category, int language, int maxMessages, argument
101 mLanguage = language;
150 * Returns the CDMA language code for this service category.
151 * @return one of the language values defined in BearerData.LANGUAGE_*
174 * Returns the service category name, in the language specified by {@link #getLanguage()}.
184 + ", language=" + mLanguage + ", max messages=" + mMaxMessages
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DMccTable.java13 * See the License for the specific language governing permissions and
52 String language; field in class:MccTable.MccEntry
58 MccEntry(int mnc, String iso, int smallestDigitsMCC, String language) { argument
62 this.language = language;
103 if (entry.language == null) {
106 locale = new Locale(entry.language, entry.iso);
135 * an ISO 2-3 character language code if available.
146 return entry.language;
212 * @param language Tw
217 setSystemLocale(Context context, String language, String country) argument
[all...]
/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsCbMessage.java13 * See the License for the specific language governing permissions and
126 /** Message language, as a two-character string, e.g. "en". */
145 SmsCbLocation location, int serviceCategory, String language, String body,
152 mLanguage = language;
278 * Get the ISO-639-1 language code for this message, or null if unspecified
368 + mServiceCategory + ", language=" + mLanguage + ", body=" + mBody
144 SmsCbMessage(int messageFormat, int geographicalScope, int serialNumber, SmsCbLocation location, int serviceCategory, String language, String body, int priority, SmsCbEtwsInfo etwsWarningInfo, SmsCbCmasInfo cmasWarningInfo) argument
/frameworks/base/core/jni/android/graphics/
H A DTextLayoutCache.h13 * See the License for the specific language governing permissions and
101 SkLanguage language; member in class:android::TextLayoutCacheKey
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
H A DCdmaSmsCbTest.java13 * See the License for the specific language governing permissions and
80 * @param language message language code
84 int language) throws BitwiseOutputStream.AccessException {
101 if (language != -1) {
104 bos.write(8, (language & 0xff));
133 * @param language message language code
143 int language, int encoding, String body, int cmasCategory, int responseType,
167 BitwiseOutputStream bos = createBearerDataStream(messageId, priority, language);
83 createBearerDataStream(int messageId, int priority, int language) argument
142 createCmasSmsMessage(int serviceCategory, int messageId, int priority, int language, int encoding, String body, int cmasCategory, int responseType, int severity, int urgency, int certainty) argument
190 createBroadcastSmsMessage(int serviceCategory, int messageId, int priority, int language, int encoding, String body) argument
[all...]
/frameworks/base/native/android/
H A Dconfiguration.cpp13 * See the License for the specific language governing permissions and
53 outLanguage[0] = config->language[0];
54 outLanguage[1] = config->language[1];
141 void AConfiguration_setLanguage(AConfiguration* config, const char* language) { argument
142 config->language[0] = language[0];
143 config->language[1] = language[1];
/frameworks/base/core/jni/
H A DAndroidRuntime.cpp13 * See the License for the specific language governing permissions and
385 static void readLocale(char* language, char* region) argument
389 property_get("persist.sys.language", propLang, "");
393 property_get("ro.product.locale.language", propLang, "en");
396 strncat(language, propLang, 2);
398 //ALOGD("language=%s region=%s\n", language, region);
744 char langOption[sizeof("-Duser.language=") + 3];
746 strcpy(langOption, "-Duser.language=");
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
H A DBearerData.java13 * See the License for the specific language governing permissions and
161 public int language = LANGUAGE_UNKNOWN; field in class:BearerData
366 * Returns the language indicator as a two-character ISO 639 string.
367 * @return a two character ISO 639 language code
370 return getLanguageCodeForValue(language);
374 * Converts a CDMA language indicator value to an ISO 639 two character language code.
375 * @param languageValue the CDMA language value to convert
376 * @return the two character ISO 639 language code for the specified value, or null if unknown
416 builder.append(", language
[all...]
/frameworks/base/include/androidfw/
H A DResourceTypes.h13 * See the License for the specific language governing permissions and
828 char language[2]; member in struct:android::ResTable_config::__anon1033::__anon1034
/frameworks/base/services/java/com/android/server/
H A DInputMethodManagerService.java12 * License for the specific language governing permissions and limitations under
808 private static boolean containsSubtypeOf(InputMethodInfo imi, String language) { argument
811 if (imi.getSubtypeAt(i).getLocale().startsWith(language)) {
3053 final String language = locale.substring(0, 2);
3071 } else if (!partialMatchFound && subtypeLocale.startsWith(language)) {

Completed in 242 milliseconds