Home
last modified time | relevance | path

Searched refs:resolveDefault (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/libs/hwui/hwui/
DTypeface.cpp66 const Typeface* Typeface::resolveDefault(const Typeface* src) { in resolveDefault() function in android::Typeface
72 const Typeface* resolvedFace = Typeface::resolveDefault(src); in createRelative()
84 const Typeface* resolvedFace = Typeface::resolveDefault(base); in createAbsolute()
97 const Typeface* resolvedFace = Typeface::resolveDefault(src); in createFromTypefaceWithVariation()
117 const Typeface* resolvedFace = Typeface::resolveDefault(src); in createWithDifferentBaseWeight()
DTypeface.h47 static const Typeface* resolveDefault(const Typeface* src);
DMinikinUtils.cpp36 const Typeface* resolvedFace = Typeface::resolveDefault(typeface); in prepareMinikinPaint()
127 const Typeface* resolvedFace = Typeface::resolveDefault(typeface); in hasVariationSelector()
/frameworks/base/libs/hwui/tests/common/
DTestUtils.cpp186 … Typeface::resolveDefault(nullptr)->fFontCollection->getFamilyAt(0)->getFont(0)->baseTypeface(); in defaultFont()
/frameworks/base/libs/hwui/jni/text/
DMeasuredText.cpp68 const Typeface* typeface = Typeface::resolveDefault(paint->getAndroidTypeface()); in nAddStyleRun()
/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp79 EXPECT_EQ(regular.get(), Typeface::resolveDefault(regular.get())); in TEST()
82 const Typeface* old = Typeface::resolveDefault(nullptr); in TEST()
86 EXPECT_EQ(regular.get(), Typeface::resolveDefault(nullptr)); in TEST()
/frameworks/base/libs/hwui/jni/
DPaint.cpp611 typeface = Typeface::resolveDefault(typeface); in getMetricsInternal()
1120 const Typeface* leftTypeface = Typeface::resolveDefault(leftPaint->getAndroidTypeface()); in equalsForTextMeasurement()
1121 const Typeface* rightTypeface = Typeface::resolveDefault(rightPaint->getAndroidTypeface()); in equalsForTextMeasurement()