Searched defs:language (Results 1 - 25 of 29) sorted by path

12

/frameworks/av/media/libstagefright/httplive/
H A DM3UParser.cpp13 * See the License for the specific language governing permissions and
56 const char *language,
103 const char *language,
114 if (language) {
115 item.mLanguage = language;
217 format->setString("language", lang);
1102 } else if (!strcasecmp("language", key.c_str())) {
100 addMedia( const char *name, const char *uri, const char *language, uint32_t flags) argument
/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 DTextToSpeechService.java13 * License for the specific language governing permissions and limitations under
61 * The first three deal primarily with language management, and are used to
62 * query the engine for it's support for a given language and indicate to it
63 * that requests in a given language are imminent.
143 // Load default language
162 * Checks whether the engine supports a given language.
168 * @param lang ISO-3 language code.
181 * Returns the language, country and variant currently being used by the TTS engine.
188 * @return A 3-element array, containing language (ISO 3-letter code),
199 * Notifies the engine that it should load a speech synthesis language
1155 LoadLanguageItem(Object callerIdentity, int callerUid, int callerPid, String language, String country, String variant) argument
[all...]
/frameworks/base/core/jni/
H A DAndroidRuntime.cpp13 * See the License for the specific language governing permissions and
391 * (2) persist.sys.language/country/localevar (country and localevar are
392 * inspected iff. language is non-empty.
394 * (4) ro.product.locale.language/region
396 * Note that we need to inspect persist.sys.language/country/localevar to
397 * preserve language settings for devices that are upgrading from Lollipop
398 * to M. The same goes for ro.product.locale.language/region as well.
407 const std::string language = getProperty("persist.sys.language", ""); local
408 if (!language
[all...]
/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/include/androidfw/
H A DResourceTypes.h13 * See the License for the specific language governing permissions and
889 // - a 3 char language code
923 // - Two 7 bit ascii values interpreted as ISO-639-1 language
928 // ISO-639-2 3 letter language code. This will be of the form:
932 // bit[0, 4] = first letter of the language code
933 // bit[5, 9] = second letter of the language code
934 // bit[10, 14] = third letter of the language code.
942 char language[2]; member in struct:android::ResTable_config::__anon979::__anon980
951 // in the same manner as the language codes, though we should need
1234 // and language, i
[all...]
/frameworks/base/libs/androidfw/
H A DLocaleData.cpp13 * See the License for the specific language governing permissions and
30 inline uint32_t packLocale(const char* language, const char* region) { argument
31 return (((uint8_t) language[0]) << 24u) | (((uint8_t) language[1]) << 16u) |
153 // the last ancestor is just the language by itself. We will use the
178 void localeDataComputeScript(char out[4], const char* language, const char* region) { argument
179 if (language[0] == '\0') {
183 uint32_t lookup_key = packLocale(language, region);
H A DResourceTypes.cpp13 * See the License for the specific language governing permissions and
1774 // language code.
1818 void ResTable_config::packLanguage(const char* language) { argument
1819 packLanguageOrRegion(language, 'a', this->language);
1826 size_t ResTable_config::unpackLanguage(char language[4]) const {
1827 return unpackLanguageOrRegion(this->language, 'a', language);
1872 // The language & region are equal, so compare the scripts and variants.
1881 // The language, regio
[all...]
/frameworks/base/media/java/android/media/
H A DMediaFormat.java13 * See the License for the specific language governing permissions and
90 * <tr><td>{@link #KEY_LANGUAGE}</td><td>String</td><td>The language of the content.</td></tr>
138 * A key describing the language of the content, using either ISO 639-1
141 public static final String KEY_LANGUAGE = "language";
908 * @param language The language of the content, using either ISO 639-1 or 639-2/T
909 * codes. Specify null or "und" if language information is only included
910 * in the content. (This will also work if there are multiple language
915 String language) {
918 format.setString(KEY_LANGUAGE, language);
913 createSubtitleFormat( String mime, String language) argument
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvTrackInfo.java13 * See the License for the specific language governing permissions and
71 private TvTrackInfo(int type, String id, String language, CharSequence description, argument
77 mLanguage = language;
121 * Returns the language information encoded by either ISO 639-1 or ISO 639-2/T. If the language
344 * Sets the language information of the current track.
346 * @param language The language string encoded by either ISO 639-1 or ISO 639-2/T.
348 public final Builder setLanguage(String language) { argument
349 mLanguage = 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/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecLocalDeviceTv.java13 * See the License for the specific language governing permissions and
575 boolean broadcastMenuLanguage(String language) { argument
578 mAddress, language);
H A DHdmiCecMessageBuilder.java13 * See the License for the specific language governing permissions and
102 * @param language 3-letter ISO639-2 based language code
103 * @return newly created {@link HdmiCecMessage} if language is valid.
106 static HdmiCecMessage buildSetMenuLanguageCommand(int src, String language) { argument
107 if (language.length() != 3) {
111 String normalized = language.toLowerCase();
H A DHdmiControlService.java13 * See the License for the specific language governing permissions and
163 String language = getMenuLanguage();
164 if (!mLanguage.equals(language)) {
165 onLanguageChanged(language);
2070 private void onLanguageChanged(String language) { argument
2072 mLanguage = language;
2075 tv().broadcastMenuLanguage(language);
2076 mCecController.setOption(OPTION_CEC_SET_LANGUAGE, HdmiUtils.languageToInt(language));
H A DHdmiUtils.java13 * See the License for the specific language governing permissions and
296 * Convert 3 byte-long language code in string to integer representation.
299 * @param language language code in string
300 * @return language code in integer representation
302 static int languageToInt(String language) { argument
303 String normalized = language.toLowerCase();
/frameworks/base/telephony/java/android/telephony/cdma/
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
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 + '}';
/frameworks/base/tools/aapt/
H A DAaptAssets.h62 char language[4]; member in struct:AaptLocaleValue
92 void setLanguage(const char* language);
93 void setRegion(const char* language);
/frameworks/base/tools/aapt2/
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);
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMapBmessage.java13 * See the License for the specific language governing permissions and
140 public BluetoothMapBmessage setLanguage(String language) { argument
141 mBbodyLanguage = language;
/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/opt/telephony/src/java/com/android/internal/telephony/
H A DMccTable.java13 * See the License for the specific language governing permissions and
117 * an ISO 2-3 character language code if available.
127 // Ask CLDR for the language this country uses...
251 // Somewhat arbitrarily take the first locale for the language,
259 * Return Locale for the language and country or null if no good match.
262 * @param language Two character language code desired
267 private static Locale getLocaleForLanguageCountry(Context context, String language, argument
269 if (language == null) {
270 Slog.d(LOG_TAG, "getLocaleForLanguageCountry: skipping no language");
[all...]
/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

Completed in 1059 milliseconds

12