Home
last modified time | relevance | path

Searched refs:fLineIndex (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/experimental/sktext/tests/
DSelectableText.cpp163 REPORTER_ASSERT(reporter, firstPosition.fLineIndex == 0); in UNIX_ONLY_TEST()
175 REPORTER_ASSERT(reporter, lastPosition.fLineIndex == testVisitor.fTestLines.size() - 1); in UNIX_ONLY_TEST()
208 if (position.fLineIndex == next.fLineIndex - 1) { in UNIX_ONLY_TEST()
209 auto line = selectableText->getLine(next.fLineIndex); in UNIX_ONLY_TEST()
215 REPORTER_ASSERT(reporter, position.fLineIndex == next.fLineIndex); in UNIX_ONLY_TEST()
249 if (position.fLineIndex == prev.fLineIndex + 1) { in UNIX_ONLY_TEST()
250 auto line = selectableText->getLine(prev.fLineIndex); in UNIX_ONLY_TEST()
256 REPORTER_ASSERT(reporter, position.fLineIndex == prev.fLineIndex); in UNIX_ONLY_TEST()
285 while (position.fLineIndex > 0) { in UNIX_ONLY_TEST()
287 REPORTER_ASSERT(reporter, position.fLineIndex + 1 == down.fLineIndex); in UNIX_ONLY_TEST()
[all …]
/third_party/skia/experimental/sktext/src/
DText.cpp732 position.fLineIndex = line.fIndex; in findPosition()
756 const BoxLine* currentLine = &fBoxLines[current.fLineIndex]; in previousPosition()
759 if (current.fLineIndex == 0) { in previousPosition()
764 current.fLineIndex -= 1; in previousPosition()
765 currentLine = &fBoxLines[current.fLineIndex]; in previousPosition()
778 const BoxLine* currentLine = &fBoxLines[current.fLineIndex]; in nextPosition()
781 if (current.fLineIndex == this->fBoxLines.size() - 1) { in nextPosition()
786 current.fLineIndex += 1; in nextPosition()
787 currentLine = &fBoxLines[current.fLineIndex]; in nextPosition()
801 if (current.fLineIndex == 0) { in upPosition()
[all …]
/third_party/skia/experimental/sktext/editor/
DEditor.cpp85 if (position.fLineIndex == 0) { in moveCursor()
88 auto prevLine = fEditableText->getLine(position.fLineIndex - 1); in moveCursor()
93 if (position.fLineIndex == fEditableText->lineCount() - 1) { in moveCursor()
96 auto nextLine = fEditableText->getLine(position.fLineIndex + 1); in moveCursor()
/third_party/flutter/skia/modules/skottie/src/text/
DTextAdapter.cpp104 if (frag.fLineIndex != line) { in buildDomainMaps()
105 SkASSERT(frag.fLineIndex == line + 1); in buildDomainMaps()
107 line = frag.fLineIndex; in buildDomainMaps()
DSkottieShaper.h30 uint32_t fLineIndex; // 0-based index for the line this fragment belongs to. member
/third_party/skia/modules/skottie/src/text/
DSkottieShaper.h32 uint32_t fLineIndex; // 0-based index for the line this fragment belongs to. member
DTextAdapter.cpp414 if (frag.fLineIndex != line) { in buildDomainMaps()
415 SkASSERT(frag.fLineIndex == line + 1); in buildDomainMaps()
417 line = frag.fLineIndex; in buildDomainMaps()
/third_party/skia/experimental/sktext/include/
DText.h278 , fLineIndex(lineIndex) in Position()
287 size_t fLineIndex; member
DInterface.h144 size_t fLineIndex; member