Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DEditor.java1168 int retOffset = getWordIteratorWithText().prevBoundary(offset); in getWordStart() local
1169 if (getWordIteratorWithText().isOnPunctuation(retOffset)) { in getWordStart()
1171 retOffset = getWordIteratorWithText().getPunctuationBeginning(offset); in getWordStart()
1174 retOffset = getWordIteratorWithText().getPrevWordBeginningOnTwoWordsBoundary(offset); in getWordStart()
1176 if (retOffset == BreakIterator.DONE) { in getWordStart()
1179 return retOffset; in getWordStart()
1183 int retOffset = getWordIteratorWithText().nextBoundary(offset); in getWordEnd() local
1184 if (getWordIteratorWithText().isAfterPunctuation(retOffset)) { in getWordEnd()
1186 retOffset = getWordIteratorWithText().getPunctuationEnd(offset); in getWordEnd()
1189 retOffset = getWordIteratorWithText().getNextWordEndOnTwoWordBoundary(offset); in getWordEnd()
[all …]