Searched defs:variant (Results 1 - 18 of 18) sorted by relevance

/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/tools/aapt2/
H A DLocale.h33 char variant[8]; member in struct:aapt::LocaleValue
73 void setVariant(const char* variant);
/frameworks/base/tools/split-select/
H A DAbi.cpp44 Family getFamily(Variant variant) { argument
45 switch (variant) {
76 const char* toString(Variant variant) { argument
77 switch (variant) {
/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/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/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/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/core/java/android/speech/tts/
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...]
/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/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
/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/core/jni/
H A DAndroidRuntime.cpp398 const std::string variant = getProperty("persist.sys.localevar", ""); local
405 if (!variant.empty()) {
406 out = out + "-" + variant;
596 char dex2oat_isa_variant[sizeof("--instruction-set-variant=") -1 + PROPERTY_VALUE_MAX];
786 // pass the instruction-set-features/variant as an image-compiler-option.
807 // Copy the variant.
808 sprintf(dex2oat_isa_variant_key, "dalvik.vm.isa.%s.variant", instruction_set);
810 "--instruction-set-variant=", "-Ximage-compiler-option");
812 "--instruction-set-variant=", "-Xcompiler-option");
/frameworks/base/tools/aapt/
H A DAaptAssets.h65 char variant[8]; member in struct:AaptLocaleValue
95 void setVariant(const char* variant);
/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. ...

Completed in 1026 milliseconds