Searched refs:familyVariant (Results 1 – 12 of 12) sorted by relevance
/frameworks/minikin/include/minikin/ |
D | MinikinPaint.h | 59 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()
|
D | FontCollection.h | 162 FamilyVariant familyVariant, uint32_t runMax) const; 166 FamilyVariant familyVariant) const { in itemize() argument 167 return itemize(text, style, localeListId, familyVariant, text.size()); in itemize()
|
D | LayoutCache.h | 53 mFamilyVariant(paint.familyVariant), in LayoutCacheKey()
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinUtils.cpp | 52 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/ |
D | FontCollection.cpp | 446 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()
|
D | Debug.cpp | 115 << ", fontStyle=" << paint.fontStyle << ", familyVariant=" << paint.familyVariant in toString()
|
D | LayoutCore.cpp | 297 paint.font->itemize(substr, paint.fontStyle, paint.localeListId, paint.familyVariant); in LayoutPiece()
|
/frameworks/native/include/android/ |
D | font_matcher.h | 193 uint32_t familyVariant) __INTRODUCED_IN(29);
|
/frameworks/minikin/tests/perftests/ |
D | FontCollection.cpp | 98 paint.localeListId, paint.familyVariant); in BM_FontCollection_itemize()
|
/frameworks/minikin/tests/unittest/ |
D | LayoutCacheTest.cpp | 236 paint1.familyVariant = FamilyVariant::DEFAULT; in TEST() 240 paint2.familyVariant = FamilyVariant::COMPACT; in TEST()
|
/frameworks/base/native/android/ |
D | system_fonts.cpp | 301 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/ |
D | Paint.cpp | 952 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()
|