Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DCmapCoverage.cpp408 const uint16_t vsIndex = getVsIndex(vsCodePoint); in getCoverageFormat14() local
409 if (vsIndex == INVALID_VS_INDEX) { in getCoverageFormat14()
417 if (out->size() < vsIndex + 1) { in getCoverageFormat14()
418 out->resize(vsIndex + 1); in getCoverageFormat14()
420 (*out)[vsIndex].reset(new SparseBitSet(ranges.data(), ranges.size() >> 1)); in getCoverageFormat14()
DFontFamily.cpp185 const uint16_t vsIndex = getVsIndex(variationSelector); in hasGlyph() local
187 if (vsIndex >= mCmapFmt14Coverage.size()) { in hasGlyph()
193 const std::unique_ptr<SparseBitSet>& bitset = mCmapFmt14Coverage[vsIndex]; in hasGlyph()
/frameworks/minikin/tests/unittest/
DCmapCoverageTest.cpp1188 const uint16_t vsIndex = getVsIndex(0xFE0F); in TEST() local
1189 ASSERT_LT(vsIndex, vsTables.size()); in TEST()
1190 ASSERT_TRUE(vsTables[vsIndex]); in TEST()
1195 EXPECT_EQ(coverage.get(c), vsTables[vsIndex]->get(c)) << c; in TEST()
1211 const uint16_t vsIndex = getVsIndex(0xFE0F); in TEST() local
1212 ASSERT_LT(vsIndex, vsTables.size()); in TEST()
1213 ASSERT_TRUE(vsTables[vsIndex]); in TEST()
1214 EXPECT_TRUE(vsTables[vsIndex]->get('a')); in TEST()