/frameworks/minikin/include/minikin/ |
D | FontFamily.h | 33 class MinikinFont; variable 62 Builder(const std::shared_ptr<MinikinFont>& typeface) : mTypeface(typeface) {} in Builder() 89 std::shared_ptr<MinikinFont> mTypeface; 99 inline const std::shared_ptr<MinikinFont>& typeface() const { return mTypeface; } in typeface() 107 Font(std::shared_ptr<MinikinFont>&& typeface, FontStyle style, HbFontUniquePtr&& baseFont) in Font() 110 static HbFontUniquePtr prepareFont(const std::shared_ptr<MinikinFont>& typeface); 113 std::shared_ptr<MinikinFont> mTypeface;
|
D | MinikinFont.h | 31 class MinikinFont; variable 124 class MinikinFont { 126 explicit MinikinFont(int32_t uniqueId) : mUniqueId(uniqueId) {} in MinikinFont() function 128 virtual ~MinikinFont() {} in ~MinikinFont() 151 virtual std::shared_ptr<MinikinFont> createFontWithVariation( in createFontWithVariation()
|
D | Layout.h | 110 const MinikinFont* getFont(int i) const;
|
/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 | 574 std::vector<FontVariation> variations = {{MinikinFont::MakeTag('w', 'd', 't', 'h'), 1.0f}}; in TEST_F() 583 std::vector<FontVariation> variations = {{MinikinFont::MakeTag('w', 'd', 't', 'h'), 1.0f}, in TEST_F() 584 {MinikinFont::MakeTag('w', 'g', 'h', 't'), 1.0f}}; in TEST_F() 593 std::vector<FontVariation> variations = {{MinikinFont::MakeTag('Z', 'Z', 'Z', 'Z'), 1.0f}}; in TEST_F() 599 std::vector<FontVariation> variations = {{MinikinFont::MakeTag('w', 'd', 't', 'h'), 1.0f}, in TEST_F() 600 {MinikinFont::MakeTag('Z', 'Z', 'Z', 'Z'), 1.0f}}; in TEST_F() 718 std::vector<std::shared_ptr<MinikinFont>> dummyFonts; in TEST_F() 721 std::shared_ptr<MinikinFont> dummyFont( in TEST_F()
|
D | FontCollectionItemizeTest.cpp | 937 std::unordered_map<MinikinFont*, int> fontLocaleIdxMap; in TEST()
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinSkia.h | 29 class ANDROID_API MinikinFontSkia : public minikin::MinikinFont { 52 std::shared_ptr<minikin::MinikinFont> createFontWithVariation( 59 static void populateSkPaint(SkPaint* paint, const minikin::MinikinFont* font,
|
D | MinikinSkia.cpp | 29 : minikin::MinikinFont(typeface->uniqueID()) in MinikinFontSkia() 36 static void MinikinFontSkia_SetSkiaPaint(const minikin::MinikinFont* font, SkPaint* skPaint, in MinikinFontSkia_SetSkiaPaint() 111 std::shared_ptr<minikin::MinikinFont> MinikinFontSkia::createFontWithVariation( in createFontWithVariation() 151 void MinikinFontSkia::populateSkPaint(SkPaint* paint, const MinikinFont* font, in populateSkPaint()
|
D | MinikinUtils.h | 67 const minikin::MinikinFont* curFont = nullptr; in forFontRun() 71 const minikin::MinikinFont* nextFont = layout.getFont(i); in forFontRun()
|
D | Typeface.cpp | 135 const minikin::MinikinFont* mf = families.empty() ? nullptr in createFromFamilies() 183 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() 159 HbBlob cmapTable(font->baseFont(), MinikinFont::MakeTag('c', 'm', 'a', 'p')); in computeCoverage() 228 std::shared_ptr<MinikinFont> minikinFont; in createFamilyWithVariation()
|
D | Layout.cpp | 51 const MinikinFont* font; 800 const MinikinFont* Layout::getFont(int i) const { in getFont()
|
/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 | 29 class FreeTypeMinikinFontForTest : public MinikinFont {
|
D | FreeTypeMinikinFontForTest.cpp | 62 : MinikinFont(uniqueId++), mFontPath(font_path), mFontIndex(index) { in FreeTypeMinikinFontForTest()
|
/frameworks/base/core/jni/android/graphics/ |
D | FontFamily.cpp | 131 std::shared_ptr<minikin::MinikinFont> minikinFont = in addSkTypeface()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | TypefaceTests.cpp | 57 std::shared_ptr<minikin::MinikinFont> font = std::make_shared<MinikinFontSkia>( in buildFamily()
|