Home
last modified time | relevance | path

Searched refs:FontFeature (Results 1 – 11 of 11) sorted by relevance

/frameworks/minikin/include/minikin/
DFontFeature.h31 struct FontFeature { struct
35 static std::vector<FontFeature> parse(std::string_view fontFeatureString); argument
52 inline std::ostream& operator<<(std::ostream& os, const FontFeature& feature) {
58 inline std::ostream& operator<<(std::ostream& os, const std::vector<FontFeature>& features) {
68 constexpr bool operator==(const FontFeature& l, const FontFeature& r) {
72 constexpr bool operator!=(const FontFeature& l, const FontFeature& r) {
DDebug.h29 struct FontFeature;
45 std::string toString(const FontFeature& feature);
46 std::string toString(const std::vector<FontFeature>& features);
DHasher.h60 inline Hasher& update(const std::vector<FontFeature>& features) { in update()
63 for (const FontFeature& feature : features) { in update()
69 inline Hasher& update(const FontFeature& feature) { in update()
DMinikinPaint.h74 std::vector<FontFeature> fontFeatureSettings;
DLayoutCache.h104 std::vector<FontFeature> mFontFeatureSettings;
/frameworks/minikin/tests/unittest/
DFontFeatureTest.cpp58 paint.fontFeatureSettings = FontFeature::parse("\"chws\" off"); in TEST_F()
70 paint.fontFeatureSettings = FontFeature::parse("\"ruby\" on"); in TEST_F()
100 paint.fontFeatureSettings = FontFeature::parse("\"halt\" on"); in TEST_F()
110 paint.fontFeatureSettings = FontFeature::parse("\"palt\" on"); in TEST_F()
121 paint.fontFeatureSettings = FontFeature::parse("\"halt\" on"); in TEST_F()
138 paint.fontFeatureSettings = FontFeature::parse("\"palt\" on"); in TEST_F()
163 paint.fontFeatureSettings = FontFeature::parse("\"palt\" on"); in TEST_F_WITH_FLAGS()
171 paint.fontFeatureSettings = FontFeature::parse("\"palt\" on"); in TEST_F_WITH_FLAGS()
DLayoutCacheTest.cpp249 paint1.fontFeatureSettings = FontFeature::parse(""); in TEST()
253 paint2.fontFeatureSettings = FontFeature::parse("'liga' on"); in TEST()
DLayoutCoreTest.cpp64 paint.fontFeatureSettings = FontFeature::parse(fontFeaturesSettings); in buildLayout()
/frameworks/minikin/libs/minikin/
DFontFeatureUtils.cpp23 std::vector<FontFeature> FontFeature::parse(std::string_view fontFeatureSettings) { in parse()
24 std::vector<FontFeature> features; in parse()
60 for (const FontFeature& feature : paint.fontFeatureSettings) { in cleanAndAddDefaultFontFeatures()
DDebug.cpp83 std::string toString(const FontFeature& feature) { in toString()
89 std::string toString(const std::vector<FontFeature>& features) { in toString()
/frameworks/base/libs/hwui/hwui/
DPaint.h87 mFontFeatureSettings = minikin::FontFeature::parse(fontFeatures); in setFontFeatureSettings()
92 const std::vector<minikin::FontFeature>& getFontFeatureSettings() const { in getFontFeatureSettings()
181 std::vector<minikin::FontFeature> mFontFeatureSettings;