Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DEditor.java791 int retOffset = getWordIteratorWithText().prevBoundary(offset); in getWordStart() local
792 if (getWordIteratorWithText().isOnPunctuation(retOffset)) { in getWordStart()
794 retOffset = getWordIteratorWithText().getPunctuationBeginning(offset); in getWordStart()
797 retOffset = getWordIteratorWithText().getPrevWordBeginningOnTwoWordsBoundary(offset); in getWordStart()
799 if (retOffset == BreakIterator.DONE) { in getWordStart()
802 return retOffset; in getWordStart()
806 int retOffset = getWordIteratorWithText().nextBoundary(offset); in getWordEnd() local
807 if (getWordIteratorWithText().isAfterPunctuation(retOffset)) { in getWordEnd()
809 retOffset = getWordIteratorWithText().getPunctuationEnd(offset); in getWordEnd()
812 retOffset = getWordIteratorWithText().getNextWordEndOnTwoWordBoundary(offset); in getWordEnd()
[all …]