Home
last modified time | relevance | path

Searched refs:familyVariant (Results 1 – 12 of 12) sorted by relevance

/frameworks/minikin/include/minikin/
DMinikinPaint.h59 familyVariant(FamilyVariant::DEFAULT), in MinikinPaint()
73 FamilyVariant familyVariant; member
91 fontStyle == paint.fontStyle && familyVariant == paint.familyVariant &&
105 .update(static_cast<uint8_t>(familyVariant)) in hash()
DFontCollection.h162 FamilyVariant familyVariant, uint32_t runMax) const;
166 FamilyVariant familyVariant) const { in itemize() argument
167 return itemize(text, style, localeListId, familyVariant, text.size()); in itemize()
DLayoutCache.h53 mFamilyVariant(paint.familyVariant), in LayoutCacheKey()
/frameworks/base/libs/hwui/hwui/
DMinikinUtils.cpp52 const std::optional<minikin::FamilyVariant>& familyVariant = paint->getFamilyVariant(); in prepareMinikinPaint() local
53 if (familyVariant.has_value()) { in prepareMinikinPaint()
54 minikinPaint.familyVariant = familyVariant.value(); in prepareMinikinPaint()
56 minikinPaint.familyVariant = text_feature::deprecate_ui_fonts() in prepareMinikinPaint()
/frameworks/minikin/libs/minikin/
DFontCollection.cpp446 const FamilyVariant familyVariant = fontFamily.variant(); in calcVariantMatchingScore() local
447 if (familyVariant == FamilyVariant::DEFAULT) { in calcVariantMatchingScore()
450 if (familyVariant == variant) { in calcVariantMatchingScore()
453 if (variant == FamilyVariant::DEFAULT && familyVariant == FamilyVariant::COMPACT) { in calcVariantMatchingScore()
668 const FamilyVariant requestVariant = paint.familyVariant == FamilyVariant::DEFAULT in getReferenceExtentForLocale()
670 : paint.familyVariant; in getReferenceExtentForLocale()
675 const FamilyVariant familyVariant = family.variant() == FamilyVariant::DEFAULT in getReferenceExtentForLocale() local
679 if (familyVariant != requestVariant) { in getReferenceExtentForLocale()
714 FamilyVariant familyVariant, in itemize() argument
772 ch, isVariationSelector(nextCh) ? nextCh : 0, localeListId, familyVariant); in itemize()
DDebug.cpp115 << ", fontStyle=" << paint.fontStyle << ", familyVariant=" << paint.familyVariant in toString()
DLayoutCore.cpp297 paint.font->itemize(substr, paint.fontStyle, paint.localeListId, paint.familyVariant); in LayoutPiece()
/frameworks/native/include/android/
Dfont_matcher.h193 uint32_t familyVariant) __INTRODUCED_IN(29);
/frameworks/minikin/tests/perftests/
DFontCollection.cpp98 paint.localeListId, paint.familyVariant); in BM_FontCollection_itemize()
/frameworks/minikin/tests/unittest/
DLayoutCacheTest.cpp236 paint1.familyVariant = FamilyVariant::DEFAULT; in TEST()
240 paint2.familyVariant = FamilyVariant::COMPACT; in TEST()
/frameworks/base/native/android/
Dsystem_fonts.cpp301 void AFontMatcher_setFamilyVariant(AFontMatcher* _Nonnull matcher, uint32_t familyVariant) { in AFontMatcher_setFamilyVariant() argument
302 matcher->mFamilyVariant = familyVariant; in AFontMatcher_setFamilyVariant()
/frameworks/base/libs/hwui/jni/
DPaint.cpp952 const std::optional<minikin::FamilyVariant>& familyVariant = obj->getFamilyVariant(); in getElegantTextHeight() local
953 if (familyVariant.has_value()) { in getElegantTextHeight()
954 if (familyVariant.value() == minikin::FamilyVariant::ELEGANT) { in getElegantTextHeight()