Home
last modified time | relevance | path

Searched refs:variant (Results 1 – 25 of 88) sorted by relevance

1234

/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DMockableTextToSpeechService.java40 protected int onIsLanguageAvailable(String lang, String country, String variant) { in onIsLanguageAvailable() argument
41 return sDelegate.onIsLanguageAvailable(lang, country, variant); in onIsLanguageAvailable()
50 protected int onLoadLanguage(String lang, String country, String variant) { in onLoadLanguage() argument
51 return sDelegate.onLoadLanguage(lang, country, variant); in onLoadLanguage()
65 int onIsLanguageAvailable(String lang, String country, String variant); in onIsLanguageAvailable() argument
69 int onLoadLanguage(String lang, String country, String variant); in onLoadLanguage() argument
/frameworks/minikin/include/minikin/
DFontFamily.h43 FontStyle(int variant, int weight, bool italic);
44 FontStyle(uint32_t langListId, int variant, int weight, bool italic);
66 static uint32_t pack(int variant, int weight, bool italic);
105 FontFamily(int variant);
107 FontFamily(uint32_t langId, int variant) in FontFamily() argument
109 mVariant(variant), in FontFamily()
123 int variant() const { return mVariant; } in variant() function
DFontCollection.h65 FontFamily* getFamilyForChar(uint32_t ch, uint32_t vs, uint32_t langListId, int variant) const;
67 uint32_t calcFamilyScore(uint32_t ch, uint32_t vs, int variant, uint32_t langListId,
75 static uint32_t calcVariantMatchingScore(int variant, const FontFamily& fontFamily);
/frameworks/opt/setupwizard/library/
Dself.gradle21 android.libraryVariants.all { variant ->
22 variant.assemble.dependsOn(tasks.findByName('lint'))
28 android.testVariants.all { variant ->
29 // Make the dist task depend on the test variant, so the test APK will be built
30 distTask.dependsOn variant.assemble
/frameworks/opt/setupwizard/tools/gradle/
Ddocs.gradle11 android.libraryVariants.all { variant ->
12 if (variant.buildType.name.equals(com.android.builder.core.BuilderConstants.DEBUG)) {
15 def suffix = variant.name.capitalize()
19 source variant.javaCompile.source
20 classpath = files(variant.javaCompile.classpath.files) + files(
41 dependsOn(variant.assemble)
/frameworks/minikin/libs/minikin/
DFontFamily.cpp43 FontStyle::FontStyle(int variant, int weight, bool italic) in FontStyle() argument
44 : FontStyle(FontLanguageListCache::kEmptyListId, variant, weight, italic) { in FontStyle()
47 FontStyle::FontStyle(uint32_t languageListId, int variant, int weight, bool italic) in FontStyle() argument
48 : bits(pack(variant, weight, italic)), mLanguageListId(languageListId) { in FontStyle()
64 uint32_t FontStyle::pack(int variant, int weight, bool italic) { in pack() argument
65 return (weight & kWeightMask) | (italic ? kItalicMask : 0) | (variant << kVariantShift); in pack()
71 FontFamily::FontFamily(int variant) : FontFamily(FontLanguageListCache::kEmptyListId, variant) { in FontFamily() argument
DFontCollection.cpp166 uint32_t FontCollection::calcFamilyScore(uint32_t ch, uint32_t vs, int variant, uint32_t langListId, in calcFamilyScore() argument
176 const uint32_t variantScore = calcVariantMatchingScore(variant, *fontFamily); in calcFamilyScore()
266 uint32_t FontCollection::calcVariantMatchingScore(int variant, const FontFamily& fontFamily) { in calcVariantMatchingScore() argument
267 return (fontFamily.variant() == 0 || fontFamily.variant() == variant) ? 1 : 0; in calcVariantMatchingScore()
276 uint32_t langListId, int variant) const { in getFamilyForChar()
306 const uint32_t score = calcFamilyScore(ch, vs, variant, langListId, family); in getFamilyForChar()
326 return getFamilyForChar(ch, vs, langListId, variant); in getFamilyForChar()
391 int variant = style.getVariant(); in itemize() local
430 langListId, variant); in itemize()
/frameworks/support/recommendation/
Dbuild.gradle36 android.libraryVariants.all { variant ->
37 def name = variant.buildType.name
45 dependsOn variant.javaCompile
46 from variant.javaCompile.destinationDir
51 classpath = files(variant.javaCompile.classpath.files) + files(
/frameworks/base/tools/split-select/
DAbi.cpp44 Family getFamily(Variant variant) { in getFamily() argument
45 switch (variant) { in getFamily()
76 const char* toString(Variant variant) { in toString() argument
77 switch (variant) { in toString()
/frameworks/support/customtabs/
Dbuild.gradle43 android.libraryVariants.all { variant ->
44 def name = variant.buildType.name
52 dependsOn variant.javaCompile
53 from variant.javaCompile.destinationDir
58 classpath = files(variant.javaCompile.classpath.files) + files(
/frameworks/support/v7/palette/
Dbuild.gradle33 android.libraryVariants.all { variant ->
34 def name = variant.buildType.name
42 dependsOn variant.javaCompile
43 from variant.javaCompile.destinationDir
48 classpath = files(variant.javaCompile.classpath.files) + files(
/frameworks/base/core/java/android/speech/tts/
DITextToSpeechService.aidl134 int isLanguageAvailable(in String lang, in String country, in String variant); in isLanguageAvailable() argument
149 String[] getFeaturesForLanguage(in String lang, in String country, in String variant); in getFeaturesForLanguage() argument
166 int loadLanguage(in IBinder caller, in String lang, in String country, in String variant); in loadLanguage() argument
209 String getDefaultVoiceNameFor(in String lang, in String country, in String variant); in getDefaultVoiceNameFor() argument
DTextToSpeechService.java178 protected abstract int onIsLanguageAvailable(String lang, String country, String variant); in onIsLanguageAvailable() argument
218 protected abstract int onLoadLanguage(String lang, String country, String variant); in onLoadLanguage() argument
251 protected Set<String> onGetFeaturesForLanguage(String lang, String country, String variant) { in onGetFeaturesForLanguage() argument
322 public String onGetDefaultVoiceNameFor(String lang, String country, String variant) { in onGetDefaultVoiceNameFor() argument
323 int localeStatus = onIsLanguageAvailable(lang, country, variant); in onGetDefaultVoiceNameFor()
333 iso3Locale = new Locale(lang, country, variant); in onGetDefaultVoiceNameFor()
1156 String language, String country, String variant) { in LoadLanguageItem() argument
1160 mVariant = variant; in LoadLanguageItem()
1306 public int isLanguageAvailable(String lang, String country, String variant) {
1311 return onIsLanguageAvailable(lang, country, variant);
[all …]
/frameworks/base/graphics/java/android/graphics/
DFontFamily.java49 public FontFamily(String lang, String variant) { in FontFamily() argument
51 if ("compact".equals(variant)) { in FontFamily()
53 } else if ("elegant".equals(variant)) { in FontFamily()
92 private static native long nCreateFamily(String lang, int variant); in nCreateFamily() argument
DFontListParser.java77 public Family(String name, List<Font> fonts, String lang, String variant) { in Family() argument
81 this.variant = variant; in Family()
87 public String variant; field in FontListParser.Family
124 String variant = parser.getAttributeValue(null, "variant"); in readFamily() local
135 return new Family(name, fonts, lang, variant); in readFamily()
/frameworks/minikin/tests/
DFontTestUtils.cpp38 int variant = android::VARIANT_DEFAULT; in getFontCollection() local
41 variant = android::VARIANT_ELEGANT; in getFontCollection()
43 variant = android::VARIANT_COMPACT; in getFontCollection()
51 android::FontFamily* family = new android::FontFamily(langId, variant); in getFontCollection()
/frameworks/support/v17/leanback/
Dbuild.gradle41 android.libraryVariants.all { variant ->
42 def name = variant.buildType.name
50 dependsOn variant.javaCompile
51 from variant.javaCompile.destinationDir
56 classpath = files(variant.javaCompile.classpath.files) + files(
/frameworks/base/tools/aapt2/
DLocale.cpp60 variant[i++] = *variantChars; in setVariant()
245 if (variant[0]) { in toDirName()
247 dirName += variant; in toDirName()
261 memcpy(variant, config.localeVariant, sizeof(config.localeVariant)); in initFromResTable()
273 if (variant[0]) { in writeTo()
274 memcpy(out->localeVariant, variant, sizeof(out->localeVariant)); in writeTo()
/frameworks/support/v7/cardview/
Dbuild.gradle45 android.libraryVariants.all { variant ->
46 def name = variant.buildType.name
54 dependsOn variant.javaCompile
55 from variant.javaCompile.destinationDir
60 classpath = files(variant.javaCompile.classpath.files) + files(
/frameworks/support/graphics/drawable/animated/
Dbuild.gradle57 android.libraryVariants.all { variant ->
58 def name = variant.buildType.name
66 dependsOn variant.javaCompile
67 from variant.javaCompile.destinationDir
72 classpath = files(variant.javaCompile.classpath.files) + files(
/frameworks/support/graphics/drawable/static/
Dbuild.gradle58 android.libraryVariants.all { variant ->
59 def name = variant.buildType.name
67 dependsOn variant.javaCompile
68 from variant.javaCompile.destinationDir
73 classpath = files(variant.javaCompile.classpath.files) + files(
/frameworks/support/v13/
Dbuild.gradle44 android.libraryVariants.all { variant ->
45 def name = variant.buildType.name
53 dependsOn variant.javaCompile
54 from variant.javaCompile.destinationDir
59 classpath = files(variant.javaCompile.classpath.files) + files(
/frameworks/support/v7/recyclerview/
Dbuild.gradle63 android.libraryVariants.all { variant ->
64 def name = variant.buildType.name
72 dependsOn variant.javaCompile
73 from variant.javaCompile.destinationDir
78 classpath = files(variant.javaCompile.classpath.files) + files(
/frameworks/support/percent/
Dbuild.gradle48 android.libraryVariants.all { variant ->
49 def name = variant.buildType.name
57 dependsOn variant.javaCompile
58 from variant.javaCompile.destinationDir
63 classpath = files(variant.javaCompile.classpath.files) + files(
/frameworks/support/v7/gridlayout/
Dbuild.gradle52 android.libraryVariants.all { variant ->
53 def name = variant.buildType.name
61 dependsOn variant.javaCompile
62 from variant.javaCompile.destinationDir
67 classpath = files(variant.javaCompile.classpath.files) + files(

1234