Searched refs:variant (Results 1 - 25 of 32) sorted by relevance

12

/frameworks/base/tools/split-select/
H A DAbi.h43 Family getFamily(Variant variant);
45 const char* toString(Variant variant);
H A DAbi.cpp44 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 DMockableTextToSpeechService.java40 protected int onIsLanguageAvailable(String lang, String country, String variant) { argument
41 return sDelegate.onIsLanguageAvailable(lang, country, variant);
50 protected int onLoadLanguage(String lang, String country, String variant) { argument
51 return sDelegate.onLoadLanguage(lang, country, variant);
65 int onIsLanguageAvailable(String lang, String country, String variant); argument
69 int onLoadLanguage(String lang, String country, String variant); argument
/frameworks/base/graphics/java/android/graphics/
H A DFontFamily.java39 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 DFontListParser.java63 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);
/frameworks/base/core/java/android/speech/tts/
H A DITextToSpeechService.aidl99 * 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 DSynthesisRequest.java24 * <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 DTextToSpeechService.java169 * @param variant Language variant. May be empty or null.
177 protected abstract int onIsLanguageAvailable(String lang, String country, String variant); argument
180 * Returns the language, country and variant currently being used by the TTS engine.
188 * country (ISO 3-letter code) and variant used by the engine.
189 * The country and variant may be {@code ""}. If country is empty, then variant must
209 * @param variant Language variant. May be empty or null.
217 protected abstract int onLoadLanguage(String lang, String country, String variant); argument
250 onGetFeaturesForLanguage(String lang, String country, String variant) argument
321 onGetDefaultVoiceNameFor(String lang, String country, String variant) argument
1128 LoadLanguageItem(Object callerIdentity, int callerUid, int callerPid, String language, String country, String variant) argument
[all...]
H A DTtsEngines.java380 String language = "", country = "", variant = "";
399 variant = split[2];
415 "," + variant +")");
417 Locale result = new Locale(language, country, variant);
463 * if the locale has no variant entry</li>
465 * code{@link #LOCALE_DELIMITER}variant" if the locale has a variant entry</li>
473 // Note that the default locale might have an empty variant
H A DTextToSpeech.java141 * 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...]
/frameworks/data-binding/extensions/baseAdapters/
H A Dbuild.gradle52 android.libraryVariants.all { variant ->
53 def name = variant.buildType.name
61 source variant.javaCompile.source
62 classpath = files(variant.javaCompile.classpath.files) + files(
/frameworks/data-binding/library/
H A Dbuild.gradle67 android.libraryVariants.all { variant ->
68 def name = variant.buildType.name
76 source variant.javaCompile.source + project(":baseLibrary").tasks['compileJava'].source
77 classpath = files(variant.javaCompile.classpath.files) + files(
/frameworks/data-binding/gradlePlugin/src/main/java/android/databinding/tool/
H A DDataBinderPlugin.java30 import com.android.build.gradle.internal.variant.ApplicationVariantData;
31 import com.android.build.gradle.internal.variant.BaseVariantData;
32 import com.android.build.gradle.internal.variant.LibraryVariantData;
33 import com.android.build.gradle.internal.variant.TestVariantData;
213 for (TestVariant variant : lib.getTestVariants()) {
214 logD("test variant %s. dir name %s", variant, variant.getDirName());
215 BaseVariantData variantData = getVariantData(variant);
216 attachXmlProcessor(project, variantData, sdkDir, false);//tests extend apk variant
239 getVariantData(LibraryVariant variant) argument
246 getVariantData(TestVariant variant) argument
253 getVariantData(ApplicationVariant variant) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DPaint.h64 void setFontVariant(FontVariant variant) { argument
65 mFontVariant = variant;
H A DFontFamily.cpp38 static jlong FontFamily_create(JNIEnv* env, jobject clazz, jstring lang, jint variant) { argument
44 return (jlong)new FontFamily(fontLanguage, variant);
/frameworks/base/location/java/android/location/
H A DGeocoderParams.java28 * language, country and variant information from the Geocoder's locale
73 String variant = in.readString();
74 gp.mLocale = new Locale(language, country, variant);
/frameworks/base/tools/aapt2/
H A DLocale.h33 char variant[8]; member in struct:aapt::LocaleValue
73 void setVariant(const char* variant);
H A DLocale.cpp60 variant[i++] = *variantChars;
153 // The second tag can either be a region, a variant or a script.
186 // a script), else a variant code.
241 if (variant[0]) {
243 dirName += variant;
257 memcpy(variant, config.localeVariant, sizeof(config.localeVariant));
269 if (variant[0]) {
270 memcpy(out->localeVariant, variant, sizeof(out->localeVariant));
/frameworks/minikin/include/minikin/
H A DFontFamily.h71 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 DFontCollection.h59 FontFamily* getFamilyForChar(uint32_t ch, FontLanguage lang, int variant) const;
/frameworks/minikin/libs/minikin/
H A DFontCollection.cpp104 // 4. Matching the "compact" or "elegant" variant adds one to the score.
107 FontLanguage lang, int variant) const {
125 if (family->variant() == 0 || family->variant() == variant) {
143 return getFamilyForChar(ch, lang, variant);
177 int variant = style.getVariant(); local
196 FontFamily* family = getFamilyForChar(ch, lang, variant);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DTypeface_Delegate.java72 * 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 DFontFamily_Delegate.java114 * The variant of the Font Family - compact or elegant.
249 /*package*/ static long nCreateFamily(String lang, int variant) { argument
252 // variant can be 0, 1 or 2.
253 assert variant < 3;
254 delegate.mVariant = FontVariant.values()[variant];
/frameworks/base/libs/androidfw/tests/
H A DConfigLocale_test.cpp115 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 DAndroid.mk41 # Build a variant of app_process binary linked with ASan runtime.

Completed in 1368 milliseconds

12