Home
last modified time | relevance | path

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

/frameworks/minikin/include/minikin/
DFontFamily.h87 const SparseBitSet& getCmap14Coverage(uint16_t vsIndex) const { in getCmap14Coverage() argument
89 return mParent->getCmap14Coverage(vsIndex); in getCmap14Coverage()
91 return mCmapFmt14Coverage[vsIndex]; in getCmap14Coverage()
/frameworks/minikin/libs/minikin/
DCmapCoverage.cpp407 const uint16_t vsIndex = getVsIndex(vsCodePoint); in getCoverageFormat14() local
408 if (vsIndex == INVALID_VS_INDEX) { in getCoverageFormat14()
416 if (out->size() < vsIndex + 1) { in getCoverageFormat14()
417 out->resize(vsIndex + 1); in getCoverageFormat14()
419 (*out)[vsIndex] = SparseBitSet(ranges.data(), ranges.size() >> 1); in getCoverageFormat14()
DFontFamily.cpp386 const uint16_t vsIndex = getVsIndex(variationSelector); in hasGlyph() local
388 if (vsIndex >= mCmapFmt14CoverageCount) { in hasGlyph()
394 const SparseBitSet& bitset = getCmap14Coverage(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_FALSE(vsTables[vsIndex].empty()); 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_FALSE(vsTables[vsIndex].empty()); in TEST()
1214 EXPECT_TRUE(vsTables[vsIndex].get('a')); in TEST()