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

1234567891011>>

/frameworks/minikin/tests/perftests/
H A DFontLanguage.cpp13 * See the License for the specific language governing permissions and
24 Locale language(StringPiece("en-US", 5));
31 Locale language(StringPiece("en-Latn-US", 10));
38 Locale language(StringPiece("en-Latn-US-u-em-emoji", 21));
/frameworks/base/libs/androidfw/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
43 if (memcmp(lv.language, lang, std::min(strlen(lang), sizeof(lv.language))) !=
47 << std::string(lv.language, sizeof(lv.language)) << ".";
70 if (memcmp(lv.language, lang, std::min(strlen(lang), sizeof(lv.language))) !=
74 << 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
75 void set_language(const char* language);
76 void set_region(const char* 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/aapt2/filter/
H A DConfigFilter.cpp13 * See the License for the specific language governing permissions and
48 // language and country. If we could not compute it, we assume it's either a
49 // new language we don't know about, or a private use language. We return true
63 android::localeDataComputeScript(script_buffer, config.language, config.country);
69 android::localeDataComputeScript(script_buffer, entry.language, entry.country);
95 // the locale we are matching only has a language specified,
103 if (config.language[0] != '\0' && config.country[0] == '\0' &&
104 config.localeVariant[0] == '\0' && config.language[0] == entry.first.language[
[all...]
/frameworks/base/core/proto/android/content/
H A Dlocale.proto13 * See the License for the specific language governing permissions and
28 optional string language = 1;
/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/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
H A DI18Name.java13 * See the License for the specific language governing permissions and
51 public I18Name(String language, Locale locale, String text) { argument
52 mLanguage = language;
74 // Read the language string.
75 String language = ByteBufferReader.readString(
77 Locale locale = Locale.forLanguageTag(language);
82 return new I18Name(language, locale, text);
H A DIconInfo.java13 * See the License for the specific language governing permissions and
50 public IconInfo(int width, int height, String language, String iconType, String fileName) { argument
53 mLanguage = language;
71 // Read the language string.
72 String language = ByteBufferReader.readString(
80 return new IconInfo(width, height, language, iconType, fileName);
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DGsmSmsCbMessage.java13 * See the License for the specific language governing permissions and
111 String language = null;
115 language = p.first;
123 header.getServiceCategory(), language, sb.toString(), priority,
131 * text into mBody, and optionally the language code into mLanguage
135 * @return a Pair of Strings containing the language and body of the message
139 String language = null;
143 // Extract encoding and language from DCS, as defined in 3gpp TS 23.038,
148 language = LANGUAGE_CODES_GROUP_0[dataCodingScheme & 0x0f];
162 language
263 unpackBody(byte[] pdu, int encoding, int offset, int length, boolean hasLanguageIndicator, String language) argument
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
H A DI18NameTest.java13 * See the License for the specific language governing permissions and
45 * @param language The language code string
50 private byte[] getTestData(String language, String text) throws IOException { argument
52 stream.write(language.getBytes(StandardCharsets.US_ASCII));
53 stream.write(new byte[]{(byte) 0x0}); // Padding for language code.
59 * Helper function for generating default test data. The test data include the language code
138 * a non-English (French) language.
145 String language = "fr";
147 byte[] data = getTestData(language, tex
[all...]
H A DANQPParserTest.java13 * See the License for the specific language governing permissions and
45 * @param language Array of languages
50 private static byte[] getVenueNamePayload(String[] language, String[] text) argument
54 stream.write(getI18NameListPayload(language, text));
158 * @param language Array of language
163 private static byte[] getHSFriendlyNamePayload(String[] language, String[] text) argument
165 return getI18NameListPayload(language, text);
238 * @param language Array of language
243 getI18NameListPayload(String[] language, String[] text) 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
352 private void decodeSingle(int language) throws Exception { argument
378 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, 128, 0, language, 0);
379 byte[] reEncoded = GsmAlphabet.stringToGsm7BitPacked(decoded, language, 0);
381 assertEquals(sBasicTables[language], decoded);
422 for (int language = 0; language < 3; language++) {
423 int[] tableIndex = sExtendedTableIndexes[language];
456 0, language);
[all...]
/frameworks/base/native/android/
H A Dconfiguration.cpp13 * See the License for the specific language governing permissions and
58 outLanguage[0] = config->language[0];
59 outLanguage[1] = config->language[1];
150 void AConfiguration_setLanguage(AConfiguration* config, const char* language) { argument
151 config->language[0] = language[0];
152 config->language[1] = language[1];
/frameworks/compile/slang/lit-tests/
H A Dscriptc-filecheck-wrapper.sh78 echo Unknown language "$lang"
/frameworks/base/media/java/android/media/
H A DAudioPresentation.java13 * See the License for the specific language governing permissions and
44 * presentation. An audio stream may contain multiple presentations that differ by language,
100 @NonNull String language,
107 this.mLanguage = language;
138 * locale corresponding to the language code as specified by ISO 639-2. Either ISO 639-2/B
150 * @return the locale corresponding to audio presentation's ISO 639-1/639-2 language code.
97 AudioPresentation(int presentationId, int programId, @NonNull Map<String, String> labels, @NonNull String language, @MasteringIndicationType int masteringIndication, boolean audioDescriptionAvailable, boolean spokenSubtitlesAvailable, boolean dialogueEnhancementAvailable) argument
/frameworks/minikin/app/
H A DHyphTool.cpp14 Hyphenator* loadHybFile(const char* fn, int minPrefix, int minSuffix, const char* language) { argument
35 return Hyphenator::loadBinary(buf, minPrefix, minSuffix, language);
/frameworks/rs/cpu_ref/
H A DrsCpuBLAS.inc13 * See the License for the specific language governing permissions and

Completed in 4711 milliseconds

1234567891011>>