HomeSort by relevance Sort by last modified time
    Searched refs:country (Results 26 - 50 of 179) sorted by null

12 3 4 5 6 7 8

  /frameworks/base/core/java/android/speech/tts/
ITextToSpeechService.aidl 90 * Returns the language, country and variant currently being used by the TTS engine.
95 * country (ISO 3-letter code) and variant used by the engine.
96 * The country and variant may be {@code ""}. If country is empty, then variant must
105 * @param country ISO-3 country code. May be empty or null.
114 int isLanguageAvailable(in String lang, in String country, in String variant);
120 * @param country ISO-3 country code. May be empty or null.
129 int loadLanguage(in String lang, in String country, in String variant)
    [all...]
  /libcore/luni/src/main/java/java/util/
Currency.java 62 * Returns the {@code Currency} instance for this {@code Locale}'s country.
64 * if the locale's country is not a supported ISO 3166 country.
72 String country = locale.getCountry(); local
76 country = country + "_" + variant;
79 String currencyCode = ICU.getCurrencyCode(country);
81 throw new IllegalArgumentException("Unsupported ISO 3166 country: " + locale);
145 * <p>If the locale only specifies a language rather than a language and a country (such as
Locale.java 28 * {@code Locale} represents a language/country/variant combination. Locales are used to
34 * The country codes are two-letter uppercase ISO country codes (such as "US") as defined by
190 * country, and variant.
260 * Constructs a new {@code Locale} using the specified language and country codes.
262 public Locale(String language, String country) {
263 this(language, country, "");
267 * Constructs a new {@code Locale} using the specified language, country,
270 public Locale(String language, String country, String variant) {
271 if (language == null || country == null || variant == null)
    [all...]
  /development/samples/TtsEngine/src/com/example/android/ttsengine/
RobotSpeakTtsService.java 88 protected int onIsLanguageAvailable(String lang, String country, String variant) {
93 if ("USA".equals(country) || "GBR".equals(country)) {
103 // We support the language, but not the country.
116 protected synchronized int onLoadLanguage(String lang, String country, String variant) {
117 final int isLanguageAvailable = onIsLanguageAvailable(lang, country, variant);
123 String loadCountry = country;
130 if (mCurrentLanguage[0].equals(lang) && mCurrentLanguage[1].equals(country)) {
141 Log.e(TAG, "Error loading data for : " + lang + "-" + country);
  /external/svox/pico/src/com/svox/pico/
GetSampleText.java 41 String country = i.getExtras().getString("country"); local
45 if (country.equals("GBR")){
  /frameworks/base/location/java/android/location/
CountryDetector.java 27 * This class provides access to the system country detector service. This
28 * service allows applications to obtain the country that the user is in.
30 * The country will be detected in order of reliability, like
34 * <li>SIM's country</li>
38 * Call the {@link #detectCountry()} to get the available country immediately.
40 * To be notified of the future country change, use the
57 * looper once the country changed and detected.
74 public void onCountryDetected(final Country country) {
77 mListener.onCountryDetected(country);
    [all...]
GeocoderParams.java 28 * language, country and variant information from the Geocoder's locale
72 String country = in.readString();
74 gp.mLocale = new Locale(language, country, variant);
  /packages/apps/Browser/tools/
get_search_engines.py 145 def getSearchEnginesForCountry(self, country):
146 """Returns the list of search engine names for the given country.
151 # where XX = country.
152 pos = self.chrome_data.find('engines_' + country)
154 print ('Unable to find search engine data for country ' + country + '.')
199 The new file contains search engines specific to that country. If required
205 print ('Locale must be of format <language>-<country>. For e.g.'
210 country = locale[separator_pos + 1:].upper()
211 dir_path = os.path.join(self.resdir, 'values-' + language + '-r' + country)
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
PostalSplitter.java 39 public String country; field in class:PostalSplitter.Postal
48 country = values.getAsString(StructuredPostal.COUNTRY);
58 values.put(StructuredPostal.COUNTRY, country);
87 postal.region, postal.postcode, postal.country
106 final boolean hasCountry = !TextUtils.isEmpty(postal.country);
108 // First block: [country][ ][postcode]
120 builder.append(postal.country);
172 final boolean hasCountry = !TextUtils.isEmpty(postal.country);
    [all...]
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsHelper.java 138 String country = loc.getCountry(); local
139 if (!TextUtils.isEmpty(country)) {
140 localeString += "_" + country;
147 * "ll" is the language code and "cc" is the country code.
162 String country = size > 4 ? new String(data, 3, 2) : ""; local
166 loc = new Locale(language, country);
  /external/chromium/base/i18n/
rtl.cc 23 // Extract language and country, ignore keywords, concatenate using dash.
26 const char* country = locale.getCountry(); local
31 if (country != NULL && *country != '\0') {
33 result += country;
71 const char* country = locale.getCountry(); local
73 !LowerCaseEqualsASCII(country, "es")) {
75 language += country;
  /frameworks/base/native/android/
configuration.cpp 58 outCountry[0] = config->country[0];
59 outCountry[1] = config->country[1];
141 void AConfiguration_setCountry(AConfiguration* config, const char* country) {
142 config->country[0] = country[0];
143 config->country[1] = country[1];
  /external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
Messages.java 359 String country = locale.getCountry(); local
361 if (country.equals("TW"))
362 suffix += "_" + country;
  /external/bluetooth/bluez/lib/bluetooth/
hidp.h 51 uint8_t country; member in struct:hidp_connadd_req
  /external/chromium/chrome/browser/autofill/
autofill_country.h 15 // Stores data associated with a country. Strings are localized to the app
19 // Returns country data corresponding to the two-letter ISO code
28 // Returns the likely country code for |locale|, or "US" as a fallback if no
32 // Returns the country code corresponding to |country|, which should be a
33 // country code or country name localized to |locale|. This function can
35 static const std::string GetCountryCode(const string16& country,
52 // The two-letter ISO-3166 country code.
55 // The country's name, localized to the app locale
    [all...]
  /external/icu4c/common/
ulocimp.h 59 char *country, int32_t countryCapacity,
  /external/icu4c/i18n/
zonemeta.h 36 * Return the canonical country code for this tzid. If we have none, or if the time zone
37 * is not associated with a country, return null.
42 * Return the country code if this is a 'single' time zone that can fallback to just
43 * the country, otherwise return empty string. (Note, one must also check the locale data
44 * to see that there is a localization for the country in order to implement
47 static UnicodeString& U_EXPORT2 getSingleCountry(const UnicodeString &tzid, UnicodeString &country);
  /external/wpa_supplicant_8/src/p2p/
p2p_utils.c 104 * @country: Country code
109 int p2p_channel_to_freq(const char *country, int reg_class, int channel)
111 if (country[2] == 0x04)
143 * @country: Country code
148 int p2p_freq_to_channel(const char *country, unsigned int freq, u8 *reg_class,
208 * input channels sets are assumed to use the same country code. If different
209 * country codes are used, the regulatory class numbers may not be matched
266 if (p2p_freq_to_channel(p2p->cfg->country, freq
    [all...]
  /frameworks/base/services/java/com/android/server/
CountryDetectorService.java 24 import android.location.Country;
36 * This class detects the country that the user is in through
94 public Country detectCountry() throws RemoteException {
150 protected void notifyReceivers(Country country) {
154 receiver.getListener().onCountryDetected(country);
172 public void onCountryDetected(final Country country) {
175 notifyReceivers(country);
  /external/chromium/chrome/common/extensions/docs/examples/extensions/news/javascript/
feed.js 9 * page according to country, topics and no. of stories selected in the
320 var country = window.localStorage.getItem('country');
321 country = (country == 'noCountry' || !country) ? '' : country;
337 feedUrl = DEFAULT_NEWS_URL + '&cf=all&ned=' + country + '&q=' + topicVal +
338 '&hl=' + country;
344 feedUrl = DEFAULT_NEWS_URL + '&cf=all&ned=' + country
    [all...]
options.js 8 * @fileoverview Includes the country selection, topics selection and
38 * Retrieves and sets last saved country from local storage(if found),
39 * else sets country retrieved from feed.
42 var country = window.localStorage.getItem('country');
44 // If country is not found in localstorage or default value is selected in
46 if ((!country) || country == 'noCountry') {
48 // retrieving the country value out of feed.
55 // Sets country to default Country in dropdown menu
    [all...]
  /external/svox/pico/compat/jni/
com_android_tts_compat_SynthProxy.cpp 406 jstring language, jstring country, jstring variant)
419 const char *countryNativeString = env->GetStringUTFChars(country, 0);
426 env->ReleaseStringUTFChars(country, countryNativeString);
434 jstring language, jstring country, jstring variant)
449 const char *countryNativeString = env->GetStringUTFChars(country, 0);
456 env->ReleaseStringUTFChars(country, countryNativeString);
465 jstring language, jstring country, jstring variant)
478 const char *countryNativeString = env->GetStringUTFChars(country, 0);
485 env->ReleaseStringUTFChars(country, countryNativeString);
598 char country[bufSize] local
    [all...]
  /external/icu4c/common/unicode/
locid.h 50 * according to the customs/conventions of the user's native country,
61 * const char* country,
73 * The second argument to the constructors is a valid <STRONG>ISO Country
114 * itself. Use <code>getCountry</code> to get the ISO Country Code and
117 * name of the country suitable for displaying to the user. Similarly,
122 * that takes a locale as an argument and displays the name or country in
161 * through these objects by language, country, or variant,
204 /** Useful constant for this country/region. @stable ICU 2.0 */
206 /** Useful constant for this country/region. @stable ICU 2.0 */
208 /** Useful constant for this country/region. @stable ICU 2.0 *
718 char country[ULOC_COUNTRY_CAPACITY]; member in class:Locale
    [all...]
  /frameworks/base/services/java/com/android/server/location/
LocationBasedCountryDetector.java 21 import android.location.Country;
36 * This class detects which country the user currently is in through the enabled
41 * the user country through the GeoCoder. The IllegalStateException will be
58 * The thread to query the country from the GeoCoder.
72 * @return the ISO 3166-1 two letters country code from the location
75 String country = null; local
81 country = addresses.get(0).getCountryCode();
84 Slog.w(TAG, "Exception occurs when getting country from location");
86 return country;
140 * Start detecting the country
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/deprecated/languageswitcher/
LanguageSwitcher.java 121 String country = mDefaultInputLocale.getCountry(); local
123 (TextUtils.isEmpty(country) ? "" : "_" + country);

Completed in 1615 milliseconds

12 3 4 5 6 7 8