Home
last modified time | relevance | path

Searched refs:encodingId (Results 1 – 2 of 2) sorted by relevance

/frameworks/minikin/libs/minikin/
DCmapCoverage.cpp258 uint8_t getTablePriority(uint16_t platformId, uint16_t encodingId) { in getTablePriority() argument
259 if (platformId == 3 && encodingId == 10) { in getTablePriority()
262 if (platformId == 0 && encodingId == 6) { in getTablePriority()
265 if (platformId == 0 && encodingId == 4) { in getTablePriority()
268 if (platformId == 3 && encodingId == 1) { in getTablePriority()
271 if (platformId == 0 && encodingId == 3) { in getTablePriority()
274 if (platformId == 0 && encodingId == 2) { in getTablePriority()
277 if (platformId == 0 && encodingId == 1) { in getTablePriority()
280 if (platformId == 0 && encodingId == 0) { in getTablePriority()
452 const uint16_t encodingId = readU16(cmap_data, tableHeadOffset + kEncodingIdOffset); in getCoverage() local
[all …]
/frameworks/minikin/tests/unittest/
DCmapCoverageTest.cpp244 void appendTable(uint16_t platformId, uint16_t encodingId, const std::vector<uint8_t>& table) { in appendTable() argument
245 appendEncodingTable(platformId, encodingId, out.size()); in appendTable()
255 static std::vector<uint8_t> buildSingleFormat4Cmap(uint16_t platformId, uint16_t encodingId, in buildSingleFormat4Cmap() argument
258 builder.appendTable(platformId, encodingId, buildCmapFormat4Table(ranges)); in buildSingleFormat4Cmap()
262 static std::vector<uint8_t> buildSingleFormat12Cmap(uint16_t platformId, uint16_t encodingId, in buildSingleFormat12Cmap() argument
265 builder.appendTable(platformId, encodingId, buildCmapFormat12Table(ranges)); in buildSingleFormat12Cmap()
270 void appendEncodingTable(uint16_t platformId, uint16_t encodingId, uint32_t offset) { in appendEncodingTable() argument
276 head = writeU16(encodingId, out.data(), head); in appendEncodingTable()
344 uint16_t encodingId; in TEST() member
354 testCase.platformId, testCase.encodingId, std::vector<uint16_t>({'a', 'a'})); in TEST()
[all …]