Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DMinikinSkia.h32 int ttcIndex, const std::vector<minikin::FontVariation>& axes);
51 const std::vector<minikin::FontVariation>& GetAxes() const;
53 const std::vector<minikin::FontVariation>&) const;
70 std::vector<minikin::FontVariation> mAxes;
DMinikinSkia.cpp28 int ttcIndex, const std::vector<minikin::FontVariation>& axes) in MinikinFontSkia()
107 const std::vector<minikin::FontVariation>& MinikinFontSkia::GetAxes() const { in GetAxes()
112 const std::vector<minikin::FontVariation>& variations) const { in createFontWithVariation()
DTypeface.h75 Typeface* src, const std::vector<minikin::FontVariation>& variations);
DTypeface.cpp93 Typeface* src, const std::vector<minikin::FontVariation>& variations) { in createFromTypefaceWithVariation()
184 std::move(typeface), data, st.st_size, 0, std::vector<minikin::FontVariation>()); in setRobotoTypefaceForTest()
/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.cpp569 multiAxisFamily->createFamilyWithVariation(std::vector<FontVariation>())); in TEST_F()
570 EXPECT_EQ(nullptr, noAxisFamily->createFamilyWithVariation(std::vector<FontVariation>())); in TEST_F()
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()
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()
/frameworks/minikin/tests/util/
DFreeTypeMinikinFontForTest.h49 const std::vector<minikin::FontVariation>& GetAxes() const { return mAxes; } in GetAxes()
56 std::vector<minikin::FontVariation> mAxes;
/frameworks/minikin/include/minikin/
DFontFamily.h120 struct FontVariation { struct
121 FontVariation(AxisTag axisTag, float value) : axisTag(axisTag), value(value) {} in FontVariation() argument
164 const std::vector<FontVariation>& variations) const;
DMinikinFont.h149 virtual const std::vector<minikin::FontVariation>& GetAxes() const = 0;
152 const std::vector<FontVariation>&) const { in createFontWithVariation() argument
DFontCollection.h57 const std::vector<FontVariation>& variations);
/frameworks/minikin/libs/minikin/
DFontFamily.cpp74 for (const FontVariation& variation : typeface->GetAxes()) { in prepareFont()
199 const std::vector<FontVariation>& variations) const { in createFamilyWithVariation()
205 for (const FontVariation& variation : variations) { in createFamilyWithVariation()
221 for (const FontVariation& variation : variations) { in createFamilyWithVariation()
DFontCollection.cpp469 const std::vector<FontVariation>& variations) { in createCollectionWithVariation()
475 for (const FontVariation& variation : variations) { in createCollectionWithVariation()
/frameworks/base/core/jni/android/graphics/
DTypeface.cpp60 std::vector<minikin::FontVariation> variations; in Typeface_createFromTypefaceWithVariation()
68 variations.push_back(minikin::FontVariation(axis.getTag(), axis.getStyleValue())); in Typeface_createFromTypefaceWithVariation()
DFontFamily.cpp51 std::vector<minikin::FontVariation> axes;
/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp58 std::move(typeface), data, st.st_size, 0, std::vector<minikin::FontVariation>()); in buildFamily()