/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/libs/hwui/jni/ |
D | FontFamily.cpp | 48 NativeFamilyBuilder(uint32_t langId, int variant) in NativeFamilyBuilder() 49 : langId(langId), variant(static_cast<minikin::FamilyVariant>(variant)) {} in NativeFamilyBuilder() 51 minikin::FamilyVariant variant; member 68 static jlong FontFamily_initBuilder(JNIEnv* env, jobject clazz, jstring langs, jint variant) { in FontFamily_initBuilder() argument 72 builder = new NativeFamilyBuilder(minikin::registerLocaleList(str.c_str()), variant); in FontFamily_initBuilder() 74 builder = new NativeFamilyBuilder(minikin::registerLocaleList(""), variant); in FontFamily_initBuilder() 88 builder->langId, builder->variant, std::move(builder->fonts), in FontFamily_create()
|
/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() 1396 public int isLanguageAvailable(String lang, String country, String variant) { 1401 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/minikin/libs/minikin/ |
D | FontFamily.cpp | 41 FontFamily::FontFamily(FamilyVariant variant, std::vector<std::shared_ptr<Font>>&& fonts) in FontFamily() argument 42 : FontFamily(kEmptyLocaleListId, variant, std::move(fonts), false /* isCustomFallback */) {} in FontFamily() 44 FontFamily::FontFamily(uint32_t localeListId, FamilyVariant variant, in FontFamily() argument 47 mVariant(variant), in FontFamily() 56 FontFamily::FontFamily(uint32_t localeListId, FamilyVariant variant, in FontFamily() argument 62 mVariant(variant), in FontFamily() 77 FamilyVariant variant = reader->read<FamilyVariant>(); in readFromInternal() local 95 localeListId, variant, std::move(fonts), std::move(supportedAxes), isColorEmoji, in readFromInternal()
|
/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/include/minikin/ |
D | FontFamily.h | 37 FontFamily(FamilyVariant variant, std::vector<std::shared_ptr<Font>>&& fonts); 38 FontFamily(uint32_t localeListId, FamilyVariant variant, 66 FamilyVariant variant() const { return mVariant; } in variant() function 93 FontFamily(uint32_t localeListId, FamilyVariant variant,
|
/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/libs/androidfw/ |
D | Locale.cpp | 58 safe_transform_copy(variant_chars, variant, [](size_t, char c) { return c; }); in set_variant() 232 static_assert(sizeof(ResTable_config::localeVariant) == sizeof(LocaleValue::variant)); 242 memcpy(variant, config.localeVariant, sizeof(config.localeVariant)); in InitFromResTable() 254 if (variant[0]) { in WriteTo() 255 memcpy(out->localeVariant, variant, sizeof(out->localeVariant)); in WriteTo()
|
/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/base/graphics/java/android/graphics/fonts/ |
D | FontFamily.java | 121 public @NonNull FontFamily build(@NonNull String langTags, int variant, in build() argument 127 final long ptr = nBuild(builderPtr, langTags, variant, isCustomFallback); in build() 140 private static native long nBuild(long builderPtr, String langTags, int variant, in nBuild() argument
|
D | SystemFonts.java | 99 final int variant = xmlFamily.getVariant(); in pushFamilyToFallback() local 121 xmlFamily.getName(), defaultFonts, languageTags, variant, cache); in pushFamilyToFallback() 136 xmlFamily.getName(), fallback, languageTags, variant, cache); in pushFamilyToFallback() 151 @FontConfig.FontFamily.Variant int variant, in createFontFamily() argument 191 return b == null ? null : b.build(languageTags, variant, false /* isCustomFallback */); in createFontFamily()
|
/frameworks/base/libs/hwui/jni/fonts/ |
D | FontFamily.cpp | 60 jstring langTags, jint variant, jboolean isCustomFallback) { in FontFamily_Builder_build() argument 70 localeId, static_cast<minikin::FamilyVariant>(variant), std::move(builder->fonts), in FontFamily_Builder_build() 100 return static_cast<jint>(family->family->variant()); in FontFamily_getVariant()
|
/frameworks/av/media/libmediaplayerservice/ |
D | DeathRecipient.h | 29 using Service = std::variant< 33 DeathNotifier(std::variant<sp<IBinder> const&,
|
/frameworks/base/cmds/idmap2/include/idmap2/ |
D | ResourceMapping.h | 36 using TargetResourceMap = std::map<ResourceId, std::variant<ResourceId, TargetValue>>; 72 const std::variant<OverlayData::ResourceIdValue, TargetValue>& value);
|
/frameworks/base/tools/fonts/ |
D | fontchain_linter.py | 219 def __init__(self, name, psName, scripts, variant, weight, style, fallback_for, font): argument 223 self.variant = variant 244 variant = family.get('variant') 249 assert variant is None, ( 256 assert variant in {None, 'elegant', 'compact'}, ( 257 'Unexpected value for variant: %s' % variant) 262 variant = family.get('variant') 310 variant, 710 if record.variant == 'compact': 712 if x.scripts == record.scripts and x.variant == 'elegant']
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | Locale.h | 35 char variant[8]; member 78 void set_variant(const char* variant);
|
/frameworks/base/graphics/java/android/graphics/ |
D | FontFamily.java | 85 public FontFamily(@Nullable String[] langs, int variant) { in FontFamily() argument 94 mBuilderPtr = nInitBuilder(langsString, variant); in FontFamily() 208 private static native long nInitBuilder(String langs, int variant); in nInitBuilder() argument
|
/frameworks/native/libs/vr/libdisplay/ |
D | display_client.cpp | 83 const auto* variant = &attribute.second; in SetAttributes() local 88 !IfAnyOf<int32_t, int64_t, bool>::Get(variant, &visible_); in SetAttributes() 91 invalid_value = !IfAnyOf<int32_t>::Get(variant, &z_order_); in SetAttributes() 99 key, variant->index()); in SetAttributes()
|