Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DEditor.java894 int retOffset = getWordIteratorWithText().prevBoundary(offset); in getWordStart() local
895 if (getWordIteratorWithText().isOnPunctuation(retOffset)) { in getWordStart()
897 retOffset = getWordIteratorWithText().getPunctuationBeginning(offset); in getWordStart()
900 retOffset = getWordIteratorWithText().getPrevWordBeginningOnTwoWordsBoundary(offset); in getWordStart()
902 if (retOffset == BreakIterator.DONE) { in getWordStart()
905 return retOffset; in getWordStart()
909 int retOffset = getWordIteratorWithText().nextBoundary(offset); in getWordEnd() local
910 if (getWordIteratorWithText().isAfterPunctuation(retOffset)) { in getWordEnd()
912 retOffset = getWordIteratorWithText().getPunctuationEnd(offset); in getWordEnd()
915 retOffset = getWordIteratorWithText().getNextWordEndOnTwoWordBoundary(offset); in getWordEnd()
[all …]