Searched refs:utf16Index (Results 1 – 3 of 3) sorted by relevance
1160 auto utf16Index = fOwner->getUTF16Index(this->fTextExcludingSpaces.end); in getGlyphPositionAtCoordinate() local1161 return { SkToS32(utf16Index) , kDownstream }; in getGlyphPositionAtCoordinate()1190 … auto utf16Index = fOwner->getUTF16Index(context.run->globalClusterIndex(context.pos)); in getGlyphPositionAtCoordinate() local1192 result = { SkToS32(utf16Index), kDownstream }; in getGlyphPositionAtCoordinate()1194 result = { SkToS32(utf16Index + 1), kUpstream }; in getGlyphPositionAtCoordinate()1202 …auto utf16Index = fOwner->getUTF16Index(context.run->globalClusterIndex(context.pos + context.size… in getGlyphPositionAtCoordinate() local1204 result = {SkToS32(utf16Index), kUpstream}; in getGlyphPositionAtCoordinate()1206 result = {SkToS32(utf16Index), kDownstream}; in getGlyphPositionAtCoordinate()1237 size_t utf16Index = fOwner->getUTF16Index(clusterIndex8); in getGlyphPositionAtCoordinate() local1238 result = { SkToS32(utf16Index), kDownstream }; in getGlyphPositionAtCoordinate()[all …]
231 size_t utf16Index = 0; in shape() local234 UTF16FromUTF8.push_back_n(text8.size() + 1, utf16Index); in shape()235 UTF8FromUTF16.push_back_n(text16.size() + 1, utf16Index); in shape()240 UTF16FromUTF8[i] = utf16Index; in shape()244 UTF8FromUTF16[utf16Index++] = start; in shape()
476 int32_t utf16Index = 0; in setUTF8() local478 textMap->addElement(utf16Index, status); in setUTF8()483 utf16Index += U16_LENGTH(c32); in setUTF8()