Home
last modified time | relevance | path

Searched refs:MinikinFont (Results 1 – 18 of 18) sorted by relevance

/frameworks/minikin/include/minikin/
DFont.h67 Builder(const std::shared_ptr<MinikinFont>& typeface) : mTypeface(typeface) {} in Builder()
94 std::shared_ptr<MinikinFont> mTypeface;
112 inline const std::shared_ptr<MinikinFont>& typeface() const { return mTypeface; } in typeface()
120 Font(std::shared_ptr<MinikinFont>&& typeface, FontStyle style, HbFontUniquePtr&& baseFont) in Font()
123 static HbFontUniquePtr prepareFont(const std::shared_ptr<MinikinFont>& typeface);
126 std::shared_ptr<MinikinFont> mTypeface;
DMinikinFont.h35 class MinikinFont {
37 explicit MinikinFont(int32_t uniqueId) : mUniqueId(uniqueId) {} in MinikinFont() function
39 virtual ~MinikinFont() {} in ~MinikinFont()
69 virtual std::shared_ptr<MinikinFont> createFontWithVariation( in createFontWithVariation()
DLayout.h87 const MinikinFont* getFont(int i) const { return mGlyphs[i].font.font->typeface().get(); } in getFont()
/frameworks/minikin/tests/unittest/
DFontCollectionTest.cpp140 std::vector<FontVariation> variations = {{MinikinFont::MakeTag('w', 'd', 't', 'h'), 1.0f}}; in TEST()
150 std::vector<FontVariation> variations = {{MinikinFont::MakeTag('w', 'd', 't', 'h'), 1.0f}, in TEST()
151 {MinikinFont::MakeTag('w', 'g', 'h', 't'), 1.0f}}; in TEST()
161 std::vector<FontVariation> variations = {{MinikinFont::MakeTag('Z', 'Z', 'Z', 'Z'), 1.0f}}; in TEST()
167 std::vector<FontVariation> variations = {{MinikinFont::MakeTag('w', 'd', 't', 'h'), 1.0f}, in TEST()
168 {MinikinFont::MakeTag('Z', 'Z', 'Z', 'Z'), 1.0f}}; in TEST()
DFontFamilyTest.cpp586 std::vector<FontVariation> variations = {{MinikinFont::MakeTag('w', 'd', 't', 'h'), 1.0f}}; in TEST_F()
595 std::vector<FontVariation> variations = {{MinikinFont::MakeTag('w', 'd', 't', 'h'), 1.0f}, in TEST_F()
596 {MinikinFont::MakeTag('w', 'g', 'h', 't'), 1.0f}}; in TEST_F()
605 std::vector<FontVariation> variations = {{MinikinFont::MakeTag('Z', 'Z', 'Z', 'Z'), 1.0f}}; in TEST_F()
611 std::vector<FontVariation> variations = {{MinikinFont::MakeTag('w', 'd', 't', 'h'), 1.0f}, in TEST_F()
612 {MinikinFont::MakeTag('Z', 'Z', 'Z', 'Z'), 1.0f}}; in TEST_F()
730 std::vector<std::shared_ptr<MinikinFont>> dummyFonts; in TEST_F()
733 std::shared_ptr<MinikinFont> dummyFont( in TEST_F()
DFontCollectionItemizeTest.cpp939 std::unordered_map<MinikinFont*, int> fontLocaleIdxMap; in TEST()
/frameworks/base/libs/hwui/hwui/
DMinikinSkia.h29 class ANDROID_API MinikinFontSkia : public minikin::MinikinFont {
59 std::shared_ptr<minikin::MinikinFont> createFontWithVariation(
66 static void populateSkFont(SkFont*, const minikin::MinikinFont* font,
DMinikinSkia.cpp36 : minikin::MinikinFont(typeface->uniqueID()) in MinikinFontSkia()
44 static void MinikinFontSkia_SetSkiaFont(const minikin::MinikinFont* font, SkFont* skFont, in MinikinFontSkia_SetSkiaFont()
126 std::shared_ptr<minikin::MinikinFont> MinikinFontSkia::createFontWithVariation( in createFontWithVariation()
173 void MinikinFontSkia::populateSkFont(SkFont* skFont, const MinikinFont* font, in populateSkFont()
DMinikinUtils.h68 const minikin::MinikinFont* curFont = nullptr; in forFontRun()
72 const minikin::MinikinFont* nextFont = layout.getFont(i); in forFontRun()
DTypeface.cpp135 const minikin::MinikinFont* mf = in createFromFamilies()
185 std::shared_ptr<minikin::MinikinFont> font = std::make_shared<MinikinFontSkia>( in setRobotoTypefaceForTest()
/frameworks/minikin/libs/minikin/
DFontFamily.cpp58 HbFontUniquePtr Font::prepareFont(const std::shared_ptr<MinikinFont>& typeface) { in prepareFont()
83 HbBlob os2Table(font, MinikinFont::MakeTag('O', 'S', '/', '2')); in analyzeStyle()
98 HbBlob fvarTable(mBaseFont, MinikinFont::MakeTag('f', 'v', 'a', 'r')); in getSupportedAxes()
162 HbBlob cmapTable(font->baseFont(), MinikinFont::MakeTag('c', 'm', 'a', 'p')); in computeCoverage()
231 std::shared_ptr<MinikinFont> minikinFont; in createFamilyWithVariation()
DLayoutCore.cpp50 const MinikinFont* font;
/frameworks/minikin/tests/util/
DFontTestUtils.cpp95 std::shared_ptr<MinikinFont> minikinFont = in getFontFamilies()
99 std::shared_ptr<MinikinFont> minikinFont = in getFontFamilies()
DFreeTypeMinikinFontForTest.h31 class FreeTypeMinikinFontForTest : public MinikinFont {
DFreeTypeMinikinFontForTest.cpp65 : MinikinFont(uniqueId++), mFontPath(font_path), mFontIndex(index) { in FreeTypeMinikinFontForTest()
/frameworks/base/core/jni/android/graphics/fonts/
DFont.cpp174 std::shared_ptr<minikin::MinikinFont> minikinFont = in Font_Builder_build()
/frameworks/base/core/jni/android/graphics/
DFontFamily.cpp132 std::shared_ptr<minikin::MinikinFont> minikinFont = in addSkTypeface()
/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp57 std::shared_ptr<minikin::MinikinFont> font = in buildFamily()