Home
last modified time | relevance | path

Searched refs:getWordBoundary (Results 1 – 11 of 11) sorted by relevance

/external/skia/modules/skparagraph/include/
DParagraph.h57 virtual SkRange<size_t> getWordBoundary(unsigned offset) = 0;
/external/skia/modules/canvaskit/tests/
Dparagraph.spec.js100 expect(paragraph.getWordBoundary(8)).toEqual({
104 expect(paragraph.getWordBoundary(25)).toEqual({
788 expect(paragraph.getWordBoundary(8)).toEqual({
793 expect(paragraph.getWordBoundary(25)).toEqual({
/external/skia/modules/skparagraph/src/
DParagraphImpl.h124 SkRange<size_t> getWordBoundary(unsigned offset) override;
DParagraphImpl.cpp780 SkRange<size_t> ParagraphImpl::getWordBoundary(unsigned offset) { in getWordBoundary() function in skia::textlayout::ParagraphImpl
/external/skia/modules/skparagraph/tests/
DSkParagraphTest.cpp3544 REPORTER_ASSERT(reporter, paragraph->getWordBoundary(0) == SkRange<size_t>(0, 5)); in DEF_TEST()
3545 REPORTER_ASSERT(reporter, paragraph->getWordBoundary(1) == SkRange<size_t>(0, 5)); in DEF_TEST()
3546 REPORTER_ASSERT(reporter, paragraph->getWordBoundary(2) == SkRange<size_t>(0, 5)); in DEF_TEST()
3547 REPORTER_ASSERT(reporter, paragraph->getWordBoundary(3) == SkRange<size_t>(0, 5)); in DEF_TEST()
3548 REPORTER_ASSERT(reporter, paragraph->getWordBoundary(4) == SkRange<size_t>(0, 5)); in DEF_TEST()
3552 REPORTER_ASSERT(reporter, paragraph->getWordBoundary(5) == SkRange<size_t>(5, 7)); in DEF_TEST()
3556 REPORTER_ASSERT(reporter, paragraph->getWordBoundary(6) == SkRange<size_t>(5, 7)); in DEF_TEST()
3560 REPORTER_ASSERT(reporter, paragraph->getWordBoundary(7) == SkRange<size_t>(7, 12)); in DEF_TEST()
3561 REPORTER_ASSERT(reporter, paragraph->getWordBoundary(8) == SkRange<size_t>(7, 12)); in DEF_TEST()
3562 REPORTER_ASSERT(reporter, paragraph->getWordBoundary(9) == SkRange<size_t>(7, 12)); in DEF_TEST()
[all …]
/external/skia/modules/canvaskit/
Dexterns.js136 getWordBoundary: function() {}, method
Dparagraph_bindings.cpp429 .function("getWordBoundary", &para::Paragraph::getWordBoundary) in EMSCRIPTEN_BINDINGS()
DCHANGELOG.md617 - More information on SkParagraph API, eg. `getLongestLine()`, `getWordBoundary`, and others.
/external/skia/modules/canvaskit/npm_build/types/
Dcanvaskit-wasm-tests.ts512 const l = p.getWordBoundary(10); // $ExpectType URange
Dindex.d.ts858 getWordBoundary(offset: number): URange; method
/external/skia/modules/skparagraph/samples/
DSampleParagraph.cpp2426 auto res2 = paragraph->getWordBoundary(wordPos); in onDrawContent()