Searched refs:language (Results 1 - 25 of 320) sorted by relevance

1234567891011>>

/frameworks/base/include/androidfw/
H A DLocaleData.h13 * See the License for the specific language governing permissions and
30 void localeDataComputeScript(char out[4], const char* language, const char* region);
/frameworks/base/tools/aapt2/
H A DLocale_test.cpp13 * See the License for the specific language governing permissions and
38 if (memcmp(lv.language, lang, std::min(strlen(lang), sizeof(lv.language))) != 0) {
40 << std::string(lv.language, sizeof(lv.language)) << ".";
60 if (memcmp(lv.language, lang, std::min(strlen(lang), sizeof(lv.language))) != 0) {
62 << std::string(lv.language, sizeof(lv.language)) << ".";
H A DLocale.h13 * See the License for the specific language governing permissions and
32 char language[4]; member in struct:aapt::LocaleValue
72 void setLanguage(const char* language);
73 void setRegion(const char* language);
H A DLocale.cpp13 * See the License for the specific language governing permissions and
32 language[i++] = ::tolower(*languageChars);
144 // This is a "modified" BCP 47 language tag. Same semantics as BCP 47 tags,
176 // The language is always the first subtag.
229 if (language[0]) {
230 dirName += language;
254 config.unpackLanguage(language);
266 out->packLanguage(language);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaSmsBroadcastConfigInfo.java13 * See the License for the specific language governing permissions and
28 * language defines a language code of Broadcast Message
30 * All other values can be treated as empty language code.
46 int language, boolean selected) {
49 mLanguage = language;
45 CdmaSmsBroadcastConfigInfo(int fromServiceCategory, int toServiceCategory, int language, boolean selected) argument
/frameworks/base/tools/aapt/tests/
H A DResourceFilter_test.cpp13 * See the License for the specific language governing permissions and
28 // such as language or density.
39 config.language[0] = 'f';
40 config.language[1] = 'r';
60 config.language[0] = 'f';
61 config.language[1] = 'r';
71 config.language[0] = 'f';
72 config.language[1] = 'r';
83 config.language[0] = 'e';
84 config.language[
[all...]
/frameworks/base/tools/aapt2/filter/
H A DConfigFilter.cpp13 * See the License for the specific language governing permissions and
57 // the locale we are matching only has a language specified,
59 if (config.language[0] &&
60 memcmp(config.language, target.language, sizeof(config.language)) == 0) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmSmsCbMessage.java13 * See the License for the specific language governing permissions and
76 String language = null;
80 language = p.first;
88 header.getServiceCategory(), language, sb.toString(), priority,
109 * text into mBody, and optionally the language code into mLanguage
113 * @return a Pair of Strings containing the language and body of the message
117 String language = null;
121 // Extract encoding and language from DCS, as defined in 3gpp TS 23.038,
126 language = LANGUAGE_CODES_GROUP_0[dataCodingScheme & 0x0f];
140 language
241 unpackBody(byte[] pdu, int encoding, int offset, int length, boolean hasLanguageIndicator, String language) argument
[all...]
/frameworks/base/tools/aapt/
H A DResourceFilter.cpp64 // language and country. If we could not compute it, we assume it's either a
65 // new language we don't know about, or a private use language. We return true
80 localeDataComputeScript(scriptBuffer, config.language, config.country);
87 scriptBuffer, entry.language, entry.country);
116 // the locale we are matching only has a language specified,
124 if (config.language[0] != '\0' &&
127 config.language[0] == entry.first.language[0] &&
128 config.language[
[all...]
/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
86 * Gets the ISO 3-letter language code for the language to use.
93 * Gets the ISO 3-letter country code for the language to use.
100 * Gets the language variant to use.
137 void setLanguage(String language, String country, String variant) { argument
138 mLanguage = language;
[all...]
H A DTtsEngines.java13 * License for the specific language governing permissions and limitations under
75 /** Mapping of various language strings to the normalized Locale form */
84 for (String language : Locale.getISOLanguages()) {
86 normalizeLanguage.put(new Locale(language).getISO3Language(), language);
375 * "deu-deu". At the end, we test if the resulting locale can return ISO3 language and
380 String language = "", country = "", variant = "";
384 language = split[0].toLowerCase();
404 String normalizedLanguage = sNormalizeLanguage.get(language);
406 language
[all...]
/frameworks/base/location/java/android/location/
H A DGeocoderParams.java13 * See the License for the specific language governing permissions and
28 * language, country and variant information from the Geocoder's locale
71 String language = in.readString();
74 gp.mLocale = new Locale(language, country, variant);
/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/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/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];
145 void AConfiguration_setLanguage(AConfiguration* config, const char* language) { argument
146 config->language[0] = language[0];
147 config->language[1] = language[1];
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DOSUInfo.java222 private static int languageScore(String language, Locale locale) { argument
223 if (language.length() == 3 && language.equalsIgnoreCase(locale.getISO3Language()) ||
224 language.length() == 2 && language.equalsIgnoreCase(locale.getLanguage())) {
226 } else if (language.equalsIgnoreCase(GenericLocale)) {
228 } else if (language.equalsIgnoreCase("eng")) {
/frameworks/compile/slang/lit-tests/
H A Dscriptc-filecheck-wrapper.sh59 echo Unknown language "$lang"
/frameworks/rs/cpu_ref/
H A DrsCpuBLAS.inc13 * See the License for the specific language governing permissions and
/frameworks/base/libs/androidfw/
H A DLocaleData.cpp13 * See the License for the specific language governing permissions and
31 inline uint32_t packLocale(const char* language, const char* region) { argument
32 return (((uint8_t) language[0]) << 24u) | (((uint8_t) language[1]) << 16u) |
176 // the last ancestor is just the language by itself. We will use the
201 void localeDataComputeScript(char out[4], const char* language, const char* region) { argument
202 if (language[0] == '\0') {
206 uint32_t lookup_key = packLocale(language, region);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/
H A Dasm_common.S13 @ See the License for the specific language governing permissions and
/frameworks/base/core/tests/coretests/src/android/content/res/
H A DResourcesLocaleTest.java13 * License for the specific language governing permissions and limitations under
52 private static void ensureNoLanguage(Resources resources, String language) { argument
60 language.equals(Locale.forLanguageTag(languageTag).getLanguage()));
92 // The APK we loaded has default and Polish languages. We expect the Polish language to
/frameworks/base/core/tests/hosttests/
H A DAndroid.mk12 # See the License for the specific language governing permissions and
/frameworks/base/core/tests/hosttests/test-apps/
H A DAndroid.mk12 # See the License for the specific language governing permissions and
/frameworks/base/core/tests/hosttests/test-apps/AutoLocTestApp/
H A DAndroid.mk12 # See the License for the specific language governing permissions and

Completed in 745 milliseconds

1234567891011>>