/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
GoogleSearch.java | 13 * See the License for the specific language governing permissions and 73 * Construct the language code (hl= paramater) for the given locale. 76 String language = locale.getLanguage(); local 77 StringBuilder hl = new StringBuilder(language); 80 if (!TextUtils.isEmpty(country) && useLangCountryHl(language, country)) { 85 if (DBG) Log.d(TAG, "language " + language + ", country " + country + " -> hl=" + hl); 90 private static boolean useLangCountryHl(String language, String country) { 92 if ("en".equals(language)) { 94 } else if ("zh".equals(language)) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
FlagManager.java | 13 * See the License for the specific language governing permissions and 76 * Returns the globe icon used to indicate "any" language 78 * @return the globe icon used to indicate "any" language 85 * Returns the flag for the given language and region. 87 * @param language the language, or null (if null, region must not be null), 88 * the 2 letter language code (ISO 639-1), in lower case 89 * @param region the region, or null (if null, language must not be null), 94 public Image getFlag(@Nullable String language, @Nullable String region) { 95 assert region != null || language != null [all...] |
/external/harfbuzz_ng/src/ |
hb-ot-tag.h | 51 hb_ot_tag_from_language (hb_language_t language);
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
IsoTypeWriter.java | 13 * See the License for the specific language governing permissions and 79 public static void writeIso639(ByteBuffer bb, String language) { 80 if (language.getBytes().length != 3) { 81 throw new IllegalArgumentException("\"" + language + "\" language string isn't exactly 3 characters long!"); 85 bits += (language.getBytes()[i] - 0x60) << (2 - i) * 5;
|
/external/sl4a/Common/src/com/googlecode/android_scripting/language/ |
SupportedLanguages.java | 13 * See the License for the specific language governing permissions and 17 package com.googlecode.android_scripting.language; 27 // SHELL(".sh", ShellLanguage.class), // We don't really support Shell language 35 private final Class<? extends Language> mmClass; 37 private KnownLanguage(String ext, Class<? extends Language> clazz) { 46 private Class<? extends Language> getLanguageClass() { 51 private static Map<String, Class<? extends Language>> sSupportedLanguages; 54 sSupportedLanguages = new HashMap<String, Class<? extends Language>>(); 55 for (KnownLanguage language : KnownLanguage.values()) { 56 sSupportedLanguages.put(language.getExtension(), language.getLanguageClass()) [all...] |
TclLanguage.java | 13 * See the License for the specific language governing permissions and 17 package com.googlecode.android_scripting.language; 20 * Represents the Tcl programming language. 23 public class TclLanguage extends Language {
|
/packages/apps/Settings/src/com/android/settings/language/ |
TtsPreferenceController.java | 13 * See the License for the specific language governing permissions and 17 package com.android.settings.language;
|
/packages/apps/TV/tests/unit/src/com/android/tv/util/ |
UtilsTest_GetMultiAudioString.java | 13 * See the License for the specific language governing permissions and 38 assertEquals("Unknown language", 40 assertEquals("Unknown language", 76 private static TvTrackInfo createAudioTrackInfo(String language) { 77 return createAudioTrackInfo(language, 0); 80 private static TvTrackInfo createAudioTrackInfo(String language, int channelCount) { 82 .setLanguage(language).setAudioChannelCount(channelCount)
|
/prebuilts/tools/common/m2/repository/commons-codec/commons-codec/1.10/ |
commons-codec-1.10.jar | |
/prebuilts/tools/common/offline-m2/commons-codec/commons-codec/1.10/ |
commons-codec-1.10.jar | |
/frameworks/base/tools/aapt2/ |
Locale.h | 13 * See the License for the specific language governing permissions and 32 char language[4]; member in struct:aapt::LocaleValue 70 void set_language(const char* language); 71 void set_region(const char* language);
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/ |
hetero-nodes.rb | 12 language=Ruby; 31 language=Ruby; 50 language=Ruby; 69 language=Ruby; 88 language=Ruby; 108 language=Ruby; 128 language=Ruby; 148 language=Ruby; 168 language=Ruby; 188 language=Ruby [all...] |
/prebuilts/tools/common/m2/repository/commons-codec/commons-codec/1.9/ |
commons-codec-1.9.jar | |
/external/e2fsprogs/intl/ |
explodename.c | 53 const char **language, const char **modifier, 71 look for the language. Termination symbols are `_' and `@' if 75 *language = cp = name; 76 cp = _nl_find_language (*language); 78 if (*language == cp) 79 /* This does not make sense: language has to be specified. Use 81 cp = strchr (*language, '\0');
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
ANQPParserTest.java | 13 * See the License for the specific language governing permissions and 44 * @param language Array of languages 49 private static byte[] getVenueNamePayload(String[] language, String[] text) 53 stream.write(getI18NameListPayload(language, text)); 157 * @param language Array of language 162 private static byte[] getHSFriendlyNamePayload(String[] language, String[] text) 164 return getI18NameListPayload(language, text); 221 * @param language Array of language 253 String[] language = new String[] {"en"}; local 381 String[] language = new String[] {"en"}; local 406 String[] language = new String[] {"en"}; local [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/main/ |
main-scripts.rb | 15 options { language = Ruby; } 43 options { language = Ruby; } 67 options { language = Ruby; } 81 options { language = Ruby; } 102 language = Ruby; 125 language = Ruby; 138 language=Ruby; 162 language = Ruby; 175 language=Ruby; 199 options { language=Ruby; [all...] |
/frameworks/base/tools/aapt/ |
ResourceFilter.cpp | 64 // 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[1] == entry.first.language[1] & [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/debugging/ |
debug-mode.rb | 93 options {language=Ruby;} // line 2 116 options {language=Ruby;} // line 2 146 options { language=Ruby; } 183 options { language=Ruby; } 216 options { language=Ruby; } 287 options { language=Ruby; } 357 options { language=Ruby; } 394 options { language=Ruby; } 446 options { language=Ruby; } 492 options { language=Ruby; [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
LocalePriorityList.java | 27 * The string format is based on the Accept-Language format 32 * <p>In theory, Accept-Language indicates the relative 'quality' of each item, 37 * original. Accept-Language also doesn't 54 * comes first. If exactly the same language tag appears multiple times, 63 * This is to match the effect of the Accept-Language semantics as used in browsers, and results in the following: 81 * Add a language code to the list being built, with weight 1.0. 83 * @param languageCode locale/language to be added 91 * Add a language code to the list being built, with specified weight. 93 * @param languageCode locale/language to be added 102 * Add a language priority list 322 final ULocale language = new ULocale(itemMatcher.group(1)); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
LocalePriorityList.java | 26 * The string format is based on the Accept-Language format 31 * <p>In theory, Accept-Language indicates the relative 'quality' of each item, 36 * original. Accept-Language also doesn't 53 * comes first. If exactly the same language tag appears multiple times, 62 * This is to match the effect of the Accept-Language semantics as used in browsers, and results in the following: 80 * Add a language code to the list being built, with weight 1.0. 82 * @param languageCode locale/language to be added 91 * Add a language code to the list being built, with specified weight. 93 * @param languageCode locale/language to be added 103 * Add a language priority list 338 final ULocale language = new ULocale(itemMatcher.group(1)); local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/ |
Utils.java | 20 String language = s; local 24 int x = language.indexOf("_"); 26 region = language.substring(x+1); 27 language = language.substring(0, x); 34 return new Locale(language, region, variant);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/ |
Utils.java | 16 String language = s; local 20 int x = language.indexOf("_"); 22 region = language.substring(x+1); 23 language = language.substring(0, x); 30 return new Locale(language, region, variant);
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
InternalLocaleBuilder.java | 46 private String language = ""; field in class:InternalLocaleBuilder 59 public InternalLocaleBuilder setLanguage(String language) throws LocaleSyntaxException { 60 if (LocaleUtils.isEmpty(language)) { 61 this.language = ""; 63 if (!LanguageTag.isLanguage(language)) { 64 throw new LocaleSyntaxException("Ill-formed language: " + language, 0); 66 this.language = language; 346 * Reset Builder's internal state with the given language ta 377 String language = base.getLanguage(); local 491 String language = this.language; local [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/template-output/ |
template-output.rb | 37 language = Ruby; 64 language = Ruby; 85 language=Ruby; 104 language=Ruby; 125 language=Ruby; 143 language=Ruby; 160 # language=Ruby; 188 language=Ruby; 209 language=Ruby; 233 language=Ruby [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
LocaleIDs.java | 16 * Utilities for mapping between old and new language, country, and other 31 * Returns a list of all 2-letter language codes defined in ISO 639 64 * Returns a three-letter abbreviation for the language. If language is 66 * a lowercase ISO 639-2/T language code. 67 * The ISO 639-2 language codes can be found on-line at 70 * three-letter language abbreviation is not available for this locale. 72 public static String getISO3Language(String language) { 74 int offset = findIndex(_languages, language); 78 offset = findIndex(_obsoleteLanguages, language); [all...] |