Home
last modified time | relevance | path

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

/frameworks/minikin/include/minikin/
DFontVariation.h26 struct FontVariation { struct
27 FontVariation() = default;
28 FontVariation(AxisTag axisTag, float value) : axisTag(axisTag), value(value) {} in FontVariation() function
DMinikinFont.h72 virtual const std::vector<minikin::FontVariation>& GetAxes() const = 0;
75 const std::vector<FontVariation>&) const { in createFontWithVariation() argument
DFontFamily.h90 const std::vector<FontVariation>& variations) const;
DFontCollection.h192 const std::vector<FontVariation>& variations);
/frameworks/base/libs/hwui/hwui/
DMinikinSkia.h35 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;
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.h78 Typeface* src, const std::vector<minikin::FontVariation>& variations);
DTypeface.cpp95 Typeface* src, const std::vector<minikin::FontVariation>& variations) { in createFromTypefaceWithVariation()
190 0, std::vector<minikin::FontVariation>()); in setRobotoTypefaceForTest()
/frameworks/minikin/tests/util/
DFreeTypeMinikinFontForTest.h52 const std::vector<minikin::FontVariation>& GetAxes() const { return mAxes; } in GetAxes()
59 std::vector<minikin::FontVariation> mAxes;
/frameworks/minikin/tests/unittest/
DFontCollectionTest.cpp137 multiAxisFc->createCollectionWithVariation(std::vector<FontVariation>())); in TEST()
138 EXPECT_EQ(nullptr, noAxisFc->createCollectionWithVariation(std::vector<FontVariation>())); in TEST()
142 std::vector<FontVariation> variations = {{MinikinFont::MakeTag('w', 'd', 't', 'h'), 1.0f}}; in TEST()
152 std::vector<FontVariation> variations = {{MinikinFont::MakeTag('w', 'd', 't', 'h'), 1.0f}, in TEST()
163 std::vector<FontVariation> variations = {{MinikinFont::MakeTag('Z', 'Z', 'Z', 'Z'), 1.0f}}; in TEST()
169 std::vector<FontVariation> variations = {{MinikinFont::MakeTag('w', 'd', 't', 'h'), 1.0f}, in TEST()
DFontFamilyTest.cpp619 multiAxisFamily->createFamilyWithVariation(std::vector<FontVariation>())); in TEST_F()
620 EXPECT_EQ(nullptr, noAxisFamily->createFamilyWithVariation(std::vector<FontVariation>())); in TEST_F()
624 std::vector<FontVariation> variations = {{MinikinFont::MakeTag('w', 'd', 't', 'h'), 1.0f}}; in TEST_F()
633 std::vector<FontVariation> variations = {{MinikinFont::MakeTag('w', 'd', 't', 'h'), 1.0f}, in TEST_F()
643 std::vector<FontVariation> variations = {{MinikinFont::MakeTag('Z', 'Z', 'Z', 'Z'), 1.0f}}; in TEST_F()
649 std::vector<FontVariation> variations = {{MinikinFont::MakeTag('w', 'd', 't', 'h'), 1.0f}, in TEST_F()
/frameworks/base/libs/hwui/jni/
DTypeface.cpp70 std::vector<minikin::FontVariation> variations; in Typeface_createFromTypefaceWithVariation()
78 variations.push_back(minikin::FontVariation(axis.getTag(), axis.getStyleValue())); in Typeface_createFromTypefaceWithVariation()
213 reader->skipArray<minikin::FontVariation>(); // axesPtr, axesCount in readMinikinFontSkia()
227 const minikin::FontVariation* axesPtr; in loadMinikinFontSkia()
229 std::tie(axesPtr, axesCount) = reader.readArray<minikin::FontVariation>(); in loadMinikinFontSkia()
261 std::vector<minikin::FontVariation> axes(axesPtr, axesPtr + axesCount); in loadMinikinFontSkia()
279 const std::vector<minikin::FontVariation>& axes = typeface->GetAxes(); in writeMinikinFontSkia()
280 writer->writeArray<minikin::FontVariation>(axes.data(), axes.size()); in writeMinikinFontSkia()
DFontFamily.cpp53 std::vector<minikin::FontVariation> axes;
/frameworks/base/libs/hwui/jni/fonts/
DFont.h34 int ttcIndex, const std::vector<minikin::FontVariation>& axes);
DFont.cpp46 std::vector<minikin::FontVariation> axes;
286 return reader.readArray<minikin::FontVariation>().second; in Font_getAxisCount()
297 minikin::FontVariation var; in Font_getAxisInfo()
301 var = reader.readArray<minikin::FontVariation>().first[index]; in Font_getAxisInfo()
449 int ttcIndex, const std::vector<minikin::FontVariation>& axes) { in createMinikinFontSkia()
/frameworks/minikin/libs/minikin/
DFontFamily.cpp211 const std::vector<FontVariation>& variations) const { in createFamilyWithVariation()
217 for (const FontVariation& variation : variations) { in createFamilyWithVariation()
233 for (const FontVariation& variation : variations) { in createFamilyWithVariation()
DFont.cpp92 for (const FontVariation& variation : typeface->GetAxes()) { in prepareFont()
DFontCollection.cpp654 const std::vector<FontVariation>& variations) { in createCollectionWithVariation()
660 for (const FontVariation& variation : variations) { in createCollectionWithVariation()
/frameworks/base/native/android/
Dsystem_fonts.cpp342 const std::vector<minikin::FontVariation>& axes = minikinFontSkia->GetAxes(); in AFontMatcher_match()
/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp61 std::vector<minikin::FontVariation>()); in buildFamily()