Home
last modified time | relevance | path

Searched refs:minikinFont (Results 1 – 6 of 6) sorted by relevance

/frameworks/minikin/tests/unittest/
DFontTest.cpp27 auto minikinFont = std::make_shared<FreeTypeMinikinFontForTest>(getTestFontPath("Ascii.ttf")); in TEST() local
29 Font font = Font::Builder(minikinFont).build(); in TEST()
DFontCollectionItemizeTest.cpp942 auto minikinFont = in TEST() local
945 fonts.push_back(Font::Builder(minikinFont).build()); in TEST()
950 fontLocaleIdxMap.insert(std::make_pair(minikinFont.get(), i)); in TEST()
/frameworks/minikin/tests/util/
DFontTestUtils.cpp95 std::shared_ptr<MinikinFont> minikinFont = in getFontFamilies() local
97 fonts.push_back(Font::Builder(minikinFont).setStyle(style).build()); in getFontFamilies()
99 std::shared_ptr<MinikinFont> minikinFont = in getFontFamilies() local
102 fonts.push_back(Font::Builder(minikinFont).setStyle(style).build()); in getFontFamilies()
/frameworks/minikin/libs/minikin/
DFontFamily.cpp231 std::shared_ptr<MinikinFont> minikinFont; in createFamilyWithVariation() local
233 minikinFont = font.typeface()->createFontWithVariation(variations); in createFamilyWithVariation()
235 if (minikinFont == nullptr) { in createFamilyWithVariation()
236 minikinFont = font.typeface(); in createFamilyWithVariation()
238 fonts.push_back(Font::Builder(minikinFont).setStyle(font.style()).build()); in createFamilyWithVariation()
/frameworks/base/core/jni/android/graphics/fonts/
DFont.cpp174 std::shared_ptr<minikin::MinikinFont> minikinFont = in Font_Builder_build() local
178 minikin::Font font = minikin::Font::Builder(minikinFont).setWeight(weight) in Font_Builder_build()
/frameworks/base/core/jni/android/graphics/
DFontFamily.cpp132 std::shared_ptr<minikin::MinikinFont> minikinFont = in addSkTypeface() local
135 minikin::Font::Builder fontBuilder(minikinFont); in addSkTypeface()