Home
last modified time | relevance | path

Searched refs:vsIndex (Results 1 – 3 of 3) sorted by relevance

/frameworks/minikin/libs/minikin/
DFontFamily.cpp195 const uint16_t vsIndex = getVsIndex(variationSelector); in hasGlyph() local
197 if (vsIndex >= mCmapFmt14Coverage.size()) { in hasGlyph()
203 const std::unique_ptr<SparseBitSet>& bitset = mCmapFmt14Coverage[vsIndex]; in hasGlyph()
DCmapCoverage.cpp422 const uint16_t vsIndex = getVsIndex(vsCodePoint); in getCoverageFormat14() local
423 if (vsIndex == INVALID_VS_INDEX) { in getCoverageFormat14()
431 if (out->size() < vsIndex + 1) { in getCoverageFormat14()
432 out->resize(vsIndex + 1); in getCoverageFormat14()
434 (*out)[vsIndex].reset(new SparseBitSet(ranges.data(), ranges.size() >> 1)); in getCoverageFormat14()
/frameworks/minikin/tests/unittest/
DCmapCoverageTest.cpp1130 const uint16_t vsIndex = getVsIndex(0xFE0F); in TEST() local
1131 ASSERT_LT(vsIndex, vsTables.size()); in TEST()
1132 ASSERT_TRUE(vsTables[vsIndex]); in TEST()
1137 EXPECT_EQ(coverage.get(c), vsTables[vsIndex]->get(c)) << c; in TEST()
1154 const uint16_t vsIndex = getVsIndex(0xFE0F); in TEST() local
1155 ASSERT_LT(vsIndex, vsTables.size()); in TEST()
1156 ASSERT_TRUE(vsTables[vsIndex]); in TEST()
1157 EXPECT_TRUE(vsTables[vsIndex]->get('a')); in TEST()