/frameworks/minikin/include/minikin/ |
D | Font.h | 67 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;
|
D | MinikinFont.h | 35 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()
|
D | Layout.h | 87 const MinikinFont* getFont(int i) const { return mGlyphs[i].font.font->typeface().get(); } in getFont()
|
/frameworks/minikin/tests/unittest/ |
D | FontCollectionTest.cpp | 140 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()
|
D | FontFamilyTest.cpp | 586 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()
|
D | FontCollectionItemizeTest.cpp | 939 std::unordered_map<MinikinFont*, int> fontLocaleIdxMap; in TEST()
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinSkia.h | 29 class ANDROID_API MinikinFontSkia : public minikin::MinikinFont { 59 std::shared_ptr<minikin::MinikinFont> createFontWithVariation( 66 static void populateSkFont(SkFont*, const minikin::MinikinFont* font,
|
D | MinikinSkia.cpp | 36 : 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()
|
D | MinikinUtils.h | 68 const minikin::MinikinFont* curFont = nullptr; in forFontRun() 72 const minikin::MinikinFont* nextFont = layout.getFont(i); in forFontRun()
|
D | Typeface.cpp | 135 const minikin::MinikinFont* mf = in createFromFamilies() 185 std::shared_ptr<minikin::MinikinFont> font = std::make_shared<MinikinFontSkia>( in setRobotoTypefaceForTest()
|
/frameworks/minikin/libs/minikin/ |
D | FontFamily.cpp | 58 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()
|
D | LayoutCore.cpp | 50 const MinikinFont* font;
|
/frameworks/minikin/tests/util/ |
D | FontTestUtils.cpp | 95 std::shared_ptr<MinikinFont> minikinFont = in getFontFamilies() 99 std::shared_ptr<MinikinFont> minikinFont = in getFontFamilies()
|
D | FreeTypeMinikinFontForTest.h | 31 class FreeTypeMinikinFontForTest : public MinikinFont {
|
D | FreeTypeMinikinFontForTest.cpp | 65 : MinikinFont(uniqueId++), mFontPath(font_path), mFontIndex(index) { in FreeTypeMinikinFontForTest()
|
/frameworks/base/core/jni/android/graphics/fonts/ |
D | Font.cpp | 174 std::shared_ptr<minikin::MinikinFont> minikinFont = in Font_Builder_build()
|
/frameworks/base/core/jni/android/graphics/ |
D | FontFamily.cpp | 132 std::shared_ptr<minikin::MinikinFont> minikinFont = in addSkTypeface()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | TypefaceTests.cpp | 57 std::shared_ptr<minikin::MinikinFont> font = in buildFamily()
|