/frameworks/base/tools/split-select/ |
H A D | Abi.h | 43 Family getFamily(Variant variant); 45 const char* toString(Variant variant);
|
H A D | Abi.cpp | 44 Family getFamily(Variant variant) { argument 45 switch (variant) { 76 const char* toString(Variant variant) { argument 77 switch (variant) {
|
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/ |
H A D | MockableTextToSpeechService.java | 38 protected int onIsLanguageAvailable(String lang, String country, String variant) { argument 39 return sDelegate.onIsLanguageAvailable(lang, country, variant); 48 protected int onLoadLanguage(String lang, String country, String variant) { argument 49 return sDelegate.onLoadLanguage(lang, country, variant); 63 int onIsLanguageAvailable(String lang, String country, String variant); argument 67 int onLoadLanguage(String lang, String country, String variant); argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | FontFamily.java | 39 public FontFamily(String lang, String variant) { argument 41 if ("compact".equals(variant)) { 43 } else if ("elegant".equals(variant)) { 73 private static native long nCreateFamily(String lang, int variant); argument
|
H A D | FontListParser.java | 63 public Family(String name, List<Font> fonts, String lang, String variant) { argument 67 this.variant = variant; 73 public String variant; field in class:FontListParser.Family 109 String variant = parser.getAttributeValue(null, "variant"); 125 return new Family(name, fonts, lang, variant);
|
H A D | Typeface.java | 263 FontFamily fontFamily = new FontFamily(family.lang, family.variant);
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | ITextToSpeechService.aidl | 99 * Returns the language, country and variant currently being used by the TTS engine. 103 * country (ISO 3-letter code) and variant used by the engine. 104 * The country and variant may be {@code ""}. If country is empty, then variant must 110 * Returns a default TTS language, country and variant as set by the user. 115 * country (ISO 3-letter code) and variant used by the engine. 116 * The country and variant may be {@code ""}. If country is empty, then variant must 126 * @param variant Language variant [all...] |
H A D | SynthesisRequest.java | 24 * <li>The synthesis locale, represented as a language, country and a variant. 26 * ISO 3166 alpha 3 code. The variant is not specified.</li> 100 * Gets the language variant to use. 137 void setLanguage(String language, String country, String variant) { argument 140 mVariant = variant;
|
H A D | TextToSpeechService.java | 170 * @param variant Language variant. May be empty or null. 178 protected abstract int onIsLanguageAvailable(String lang, String country, String variant); argument 181 * Returns the language, country and variant currently being used by the TTS engine. 189 * country (ISO 3-letter code) and variant used by the engine. 190 * The country and variant may be {@code ""}. If country is empty, then variant must 210 * @param variant Language variant. May be empty or null. 218 protected abstract int onLoadLanguage(String lang, String country, String variant); argument 251 onGetFeaturesForLanguage(String lang, String country, String variant) argument 320 onGetDefaultVoiceNameFor(String lang, String country, String variant) argument 1070 LoadLanguageItem(Object callerIdentity, int callerUid, int callerPid, String language, String country, String variant) argument [all...] |
H A D | TextToSpeech.java | 141 * by the locale, but not the variant. 147 * but not the country and variant. 365 * available voices. The format of each voice is: lang-COUNTRY-variant where COUNTRY and 366 * variant are optional (ie, "eng" or "eng-USA" or "eng-USA-FEMALE").</li> 369 * lang-COUNTRY-variant where COUNTRY and variant are optional (ie, "eng" or 383 * <li>variant</li> 406 * The format of each voice is: lang-COUNTRY-variant where COUNTRY and variant are 414 * The format of each voice is: lang-COUNTRY-variant wher [all...] |
H A D | TtsEngines.java | 381 String language = "", country = "", variant = ""; 400 variant = split[2]; 416 "," + variant +")"); 418 Locale result = new Locale(language, country, variant); 464 * if the locale has no variant entry</li> 466 * code{@link #LOCALE_DELIMITER}variant" if the locale has a variant entry</li> 474 // Note that the default locale might have an empty variant
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.h | 64 void setFontVariant(FontVariant variant) { argument 65 mFontVariant = variant;
|
H A D | FontFamily.cpp | 36 static jlong FontFamily_create(JNIEnv* env, jobject clazz, jstring lang, jint variant) { argument 42 return (jlong)new FontFamily(fontLanguage, variant);
|
/frameworks/base/location/java/android/location/ |
H A D | GeocoderParams.java | 28 * language, country and variant information from the Geocoder's locale 73 String variant = in.readString(); 74 gp.mLocale = new Locale(language, country, variant);
|
/frameworks/minikin/include/minikin/ |
H A D | FontFamily.h | 71 FontStyle(FontLanguage lang, int variant = 0, int weight = 4, bool italic = false) { 73 | (variant << kVariantShift) | (lang.bits() << kLangShift); 125 FontFamily(FontLanguage lang, int variant) : mLang(lang), mVariant(variant) { argument 137 int variant() const { return mVariant; } function in class:android::FontFamily
|
H A D | FontCollection.h | 59 FontFamily* getFamilyForChar(uint32_t ch, FontLanguage lang, int variant) const;
|
/frameworks/minikin/libs/minikin/ |
H A D | FontCollection.cpp | 100 // 4. Matching the "compact" or "elegant" variant adds one to the score. 103 FontLanguage lang, int variant) const { 121 if (variant != 0 && variant == family->variant()) { 139 return getFamilyForChar(ch, lang, variant); 166 int variant = style.getVariant(); local 183 FontFamily* family = getFamilyForChar(ch, lang, variant);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Typeface_Delegate.java | 72 * Return a list of fonts that match the style and variant. The list is ordered according to 79 * @param variant The variant preferred. Can only be {@link FontVariant#COMPACT} or 83 public List<Font> getFonts(FontVariant variant) { argument 84 assert variant != FontVariant.NONE; 113 // Add the font with the matching variant to the list. 114 if (variant == ffd.getVariant()) {
|
H A D | FontFamily_Delegate.java | 89 * The variant of the Font Family - compact or elegant. 224 /*package*/ static long nCreateFamily(String lang, int variant) { argument 227 // variant can be 0, 1 or 2. 228 assert variant < 3; 229 delegate.mVariant = FontVariant.values()[variant];
|
/frameworks/base/libs/androidfw/tests/ |
H A D | ConfigLocale_test.cpp | 115 const char* script, const char* variant, ResTable_config* out) { 129 if (variant != NULL) { 130 memcpy(out->localeVariant, variant, strlen(variant)); 114 fillIn(const char* lang, const char* country, const char* script, const char* variant, ResTable_config* out) argument
|
/frameworks/base/cmds/app_process/ |
H A D | Android.mk | 30 # Build a variant of app_process binary linked with ASan runtime.
|
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.cpp | 208 variant[i++] = *variantChars; 293 // The second tag can either be a region, a variant or a script. 331 // a script), else a variant code. 389 if (variant[0]) { 391 dirName += variant; 405 memcpy(variant, config.localeVariant, sizeof(config.localeVariant)); 417 if (variant[0]) { 418 memcpy(out->localeVariant, variant, sizeof(out->localeVariant));
|
H A D | AaptAssets.h | 65 char variant[8]; member in struct:AaptLocaleValue 97 void setVariant(const char* variant);
|