Home
last modified time | relevance | path

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

/frameworks/minikin/include/minikin/
DFontFamily.h33 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;
DMinikinFont.h31 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()
DLayout.h110 const MinikinFont* getFont(int i) const;
/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.cpp574 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()
DFontCollectionItemizeTest.cpp937 std::unordered_map<MinikinFont*, int> fontLocaleIdxMap; in TEST()
/frameworks/base/libs/hwui/hwui/
DMinikinSkia.h29 class ANDROID_API MinikinFontSkia : public minikin::MinikinFont {
52 std::shared_ptr<minikin::MinikinFont> createFontWithVariation(
59 static void populateSkPaint(SkPaint* paint, const minikin::MinikinFont* font,
DMinikinSkia.cpp29 : 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()
DMinikinUtils.h67 const minikin::MinikinFont* curFont = nullptr; in forFontRun()
71 const minikin::MinikinFont* nextFont = layout.getFont(i); in forFontRun()
DTypeface.cpp135 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/
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()
159 HbBlob cmapTable(font->baseFont(), MinikinFont::MakeTag('c', 'm', 'a', 'p')); in computeCoverage()
228 std::shared_ptr<MinikinFont> minikinFont; in createFamilyWithVariation()
DLayout.cpp51 const MinikinFont* font;
800 const MinikinFont* Layout::getFont(int i) const { in getFont()
/frameworks/minikin/tests/util/
DFontTestUtils.cpp95 std::shared_ptr<MinikinFont> minikinFont = in getFontFamilies()
99 std::shared_ptr<MinikinFont> minikinFont = in getFontFamilies()
DFreeTypeMinikinFontForTest.h29 class FreeTypeMinikinFontForTest : public MinikinFont {
DFreeTypeMinikinFontForTest.cpp62 : MinikinFont(uniqueId++), mFontPath(font_path), mFontIndex(index) { in FreeTypeMinikinFontForTest()
/frameworks/base/core/jni/android/graphics/
DFontFamily.cpp131 std::shared_ptr<minikin::MinikinFont> minikinFont = in addSkTypeface()
/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp57 std::shared_ptr<minikin::MinikinFont> font = std::make_shared<MinikinFontSkia>( in buildFamily()