Home
last modified time | relevance | path

Searched refs:nextBoundary (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/text/
DGraphemeClusterSegmentFinder.java75 private int nextBoundary(@IntRange(from = 0) int offset) { in nextBoundary() method in GraphemeClusterSegmentFinder
103 int boundary = nextBoundary(offset); in nextStartBoundary()
106 if (boundary == DONE || nextBoundary(boundary) == DONE) { in nextStartBoundary()
114 return nextBoundary(offset); in nextEndBoundary()
DWordSegmentFinder.java95 boundary = mWordIterator.nextBoundary(boundary); in nextStartBoundary()
107 boundary = mWordIterator.nextBoundary(boundary); in nextEndBoundary()
/frameworks/base/core/tests/coretests/src/android/text/method/
DWordIteratorTest.java307 wordIterator.nextBoundary(-1); in testNextBoundary()
312 wordIterator.nextBoundary(text.length() + 1); in testNextBoundary()
319 currentOffset = wordIterator.nextBoundary(currentOffset); in testNextBoundary()
322 currentOffset = wordIterator.nextBoundary(currentOffset); in testNextBoundary()
325 currentOffset = wordIterator.nextBoundary(currentOffset); in testNextBoundary()
328 currentOffset = wordIterator.nextBoundary(currentOffset); in testNextBoundary()
331 currentOffset = wordIterator.nextBoundary(currentOffset); in testNextBoundary()
334 currentOffset = wordIterator.nextBoundary(currentOffset); in testNextBoundary()
337 currentOffset = wordIterator.nextBoundary(currentOffset); in testNextBoundary()
340 currentOffset = wordIterator.nextBoundary(currentOffset); in testNextBoundary()
[all …]
/frameworks/base/core/java/android/text/method/
DWordIterator.java123 public int nextBoundary(int offset) { in nextBoundary() method in WordIterator
315 offset = nextBoundary(offset); in getPunctuationEnd()
/frameworks/base/core/java/android/widget/
DEditor.java1183 int retOffset = getWordIteratorWithText().nextBoundary(offset); in getWordEnd()