Home
last modified time | relevance | path

Searched refs:language (Results 1 – 25 of 451) sorted by relevance

12345678910>>...19

/frameworks/base/tools/aapt/tests/
DResourceFilter_test.cpp39 config.language[0] = 'f'; in TEST()
40 config.language[1] = 'r'; in TEST()
60 config.language[0] = 'f'; in TEST()
61 config.language[1] = 'r'; in TEST()
71 config.language[0] = 'f'; in TEST()
72 config.language[1] = 'r'; in TEST()
83 config.language[0] = 'e'; in TEST()
84 config.language[1] = 'n'; in TEST()
94 config.language[0] = 'd'; in TEST()
95 config.language[1] = 'e'; in TEST()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmSmsCbMessage.java71 String language = null; in createSmsCbMessage() local
75 language = p.first; in createSmsCbMessage()
83 header.getServiceCategory(), language, sb.toString(), priority, in createSmsCbMessage()
112 String language = null; in parseBody() local
121 language = LANGUAGE_CODES_GROUP_0[dataCodingScheme & 0x0f]; in parseBody()
135 language = LANGUAGE_CODES_GROUP_2[dataCodingScheme & 0x0f]; in parseBody()
208 hasLanguageIndicator, language); in parseBody()
209 language = p.first; in parseBody()
212 return new Pair<String, String>(language, sb.toString()); in parseBody()
218 return unpackBody(pdu, encoding, offset, length, hasLanguageIndicator, language); in parseBody()
[all …]
/frameworks/base/libs/androidfw/tests/
DConfigLocale_test.cpp28 EXPECT_EQ('e', config.language[0]); in TEST()
29 EXPECT_EQ('n', config.language[1]); in TEST()
67 EXPECT_EQ('\x99', config.language[0]); in TEST()
68 EXPECT_EQ('\xA4', config.language[1]); in TEST()
91 EXPECT_EQ(char(0xbc), config.language[0]); in TEST()
92 EXPECT_EQ(char(0xd3), config.language[1]); in TEST()
176 EXPECT_EQ('e', test.language[0]); in TEST()
177 EXPECT_EQ('n', test.language[1]); in TEST()
199 EXPECT_EQ('e', test.language[0]); in TEST()
200 EXPECT_EQ('n', test.language[1]); in TEST()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmSmsTest.java348 private void decodeSingle(int language) throws Exception { in decodeSingle() argument
374 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, 128, 0, language, 0); in decodeSingle()
375 byte[] reEncoded = GsmAlphabet.stringToGsm7BitPacked(decoded, language, 0); in decodeSingle()
377 assertEquals(sBasicTables[language], decoded); in decodeSingle()
418 for (int language = 0; language < 3; language++) { in testDecodeExtended()
419 int[] tableIndex = sExtendedTableIndexes[language]; in testDecodeExtended()
452 0, language); in testDecodeExtended()
453 byte[] reEncoded = GsmAlphabet.stringToGsm7BitPacked(decoded, 0, language); in testDecodeExtended()
455 assertEquals(sExtendedTables[language], decoded); in testDecodeExtended()
469 for (int language = 0; language < 3; language++) { in testDecodeExtendedFallback()
[all …]
/frameworks/base/core/java/android/speech/tts/
DTtsEngines.java85 for (String language : Locale.getISOLanguages()) {
87 normalizeLanguage.put(new Locale(language).getISO3Language(), language); in normalizeLanguage.put() argument
381 String language = "", country = "", variant = ""; in parseLocaleString() local
385 language = split[0].toLowerCase(); in parseLocaleString()
405 String normalizedLanguage = sNormalizeLanguage.get(language); in parseLocaleString()
407 language = normalizedLanguage; in parseLocaleString()
415 if (DBG) Log.d(TAG, "parseLocalePref(" + language + "," + country + in parseLocaleString()
418 Locale result = new Locale(language, country, variant); in parseLocaleString()
441 String language = ttsLocale.getLanguage(); in normalizeTTSLocale() local
442 if (!TextUtils.isEmpty(language)) { in normalizeTTSLocale()
[all …]
DSynthesisRequest.java137 void setLanguage(String language, String country, String variant) { in setLanguage() argument
138 mLanguage = language; in setLanguage()
DTextToSpeech.java1462 String language = null, country = null;
1464 language = loc.getISO3Language();
1484 int result = service.isLanguageAvailable( language, country, variant);
1493 String voiceName = service.getDefaultVoiceNameFor(language, country, variant);
1495 Log.w(TAG, "Couldn't find the default voice for " + language + "/" +
1506 mParams.putString(Engine.KEY_PARAM_LANGUAGE, language);
1615 String language = "";
1617 language = voice.getLocale().getISO3Language();
1630 mParams.putString(Engine.KEY_PARAM_LANGUAGE, language);
1687 String language = defaultLanguage[0];
[all …]
/frameworks/base/native/android/
Dconfiguration.cpp53 outLanguage[0] = config->language[0]; in AConfiguration_getLanguage()
54 outLanguage[1] = config->language[1]; in AConfiguration_getLanguage()
141 void AConfiguration_setLanguage(AConfiguration* config, const char* language) { in AConfiguration_setLanguage() argument
142 config->language[0] = language[0]; in AConfiguration_setLanguage()
143 config->language[1] = language[1]; in AConfiguration_setLanguage()
/frameworks/base/tools/aapt/
DResourceFilter.cpp78 if (config.language[0] && in match()
79 memcmp(config.language, entry.first.language, sizeof(config.language)) == 0) { in match()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSmsBroadcastConfigInfo.java46 int language, boolean selected) { in CdmaSmsBroadcastConfigInfo() argument
49 mLanguage = language; in CdmaSmsBroadcastConfigInfo()
/frameworks/base/media/java/android/media/tv/
DTvTrackInfo.java52 private TvTrackInfo(int type, String id, String language, int audioChannelCount, in TvTrackInfo() argument
57 mLanguage = language; in TvTrackInfo()
238 public final Builder setLanguage(String language) { in setLanguage() argument
239 mLanguage = language; in setLanguage()
/frameworks/base/telephony/java/android/telephony/cdma/
DCdmaSmsCbProgramResults.java66 public CdmaSmsCbProgramResults(int category, int language, int categoryResult) { in CdmaSmsCbProgramResults() argument
68 mLanguage = language; in CdmaSmsCbProgramResults()
DCdmaSmsCbProgramData.java97 public CdmaSmsCbProgramData(int operation, int category, int language, int maxMessages, in CdmaSmsCbProgramData() argument
101 mLanguage = language; in CdmaSmsCbProgramData()
/frameworks/base/location/java/android/location/
DGeocoderParams.java71 String language = in.readString();
74 gp.mLocale = new Locale(language, country, variant);
DAddress.java478 String language = in.readString();
481 new Locale(language, country) :
482 new Locale(language);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMccTable.java235 private static Locale getLocaleForLanguageCountry(Context context, String language, in getLocaleForLanguageCountry() argument
237 if (language == null) { in getLocaleForLanguageCountry()
266 final Locale target = new Locale(language, country); in getLocaleForLanguageCountry()
309 language); in getLocaleForLanguageCountry()
326 public static void setSystemLocale(Context context, String language, String country) { in setSystemLocale() argument
327 Locale locale = getLocaleForLanguageCountry(context, language, country); in setSystemLocale()
370 String language = MccTable.defaultLanguageForMcc(mcc); in getLocaleFromMcc() local
373 Slog.d(LOG_TAG, "getLocaleFromMcc to " + language + "_" + country + " mcc=" + mcc); in getLocaleFromMcc()
374 return getLocaleForLanguageCountry(context, language, country); in getLocaleFromMcc()
/frameworks/base/docs/html/guide/topics/resources/
Dlocalization.jd14 <li>Android loads the correct resource set for the user's language and locale.</li>
133 language other than English. The application will not load.</li>
154 default language, which is the language that you expect most of your application's users to
187 a different locale, you use a qualifier that specifies a language or a
188 language-region combination. (The name of a resource directory must conform
196 <p>Suppose that your application's default language is English. Suppose also
218 <li>If the device is set to any language other than French, Android will load
270 <code>text_a</code> in the application's default language, in this case
280 <li>The language is set to Hindi (<code>hi</code>).</li>
288 will prefer an MCC match over a language match. </p>
[all …]
/frameworks/base/docs/html/distribute/tools/
Dlocalization-checklist.jd4 page.tags="local, l10n, translation, language"
55 large market opportunity and English or another international language is not
61 country, locale, and language. Of those, language is the key consideration
64 both the language and locale used on their Android devices and in turn those
78 country. It might make sense to start with a major regional language and add
107 potential factors in each language.
117 language (up to 30% more is normal) to accommodate other languages.
142 alternative layout</a> for that language only. Android makes it easy to
211 Make sure that your apps can run properly regardless of language or locale by
213 are those that are <em>not marked</em> with any language or locale
[all …]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMapBmessage.java140 public BluetoothMapBmessage setLanguage(String language) { in setLanguage() argument
141 mBbodyLanguage = language; in setLanguage()
/frameworks/opt/telephony/src/java/android/telephony/
DSmsCbMessage.java145 SmsCbLocation location, int serviceCategory, String language, String body, in SmsCbMessage() argument
152 mLanguage = language; in SmsCbMessage()
/frameworks/base/media/java/android/media/
DSubtitleController.java224 String language = format.getString(MediaFormat.KEY_LANGUAGE); in getDefaultTrack() local
235 locale.getISO3Language().equals(language) || in getDefaultTrack()
236 locale.getLanguage().equals(language)); in getDefaultTrack()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiUtils.java302 static int languageToInt(String language) { in languageToInt() argument
303 String normalized = language.toLowerCase(); in languageToInt()
DHdmiCecMessageBuilder.java106 static HdmiCecMessage buildSetMenuLanguageCommand(int src, String language) { in buildSetMenuLanguageCommand() argument
107 if (language.length() != 3) { in buildSetMenuLanguageCommand()
111 String normalized = language.toLowerCase(); in buildSetMenuLanguageCommand()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java84 int language) throws BitwiseOutputStream.AccessException { in createBearerDataStream() argument
101 if (language != -1) { in createBearerDataStream()
104 bos.write(8, (language & 0xff)); in createBearerDataStream()
143 int language, int encoding, String body, int cmasCategory, int responseType, in createCmasSmsMessage() argument
167 BitwiseOutputStream bos = createBearerDataStream(messageId, priority, language); in createCmasSmsMessage()
191 int priority, int language, int encoding, String body) throws Exception { in createBroadcastSmsMessage() argument
193 BitwiseOutputStream bos = createBearerDataStream(messageId, priority, language); in createBroadcastSmsMessage()
/frameworks/base/docs/html/guide/topics/renderscript/
Dreference.jd7 <script language="JavaScript">

12345678910>>...19