Home
last modified time | relevance | path

Searched refs:baseFont (Results 1 – 8 of 8) sorted by relevance

/frameworks/minikin/tests/unittest/
DFontTest.cpp48 const auto& baseFont = font.baseFont(); in TEST() local
49 EXPECT_NE(nullptr, baseFont); in TEST()
50 EXPECT_EQ(baseFont, font.baseFont()); in TEST()
152 EXPECT_EQ(hbFont.get(), font->baseFont().get()); in TEST()
157 EXPECT_EQ(hb_font_get_parent(hbFont.get()), font->baseFont().get()); in TEST()
158 EXPECT_NE(hbFont.get(), font->baseFont().get()); in TEST()
169 EXPECT_EQ(hb_font_get_parent(hbFont.get()), newFont->baseFont().get()); in TEST()
170 EXPECT_NE(hbFont.get(), newFont->baseFont().get()); in TEST()
180 EXPECT_EQ(hb_font_get_parent(hbFont.get()), font->baseFont().get()); in TEST()
181 EXPECT_NE(hbFont.get(), font->baseFont().get()); in TEST()
[all …]
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DTextInterpolator.kt68 var baseFont: Font, in <lambda>() variable in FontRun
223 fontRun.baseFont = in <lambda>()
224 fontInterpolator.lerp(fontRun.baseFont, fontRun.targetFont, progress) in <lambda>()
225 val fvar = FontVariationAxis.toFontVariationSettings(fontRun.baseFont.axes) in <lambda>()
299 var baseFont = base.getFont(start) in <lambda>() variable
301 require(FontInterpolator.canInterpolate(baseFont, targetFont)) { in <lambda>()
302 "Cannot interpolate font at $start ($baseFont vs $targetFont)" in <lambda>()
309 if (baseFont !== nextBaseFont) { in <lambda>()
314 fontRun.add(FontRun(start, i, baseFont, targetFont)) in <lambda>()
316 baseFont = nextBaseFont in <lambda>()
[all …]
/frameworks/minikin/include/minikin/
DFont.h164 const HbFontUniquePtr& baseFont() const;
184 ExternalRefs(std::shared_ptr<MinikinFont>&& typeface, HbFontUniquePtr&& baseFont) in ExternalRefs() argument
185 : mTypeface(std::move(typeface)), mBaseFont(std::move(baseFont)) {} in ExternalRefs()
199 Font(std::shared_ptr<MinikinFont>&& typeface, FontStyle style, HbFontUniquePtr&& baseFont, in Font() argument
201 : mExternalRefsHolder(new ExternalRefs(std::move(typeface), std::move(baseFont))), in Font()
/frameworks/minikin/tests/stresstest/
DFontFamilyTest.cpp43 hb_font_t* hbFont = family->getFont(0)->baseFont().get(); in TEST_P()
/frameworks/minikin/libs/minikin/
DFont.cpp176 const HbFontUniquePtr& Font::baseFont() const { in baseFont() function in minikin::Font
254 HbBlob fvarTable(baseFont(), MakeTag('f', 'v', 'a', 'r')); in calculateSupportedAxes()
DFontFamily.cpp340 HbBlob cmapTable(font->baseFont(), MakeTag('c', 'm', 'a', 'p')); in computeCoverage()
DFontCollection.cpp872 const HbFontUniquePtr& font = family->getFont(0)->baseFont(); in getBestFont()
/frameworks/base/libs/hwui/jni/
DPaint.cpp612 minikin::FakedFont baseFont = typeface->fFontCollection->baseFontFaked(typeface->fStyle); in getMetricsInternal() local
615 MinikinFontSkia::populateSkFont(font, baseFont.typeface().get(), baseFont.fakery); in getMetricsInternal()