Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DEditor.java1030 int retOffset = getWordIteratorWithText().prevBoundary(offset); in getWordStart() local
1031 if (getWordIteratorWithText().isOnPunctuation(retOffset)) { in getWordStart()
1033 retOffset = getWordIteratorWithText().getPunctuationBeginning(offset); in getWordStart()
1036 retOffset = getWordIteratorWithText().getPrevWordBeginningOnTwoWordsBoundary(offset); in getWordStart()
1038 if (retOffset == BreakIterator.DONE) { in getWordStart()
1041 return retOffset; in getWordStart()
1045 int retOffset = getWordIteratorWithText().nextBoundary(offset); in getWordEnd() local
1046 if (getWordIteratorWithText().isAfterPunctuation(retOffset)) { in getWordEnd()
1048 retOffset = getWordIteratorWithText().getPunctuationEnd(offset); in getWordEnd()
1051 retOffset = getWordIteratorWithText().getNextWordEndOnTwoWordBoundary(offset); in getWordEnd()
[all …]