/frameworks/base/tests/TtsTests/src/com/android/speech/tts/ |
D | MockableTextToSpeechService.java | 40 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/opt/setupwizard/tools/gradle/ |
D | docs.gradle | 11 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)
|
D | dist-library-instrumentation-tests.gradle | 17 android.testVariants.all { variant -> 19 tasks.dist.dependsOn variant.assemble 24 variant.outputs.each { output -> 28 android.libraryVariants.all { variant -> 30 variant.outputs.each { output ->
|
D | dist-unit-tests.gradle | 16 android.unitTestVariants.all { variant -> 17 def task = tasks.findByName('test' + variant.name.capitalize()) 62 android.unitTestVariants.all { variant -> 63 def testTaskName = "test${variant.name.capitalize()}" 70 description = "Generate a Jacoco coverage report for robolectric tests on ${variant.name}." 74 "${variant.productFlavors[0].name}/${variant.buildType.name}", 81 sourceDirectories = files(variant.testedVariant.sourceSets.collect { it.java.srcDirs })
|
/frameworks/base/tools/split-select/ |
D | Abi.cpp | 44 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()
|
D | Abi.h | 43 Family getFamily(Variant variant); 45 const char* toString(Variant variant);
|
/frameworks/base/core/java/android/speech/tts/ |
D | ITextToSpeechService.aidl | 134 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
|
D | TextToSpeechService.java | 178 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 248 protected Set<String> onGetFeaturesForLanguage(String lang, String country, String variant) { in onGetFeaturesForLanguage() argument 319 public String onGetDefaultVoiceNameFor(String lang, String country, String variant) { in onGetDefaultVoiceNameFor() argument 320 int localeStatus = onIsLanguageAvailable(lang, country, variant); in onGetDefaultVoiceNameFor() 330 iso3Locale = new Locale(lang, country, variant); in onGetDefaultVoiceNameFor() 1207 String language, String country, String variant) { in LoadLanguageItem() argument 1211 mVariant = variant; in LoadLanguageItem() 1395 public int isLanguageAvailable(String lang, String country, String variant) { 1400 return onIsLanguageAvailable(lang, country, variant); [all …]
|
D | SynthesisRequest.java | 137 void setLanguage(String language, String country, String variant) { in setLanguage() argument 140 mVariant = variant; in setLanguage()
|
/frameworks/base/core/jni/android/graphics/ |
D | FontFamily.cpp | 46 NativeFamilyBuilder(uint32_t langId, int variant) in NativeFamilyBuilder() 47 : langId(langId), variant(static_cast<minikin::FamilyVariant>(variant)) {} in NativeFamilyBuilder() 49 minikin::FamilyVariant variant; member 66 static jlong FontFamily_initBuilder(JNIEnv* env, jobject clazz, jstring langs, jint variant) { in FontFamily_initBuilder() argument 70 builder = new NativeFamilyBuilder(minikin::registerLocaleList(str.c_str()), variant); in FontFamily_initBuilder() 72 builder = new NativeFamilyBuilder(minikin::registerLocaleList(""), variant); in FontFamily_initBuilder() 86 builder->langId, builder->variant, std::move(builder->fonts), in FontFamily_create()
|
/frameworks/minikin/include/minikin/ |
D | FontFamily.h | 37 FontFamily(FamilyVariant variant, std::vector<Font>&& fonts); 38 FontFamily(uint32_t localeListId, FamilyVariant variant, std::vector<Font>&& fonts, 44 FamilyVariant variant() const { return mVariant; } in variant() function
|
D | FontCollection.h | 90 FamilyVariant variant) const; 92 uint32_t calcFamilyScore(uint32_t ch, uint32_t vs, FamilyVariant variant, uint32_t localeListId, 101 static uint32_t calcVariantMatchingScore(FamilyVariant variant, const FontFamily& fontFamily);
|
/frameworks/minikin/tests/util/ |
D | FontTestUtils.cpp | 61 FamilyVariant variant = FamilyVariant::DEFAULT; in getFontFamilies() local 64 variant = FamilyVariant::ELEGANT; in getFontFamilies() 66 variant = FamilyVariant::COMPACT; in getFontFamilies() 109 family = std::make_shared<FontFamily>(variant, std::move(fonts)); in getFontFamilies() 112 family = std::make_shared<FontFamily>(langId, variant, std::move(fonts), in getFontFamilies()
|
/frameworks/minikin/libs/minikin/ |
D | FontCollection.cpp | 126 uint32_t FontCollection::calcFamilyScore(uint32_t ch, uint32_t vs, FamilyVariant variant, in calcFamilyScore() argument 136 const uint32_t variantScore = calcVariantMatchingScore(variant, *fontFamily); in calcFamilyScore() 231 uint32_t FontCollection::calcVariantMatchingScore(FamilyVariant variant, in calcVariantMatchingScore() argument 233 const FamilyVariant familyVariant = fontFamily.variant(); in calcVariantMatchingScore() 237 if (familyVariant == variant) { in calcVariantMatchingScore() 240 if (variant == FamilyVariant::DEFAULT && familyVariant == FamilyVariant::COMPACT) { in calcVariantMatchingScore() 254 FamilyVariant variant) const { in getFamilyForChar() 270 const uint32_t score = calcFamilyScore(ch, vs, variant, localeListId, family); in getFamilyForChar() 290 return getFamilyForChar(ch, vs, localeListId, variant); in getFamilyForChar()
|
/frameworks/base/tools/fonts/ |
D | fontchain_linter.py | 202 def __init__(self, name, scripts, variant, weight, style, fallback_for, font): argument 205 self.variant = variant 226 variant = family.get('variant') 229 assert variant is None, ( 236 assert variant in {None, 'elegant', 'compact'}, ( 237 'Unexpected value for variant: %s' % variant) 241 variant = family.get('variant') 279 variant, 625 if record.variant == 'compact': 627 if x.scripts == record.scripts and x.variant == 'elegant']
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Typeface_Delegate.java | 329 public Iterable<Font> getFonts(final FontVariant variant) { in getFonts() argument 330 assert variant != FontVariant.NONE; in getFonts() 332 return new FontsIterator(mFontFamilies, mFontFamilyBuilders, variant, mWeight, mStyle); in getFonts() 340 private final FontVariant variant; field in Typeface_Delegate.FontsIterator 346 @NonNull FontVariant variant, int weight, int style) { in FontsIterator() argument 354 this.variant = variant; in FontsIterator() 391 if (ffdVariant == FontVariant.NONE || ffdVariant == variant) { in next()
|
/frameworks/base/services/core/java/com/android/server/textservices/ |
D | LocaleUtils.java | 77 final String variant = systemLocale.getVariant(); in getSuitableLocalesForSpellChecker() local 78 final boolean hasVariant = !TextUtils.isEmpty(variant); in getSuitableLocalesForSpellChecker() 80 systemLocaleLanguageCountryVariant = new Locale(language, country, variant); in getSuitableLocalesForSpellChecker()
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontFamily.java | 115 public @NonNull FontFamily build(@NonNull String langTags, int variant, in build() argument 121 final long ptr = nBuild(builderPtr, langTags, variant, isCustomFallback); in build() 134 private static native long nBuild(long builderPtr, String langTags, int variant, in nBuild() argument
|
/frameworks/av/media/libmedia/xsd/vts/ |
D | ValidateMediaProfiles.cpp | 50 std::string variant = android::base::GetProperty( in TEST() local 52 std::string fileName = "media_profiles" + variant + ".xml"; in TEST()
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2InfoBuilder.cpp | 269 std::string variant, const MediaCodecsXmlParser::AttributeMap &settings) { in isVariantEnabled() argument 270 return isSettingEnabled("variant-" + variant, settings); in isVariantEnabled() 452 for (const std::string &variant : codec.variantSet) { in buildMediaCodecList() local 453 const Switch enabled = isVariantExpressionEnabled(variant, settings); in buildMediaCodecList() 455 nameOrAlias.c_str(), variant.c_str(), asString(enabled)); in buildMediaCodecList() 530 std::string variant = key.substr(0, variantSep); in buildMediaCodecList() local 531 const Switch enabled = isVariantExpressionEnabled(variant, settings); in buildMediaCodecList() 532 ALOGV("variant '%s' is '%s'", variant.c_str(), asString(enabled)); in buildMediaCodecList()
|
/frameworks/base/libs/androidfw/ |
D | Locale.cpp | 63 variant[i++] = *variant_chars; in set_variant() 245 memcpy(variant, config.localeVariant, sizeof(config.localeVariant)); in InitFromResTable() 257 if (variant[0]) { in WriteTo() 258 memcpy(out->localeVariant, variant, sizeof(out->localeVariant)); in WriteTo()
|
/frameworks/base/graphics/java/android/graphics/ |
D | FontListParser.java | 89 final String variant = parser.getAttributeValue(null, "variant"); in readFamily() local 101 if (variant != null) { in readFamily() 102 if (variant.equals("compact")) { in readFamily() 104 } else if (variant.equals("elegant")) { in readFamily()
|
/frameworks/av/media/libmediaplayerservice/ |
D | DeathRecipient.h | 29 using Service = std::variant< 33 DeathNotifier(std::variant<sp<IBinder> const&,
|
/frameworks/base/location/java/android/location/ |
D | GeocoderParams.java | 76 String variant = in.readString(); 77 gp.mLocale = new Locale(language, country, variant);
|
/frameworks/native/libs/vr/libvrflinger/ |
D | display_surface.cpp | 70 const auto* variant = &attribute.second; in OnSetAttributes() local 78 variant, [&](const auto& value) { in OnSetAttributes() 87 variant, [&](const auto& value) { in OnSetAttributes() 103 key, variant->index()); in OnSetAttributes() 106 if (variant->empty()) { in OnSetAttributes() 111 attributes_[key] = *variant; in OnSetAttributes()
|