Home
last modified time | relevance | path

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

/frameworks/minikin/tests/unittest/
DFontCollectionTest.cpp135 multiAxisFc->createCollectionWithVariation(std::vector<FontVariation>())); in TEST()
136 EXPECT_EQ(nullptr, noAxisFc->createCollectionWithVariation(std::vector<FontVariation>())); in TEST()
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()
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()
DFontFamilyTest.cpp581 multiAxisFamily->createFamilyWithVariation(std::vector<FontVariation>())); in TEST_F()
582 EXPECT_EQ(nullptr, noAxisFamily->createFamilyWithVariation(std::vector<FontVariation>())); in TEST_F()
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()
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()
/frameworks/base/libs/hwui/hwui/
DMinikinSkia.h35 const std::vector<minikin::FontVariation>& axes);
60 const std::vector<minikin::FontVariation>& GetAxes() const;
62 const std::vector<minikin::FontVariation>&) const;
79 std::vector<minikin::FontVariation> mAxes;
DMinikinSkia.cpp35 const std::vector<minikin::FontVariation>& axes) in MinikinFontSkia()
122 const std::vector<minikin::FontVariation>& MinikinFontSkia::GetAxes() const { in GetAxes()
127 const std::vector<minikin::FontVariation>& variations) const { in createFontWithVariation()
DTypeface.h75 Typeface* src, const std::vector<minikin::FontVariation>& variations);
DTypeface.cpp95 Typeface* src, const std::vector<minikin::FontVariation>& variations) { in createFromTypefaceWithVariation()
190 std::vector<minikin::FontVariation>()); in setRobotoTypefaceForTest()
/frameworks/minikin/include/minikin/
DFontVariation.h26 struct FontVariation { struct
27 FontVariation(AxisTag axisTag, float value) : axisTag(axisTag), value(value) {} in FontVariation() function
DMinikinFont.h67 virtual const std::vector<minikin::FontVariation>& GetAxes() const = 0;
70 const std::vector<FontVariation>&) const { in createFontWithVariation() argument
DFontFamily.h67 const std::vector<FontVariation>& variations) const;
DFontCollection.h65 const std::vector<FontVariation>& variations);
/frameworks/minikin/tests/util/
DFreeTypeMinikinFontForTest.h51 const std::vector<minikin::FontVariation>& GetAxes() const { return mAxes; } in GetAxes()
58 std::vector<minikin::FontVariation> mAxes;
/frameworks/minikin/libs/minikin/
DFontFamily.cpp74 for (const FontVariation& variation : typeface->GetAxes()) { in prepareFont()
202 const std::vector<FontVariation>& variations) const { in createFamilyWithVariation()
208 for (const FontVariation& variation : variations) { in createFamilyWithVariation()
224 for (const FontVariation& variation : variations) { in createFamilyWithVariation()
DFontCollection.cpp486 const std::vector<FontVariation>& variations) { in createCollectionWithVariation()
492 for (const FontVariation& variation : variations) { in createCollectionWithVariation()
/frameworks/base/libs/hwui/jni/
DTypeface.cpp57 std::vector<minikin::FontVariation> variations; in Typeface_createFromTypefaceWithVariation()
65 variations.push_back(minikin::FontVariation(axis.getTag(), axis.getStyleValue())); in Typeface_createFromTypefaceWithVariation()
DFontFamily.cpp46 std::vector<minikin::FontVariation> axes;
/frameworks/base/libs/hwui/jni/fonts/
DFont.cpp39 std::vector<minikin::FontVariation> axes;
/frameworks/base/native/android/
Dsystem_fonts.cpp275 const std::vector<minikin::FontVariation>& axes = minikinFontSkia->GetAxes(); in AFontMatcher_match()
/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp59 std::vector<minikin::FontVariation>()); in buildFamily()