Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DEditor.java763 int retOffset = getWordIteratorWithText().prevBoundary(offset); in getWordStart() local
764 if (getWordIteratorWithText().isOnPunctuation(retOffset)) { in getWordStart()
766 retOffset = getWordIteratorWithText().getPunctuationBeginning(offset); in getWordStart()
769 retOffset = getWordIteratorWithText().getPrevWordBeginningOnTwoWordsBoundary(offset); in getWordStart()
771 if (retOffset == BreakIterator.DONE) { in getWordStart()
774 return retOffset; in getWordStart()
778 int retOffset = getWordIteratorWithText().nextBoundary(offset); in getWordEnd() local
779 if (getWordIteratorWithText().isAfterPunctuation(retOffset)) { in getWordEnd()
781 retOffset = getWordIteratorWithText().getPunctuationEnd(offset); in getWordEnd()
784 retOffset = getWordIteratorWithText().getNextWordEndOnTwoWordBoundary(offset); in getWordEnd()
[all …]