Home
last modified time | relevance | path

Searched refs:getNextWordEndOnTwoWordBoundary (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/text/method/
DWordIterator.java203 public int getNextWordEndOnTwoWordBoundary(int offset) { in getNextWordEndOnTwoWordBoundary() method in WordIterator
258 private int getEnd(int offset, boolean getNextWordEndOnTwoWordBoundary) { in getEnd() argument
263 && (!isOnLetterOrDigit(offset) || !getNextWordEndOnTwoWordBoundary)) { in getEnd()
/frameworks/base/core/tests/coretests/src/android/text/method/
DWordIteratorTest.java484 wordIterator.getNextWordEndOnTwoWordBoundary(-1); in testGetEnd()
490 wordIterator.getNextWordEndOnTwoWordBoundary(text.length() + 1); in testGetEnd()
515 wordIterator.getNextWordEndOnTwoWordBoundary(i)); in testGetEnd()
532 wordIterator.getNextWordEndOnTwoWordBoundary(text.indexOf('\u3042'))); in testGetEnd()
534 wordIterator.getNextWordEndOnTwoWordBoundary(text.indexOf('\u30A2'))); in testGetEnd()
536 wordIterator.getNextWordEndOnTwoWordBoundary(text.indexOf('\u30A4'))); in testGetEnd()
538 wordIterator.getNextWordEndOnTwoWordBoundary(text.indexOf('\u30A4') + 1)); in testGetEnd()
/frameworks/base/core/java/android/widget/
DEditor.java915 retOffset = getWordIteratorWithText().getNextWordEndOnTwoWordBoundary(offset); in getWordEnd()