Home
last modified time | relevance | path

Searched refs:MakeTag (Results 1 – 8 of 8) sorted by relevance

/frameworks/minikin/tests/unittest/
DFontUtilsTest.cpp24 constexpr uint32_t MakeTag(char c1, char c2, char c3, char c4) { in MakeTag() function
84 Fvar(MakeTag('w', 'd', 't', 'h'), 0.0f, 1.0f, 2.0f), in TEST()
85 Fvar(MakeTag('w', 'g', 'h', 't'), 0.0f, 1.0f, 2.0f), in TEST()
91 EXPECT_EQ(1u, axes.count(MakeTag('w', 'd', 't', 'h'))); in TEST()
92 EXPECT_EQ(1u, axes.count(MakeTag('w', 'g', 'h', 't'))); in TEST()
93 EXPECT_EQ(0u, axes.count(MakeTag('s', 'l', 'n', 't'))); in TEST()
104 Fvar(MakeTag('w', 'd', 't', 'h'), 0.0f, 1.0f, 2.0f), in TEST()
105 Fvar(MakeTag('w', 'g', 'h', 't'), 0.0f, 1.0f, 2.0f), in TEST()
DFontCollectionTest.cpp142 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()
153 {MakeTag('w', 'g', 'h', 't'), 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()
170 {MakeTag('Z', 'Z', 'Z', 'Z'), 1.0f}}; in TEST()
245 EXPECT_EQ(MakeTag('w', 'd', 't', 'h'), copied[0]->getSupportedAxisAt(0)); in TEST()
246 EXPECT_EQ(MakeTag('w', 'g', 'h', 't'), copied[0]->getSupportedAxisAt(1)); in TEST()
DFontFamilyTest.cpp650 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()
659 {MakeTag('w', 'g', 'h', 't'), 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()
674 {MakeTag('Z', 'Z', 'Z', 'Z'), 1.0f}}; 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()
708 {MakeTag('w', 'g', 'h', 't'), 1.0f}}; in TEST_F()
717 std::vector<FontVariation> variations = {{MakeTag('Z', 'Z', 'Z', 'Z'), 1.0f}}; in TEST_F()
[all …]
DFontTest.cpp309 original, std::vector<FontVariation>{FontVariation(MakeTag('w', 'g', 'h', 't'), 0)}); in TEST()
312 EXPECT_EQ(MakeTag('w', 'g', 'h', 't'), overridden->baseTypeface()->GetAxes()[0].axisTag); in TEST()
/frameworks/minikin/include/minikin/
DConstants.h30 constexpr uint32_t MakeTag(char c1, char c2, char c3, char c4) { in MakeTag() function
35 const uint32_t TAG_wght = MakeTag('w', 'g', 'h', 't');
36 const uint32_t TAG_ital = MakeTag('i', 't', 'a', 'l');
/frameworks/minikin/libs/minikin/
DFontFileParser.cpp178 HbBlob headTable(mFace, MakeTag('h', 'e', 'a', 'd')); in getFontRevision()
214 HbBlob cffTable(mFace, MakeTag('C', 'F', 'F', ' ')); in isPostScriptType1Font()
215 HbBlob cff2Table(mFace, MakeTag('C', 'F', 'F', '2')); in isPostScriptType1Font()
DFont.cpp239 HbBlob os2Table(font, MakeTag('O', 'S', '/', '2')); in analyzeStyle()
254 HbBlob fvarTable(baseFont(), MakeTag('f', 'v', 'a', 'r')); in calculateSupportedAxes()
DFontFamily.cpp340 HbBlob cmapTable(font->baseFont(), MakeTag('c', 'm', 'a', 'p')); in computeCoverage()