Home
last modified time | relevance | path

Searched refs:platformId (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()
451 const uint16_t platformId = readU16(cmap_data, tableHeadOffset + kPlatformIdOffset); 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
275 size_t head = writeU16(platformId, out.data(), currentEncodingTableHead); in appendEncodingTable()
343 uint16_t platformId; in TEST() member
354 testCase.platformId, testCase.encodingId, std::vector<uint16_t>({'a', 'a'})); in TEST()
[all …]