Home
last modified time | relevance | path

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

/frameworks/minikin/tests/unittest/
DCmapCoverageTest.cpp291 std::vector<uint8_t> cmap = in TEST() local
295 CmapCoverage::getCoverage(cmap.data(), 3 /* too small */, &vsTables); in TEST()
301 std::vector<uint8_t> cmap = in TEST() local
304 writeU16(1000, cmap.data(), 2 /* offset of num tables in cmap header */); in TEST()
305 SparseBitSet coverage = CmapCoverage::getCoverage(cmap.data(), cmap.size(), &vsTables); in TEST()
311 std::vector<uint8_t> cmap = in TEST() local
314 writeU16(1000, cmap.data(), 8 /* offset of the offset in the first encoding record */); in TEST()
315 SparseBitSet coverage = CmapCoverage::getCoverage(cmap.data(), cmap.size(), &vsTables); in TEST()
321 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat4Cmap( in TEST() local
324 SparseBitSet coverage = CmapCoverage::getCoverage(cmap.data(), cmap.size(), &vsTables); in TEST()
[all …]
/frameworks/base/libs/hwui/jni/
DGIFMovie.cpp124 static void copyLine(uint32_t* dst, const unsigned char* src, const ColorMapObject* cmap, in copyLine() argument
128 if (*src != transparent && *src < cmap->ColorCount) { in copyLine()
129 const GifColorType& col = cmap->Colors[*src]; in copyLine()
137 const ColorMapObject* cmap, int transparent, int copyWidth, in copyInterlaceGroup() argument
145 copyLine(dst, src, cmap, transparent, copyWidth); in copyInterlaceGroup()
153 static void blitInterlace(SkBitmap* bm, const SavedImage* frame, const ColorMapObject* cmap, in blitInterlace() argument
172 copyInterlaceGroup(bm, src, cmap, transparent, copyWidth, copyHeight, frame->ImageDesc, 8, 0); in blitInterlace()
175 copyInterlaceGroup(bm, src, cmap, transparent, copyWidth, copyHeight, frame->ImageDesc, 8, 4); in blitInterlace()
178 copyInterlaceGroup(bm, src, cmap, transparent, copyWidth, copyHeight, frame->ImageDesc, 4, 2); in blitInterlace()
180 copyInterlaceGroup(bm, src, cmap, transparent, copyWidth, copyHeight, frame->ImageDesc, 2, 1); in blitInterlace()
[all …]
/frameworks/base/tools/fonts/
Dfontchain_linter.py106 for cmap in ttfont['cmap'].tables:
107 specifier = (cmap.format, cmap.platformID, cmap.platEncID)
110 bmp_cmap = cmap
114 all_unicode_cmap = cmap
116 return all_unicode_cmap.cmap if all_unicode_cmap else bmp_cmap.cmap
122 for cmap in ttfont['cmap'].tables:
123 specifier = (cmap.format, cmap.platformID, cmap.platEncID)
126 vs_cmap = cmap