Searched refs:baseFont (Results 1 – 8 of 8) sorted by relevance
/frameworks/minikin/tests/unittest/ |
D | FontTest.cpp | 48 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/ |
D | TextInterpolator.kt | 68 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/ |
D | Font.h | 164 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/ |
D | FontFamilyTest.cpp | 43 hb_font_t* hbFont = family->getFont(0)->baseFont().get(); in TEST_P()
|
/frameworks/minikin/libs/minikin/ |
D | Font.cpp | 176 const HbFontUniquePtr& Font::baseFont() const { in baseFont() function in minikin::Font 254 HbBlob fvarTable(baseFont(), MakeTag('f', 'v', 'a', 'r')); in calculateSupportedAxes()
|
D | FontFamily.cpp | 340 HbBlob cmapTable(font->baseFont(), MakeTag('c', 'm', 'a', 'p')); in computeCoverage()
|
D | FontCollection.cpp | 872 const HbFontUniquePtr& font = family->getFont(0)->baseFont(); in getBestFont()
|
/frameworks/base/libs/hwui/jni/ |
D | Paint.cpp | 612 minikin::FakedFont baseFont = typeface->fFontCollection->baseFontFaked(typeface->fStyle); in getMetricsInternal() local 615 MinikinFontSkia::populateSkFont(font, baseFont.typeface().get(), baseFont.fakery); in getMetricsInternal()
|