/frameworks/minikin/tests/util/ |
D | FreeTypeMinikinFontForTest.h | 37 const std::vector<FontVariation>& axes); 39 : FreeTypeMinikinFontForTest(font_path, index, std::vector<FontVariation>()) {} in FreeTypeMinikinFontForTest() 41 : FreeTypeMinikinFontForTest(font_path, 0, std::vector<FontVariation>()) {} in FreeTypeMinikinFontForTest() 56 const std::vector<minikin::FontVariation>& GetAxes() const { return mAxes; } in GetAxes() 57 std::shared_ptr<MinikinFont> createFontWithVariation(const std::vector<FontVariation>&) const; 64 std::vector<minikin::FontVariation> mAxes;
|
D | FreeTypeMinikinFontForTest.cpp | 63 const std::vector<FontVariation>& axes) in FreeTypeMinikinFontForTest() 140 const std::vector<FontVariation>& axes) const { in createFontWithVariation()
|
/frameworks/minikin/include/minikin/ |
D | FontVariation.h | 26 struct FontVariation { struct 27 FontVariation() = default; 28 FontVariation(AxisTag axisTag, float value) : axisTag(axisTag), value(value) {} in FontVariation() argument
|
D | FontFamily.h | 52 const std::vector<FontVariation>& axesOverride); 107 const std::vector<FontVariation>& variations) const; 114 const std::vector<FontVariation>& axesOverride); 130 std::vector<FontVariation> mVarOverride;
|
D | MinikinFont.h | 72 virtual const std::vector<minikin::FontVariation>& GetAxes() const = 0; 75 const std::vector<FontVariation>&) const { in createFontWithVariation() argument
|
D | Font.h | 154 Font(const std::shared_ptr<Font>& parent, const std::vector<FontVariation>& axes); 212 std::vector<FontVariation> getAdjustedVariations(int wght, int ital) const;
|
D | FontCollection.h | 183 const std::vector<FontVariation>& variations);
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinSkia.h | 35 const std::vector<minikin::FontVariation>& axes); 62 const std::vector<minikin::FontVariation>& GetAxes() const; 64 const std::vector<minikin::FontVariation>&) const; 83 std::vector<minikin::FontVariation> mAxes;
|
D | MinikinSkia.cpp | 39 const std::vector<minikin::FontVariation>& axes) in MinikinFontSkia() 126 const std::vector<minikin::FontVariation>& MinikinFontSkia::GetAxes() const { in GetAxes() 131 const std::vector<minikin::FontVariation>& variations) const { in createFontWithVariation()
|
D | Typeface.h | 78 Typeface* src, const std::vector<minikin::FontVariation>& variations);
|
D | Typeface.cpp | 96 Typeface* src, const std::vector<minikin::FontVariation>& variations) { in createFromTypefaceWithVariation() 197 0, std::vector<minikin::FontVariation>()); in setRobotoTypefaceForTest()
|
/frameworks/minikin/tests/unittest/ |
D | FontCollectionTest.cpp | 137 multiAxisFc->createCollectionWithVariation(std::vector<FontVariation>())); in TEST() 138 EXPECT_EQ(nullptr, noAxisFc->createCollectionWithVariation(std::vector<FontVariation>())); in TEST() 142 std::vector<FontVariation> variations = {{MakeTag('w', 'd', 't', 'h'), 1.0f}}; in TEST() 152 std::vector<FontVariation> variations = {{MakeTag('w', 'd', 't', 'h'), 1.0f}, in TEST() 163 std::vector<FontVariation> variations = {{MakeTag('Z', 'Z', 'Z', 'Z'), 1.0f}}; in TEST() 169 std::vector<FontVariation> variations = {{MakeTag('w', 'd', 't', 'h'), 1.0f}, in TEST()
|
D | FontFamilyTest.cpp | 645 EXPECT_EQ(nullptr, FontFamily::create(multiAxisFamily, std::vector<FontVariation>())); in TEST_F() 646 EXPECT_EQ(nullptr, FontFamily::create(noAxisFamily, std::vector<FontVariation>())); in TEST_F() 650 std::vector<FontVariation> variations = {{MakeTag('w', 'd', 't', 'h'), 1.0f}}; in TEST_F() 658 std::vector<FontVariation> variations = {{MakeTag('w', 'd', 't', 'h'), 1.0f}, in TEST_F() 667 std::vector<FontVariation> variations = {{MakeTag('Z', 'Z', 'Z', 'Z'), 1.0f}}; in TEST_F() 673 std::vector<FontVariation> variations = {{MakeTag('w', 'd', 't', 'h'), 1.0f}, in TEST_F() 693 multiAxisFamily->createFamilyWithVariation(std::vector<FontVariation>())); in TEST_F() 694 EXPECT_EQ(nullptr, noAxisFamily->createFamilyWithVariation(std::vector<FontVariation>())); in TEST_F() 698 std::vector<FontVariation> variations = {{MakeTag('w', 'd', 't', 'h'), 1.0f}}; in TEST_F() 707 std::vector<FontVariation> variations = {{MakeTag('w', 'd', 't', 'h'), 1.0f}, in TEST_F() [all …]
|
D | FontTest.cpp | 309 original, std::vector<FontVariation>{FontVariation(MakeTag('w', 'g', 'h', 't'), 0)}); in TEST()
|
/frameworks/base/libs/hwui/jni/ |
D | Typeface.cpp | 73 std::vector<minikin::FontVariation> variations; in Typeface_createFromTypefaceWithVariation() 81 variations.push_back(minikin::FontVariation(axis.getTag(), axis.getStyleValue())); in Typeface_createFromTypefaceWithVariation() 210 reader->skipArray<minikin::FontVariation>(); // axesPtr, axesCount in skip() 224 const minikin::FontVariation* axesPtr; in create() 226 std::tie(axesPtr, axesCount) = reader.readArray<minikin::FontVariation>(); in create() 258 std::vector<minikin::FontVariation> axes(axesPtr, axesPtr + axesCount); in create() 276 const std::vector<minikin::FontVariation>& axes = typeface->GetAxes(); in write() 277 writer->writeArray<minikin::FontVariation>(axes.data(), axes.size()); in write()
|
D | FontFamily.cpp | 53 std::vector<minikin::FontVariation> axes;
|
/frameworks/minikin/libs/minikin/ |
D | Font.cpp | 98 Font::Font(const std::shared_ptr<Font>& parent, const std::vector<FontVariation>& axes) in Font() 230 for (const FontVariation& variation : typeface->GetAxes()) { in prepareFont() 286 for (const FontVariation& variation : mTypeface->GetAxes()) { in getAdjustedFont() 325 std::vector<FontVariation> variations; in getAdjustedTypeface() 327 for (const FontVariation& variation : mTypeface->GetAxes()) { in getAdjustedTypeface()
|
D | FontFamily.cpp | 69 const std::vector<FontVariation>& axes) { in create() 92 const std::vector<FontVariation>& axesOverride) in FontFamily() 403 const std::vector<FontVariation>& variations) const { in createFamilyWithVariation() 409 for (const FontVariation& variation : variations) { in createFamilyWithVariation() 426 for (const FontVariation& variation : variations) { in createFamilyWithVariation()
|
D | FontCollection.cpp | 891 const std::vector<FontVariation>& variations) { in createCollectionWithVariation() 897 for (const FontVariation& variation : variations) { in createCollectionWithVariation()
|
/frameworks/base/libs/hwui/jni/fonts/ |
D | Font.h | 34 int ttcIndex, const std::vector<minikin::FontVariation>& axes);
|
D | Font.cpp | 47 std::vector<minikin::FontVariation> axes; 288 return reader.readArray<minikin::FontVariation>().second; in Font_getAxisCount() 299 minikin::FontVariation var; in Font_getAxisInfo() 303 var = reader.readArray<minikin::FontVariation>().first[index]; in Font_getAxisInfo() 451 int ttcIndex, const std::vector<minikin::FontVariation>& axes) { in createMinikinFontSkia()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | UnderlineTest.cpp | 75 std::vector<minikin::FontVariation>()); in buildFamily()
|
D | TypefaceTests.cpp | 65 std::vector<minikin::FontVariation>()); in buildFamily()
|
/frameworks/base/native/android/ |
D | system_fonts.cpp | 330 const std::vector<minikin::FontVariation>& axes = minikinFontSkia->GetAxes(); in AFontMatcher_match()
|