Home
last modified time | relevance | path

Searched refs:SkUnicode (Results 1 – 18 of 18) sorted by relevance

/external/skia/modules/skparagraph/src/
DParagraphBuilderImpl.h23 std::unique_ptr<SkUnicode> unicode);
66 std::unique_ptr<SkUnicode> unicode);
82 std::unique_ptr<SkUnicode> fUnicode;
DParagraphBuilderImpl.cpp26 auto unicode = SkUnicode::Make(); in make()
34 … ParagraphStyle& style, sk_sp<FontCollection> fontCollection, std::unique_ptr<SkUnicode> unicode) { in make()
42 …st ParagraphStyle& style, sk_sp<FontCollection> fontCollection, std::unique_ptr<SkUnicode> unicode) in ParagraphBuilderImpl()
53 : ParagraphBuilderImpl(style, fontCollection, SkUnicode::Make()) in ParagraphBuilderImpl()
DParagraphImpl.h105 std::unique_ptr<SkUnicode> unicode);
112 std::unique_ptr<SkUnicode> unicode);
225 SkUnicode* getUnicode() { return fUnicode.get(); }
256 std::vector<SkUnicode::BidiRegion> fBidiRegions;
275 std::unique_ptr<SkUnicode> fUnicode;
DParagraphImpl.cpp69 std::unique_ptr<SkUnicode> unicode) in ParagraphImpl()
90 std::unique_ptr<SkUnicode> unicode) in ParagraphImpl()
262 ? SkUnicode::TextDirection::kLTR in computeCodeUnitProperties()
263 : SkUnicode::TextDirection::kRTL; in computeCodeUnitProperties()
284 std::vector<SkUnicode::LineBreakBefore> lineBreaks; in computeCodeUnitProperties()
289 …fCodeUnitProperties[lineBreak.pos] |= lineBreak.breakType == SkUnicode::LineBreakType::kHardLineBr… in computeCodeUnitProperties()
295 std::vector<SkUnicode::Position> graphemes; in computeCodeUnitProperties()
DParagraphCache.cpp59 std::vector<SkUnicode::BidiRegion> fBidiRegions;
DOneLineShaper.cpp558 SkUnicode::BidiRegion& bidiRegion = fParagraph->fBidiRegions[bidiIndex]; in iterateThroughShapingRegions()
DTextLine.cpp135 SkAutoSTArray<kPreallocCount, SkUnicode::BidiLevel> runLevels(numRuns); in TextLine()
/external/skia/modules/skshaper/src/
DSkUnicode_icu.cpp53 static UBreakIteratorType convertType(SkUnicode::BreakType type) { in convertType()
55 case SkUnicode::BreakType::kLines: return UBRK_LINE; in convertType()
56 case SkUnicode::BreakType::kGraphemes: return UBRK_CHARACTER; in convertType()
57 case SkUnicode::BreakType::kWords: return UBRK_WORD; in convertType()
189 SkTHashMap<SkUnicode::BreakType, ICUBreakIterator> fBreakCache;
198 ICUBreakIterator makeBreakIterator(SkUnicode::BreakType type) { in makeBreakIterator()
243 class SkUnicode_icu : public SkUnicode {
360 auto status = type == SkUnicode::BreakType::kLines in extractPositions()
367 if (type == SkUnicode::BreakType::kLines) { in extractPositions()
506 std::unique_ptr<SkUnicode> SkUnicode::Make() { in Make()
DSkUnicode.h78 class SKUNICODE_API SkUnicode {
112 virtual ~SkUnicode() = default;
153 static std::unique_ptr<SkUnicode> Make();
DSkShaper_harfbuzz.cpp644 ShaperHarfBuzz(std::unique_ptr<SkUnicode>,
651 std::unique_ptr<SkUnicode> fUnicode;
754 auto unicode = SkUnicode::Make(); in MakeHarfBuzz()
758 auto lineIter = unicode->makeBreakIterator("th", SkUnicode::BreakType::kLines); in MakeHarfBuzz()
762 auto graphIter = unicode->makeBreakIterator("th", SkUnicode::BreakType::kGraphemes); in MakeHarfBuzz()
776 ShaperHarfBuzz::ShaperHarfBuzz(std::unique_ptr<SkUnicode> unicode, in ShaperHarfBuzz()
1437 auto unicode = SkUnicode::Make(); in MakeIcuBiDiRunIterator()
1448 SkShaper::MakeSkUnicodeBidiRunIterator(SkUnicode* unicode, const char* utf8, size_t utf8Bytes, uint… in MakeSkUnicodeBidiRunIterator()
1477 auto unicode = SkUnicode::Make(); in MakeHbIcuScriptRunIterator()
1485 SkShaper::MakeSkUnicodeHbScriptRunIterator(SkUnicode* unicode, const char* utf8, size_t utf8Bytes) { in MakeSkUnicodeHbScriptRunIterator()
[all …]
DSkShaper.cpp48 auto unicode = SkUnicode::Make(); in MakeBiDiRunIterator()
67 auto unicode = SkUnicode::Make(); in MakeScriptRunIterator()
/external/skia/experimental/sktext/samples/
DText.cpp40 TextSample_Align_Dir() : fUnicode(SkUnicode::Make()) { } in TextSample_Align_Dir()
117 std::unique_ptr<SkUnicode> fUnicode;
135 std::unique_ptr<SkUnicode> fUnicode;
162 std::unique_ptr<SkUnicode> fUnicode;
/external/skia/experimental/sktext/src/
DProcessor.cpp161 fUnicode = std::move(SkUnicode::Make()); in computeCodeUnitProperties()
177 std::vector<SkUnicode::LineBreakBefore> lineBreaks; in computeCodeUnitProperties()
182 …fCodeUnitProperties[lineBreak.pos] |= lineBreak.breakType == SkUnicode::LineBreakType::kHardLineBr… in computeCodeUnitProperties()
188 std::vector<SkUnicode::Position> graphemes; in computeCodeUnitProperties()
DLine.cpp35 SkAutoSTArray<kPreallocCount, SkUnicode::BidiLevel> runLevels(numRuns); in Line()
/external/skia/modules/skshaper/include/
DSkShaper.h42 class SkUnicode; variable
135 …MakeSkUnicodeBidiRunIterator(SkUnicode* unicode, const char* utf8, size_t utf8Bytes, uint8_t bidiL…
152 MakeSkUnicodeHbScriptRunIterator(SkUnicode* unicode, const char* utf8, size_t utf8Bytes);
/external/skia/modules/skshaper/
Dskshaper.gni17 "$_src/SkUnicode.h",
/external/skia/experimental/sktext/include/
DProcessor.h99 SkUnicode* getUnicode() { return fUnicode == nullptr ? nullptr : fUnicode.get(); } in getUnicode()
192 std::unique_ptr<SkUnicode> fUnicode;
/external/skia/
Dpublic.bzl961 "modules/skshaper/src/SkUnicode.h",