Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/method/
DWordIterator.java184 public int getPrevWordBeginningOnTwoWordsBoundary(int offset) { in getPrevWordBeginningOnTwoWordsBoundary() method in WordIterator
223 private int getBeginning(int offset, boolean getPrevWordBeginningOnTwoWordsBoundary) { in getBeginning() argument
229 || !getPrevWordBeginningOnTwoWordsBoundary)) { in getBeginning()
/frameworks/base/core/tests/coretests/src/android/text/method/
DWordIteratorTest.java410 wordIterator.getPrevWordBeginningOnTwoWordsBoundary(-1); in testGetBeginning()
416 wordIterator.getPrevWordBeginningOnTwoWordsBoundary(text.length() + 1); in testGetBeginning()
441 wordIterator.getPrevWordBeginningOnTwoWordsBoundary(i)); in testGetBeginning()
457 wordIterator.getPrevWordBeginningOnTwoWordsBoundary(text.indexOf('\u3042'))); in testGetBeginning()
459 wordIterator.getPrevWordBeginningOnTwoWordsBoundary(text.indexOf('\u30A2'))); in testGetBeginning()
461 wordIterator.getPrevWordBeginningOnTwoWordsBoundary(text.indexOf('\u30A4'))); in testGetBeginning()
463 wordIterator.getPrevWordBeginningOnTwoWordsBoundary(text.length())); in testGetBeginning()
/frameworks/base/core/java/android/widget/
DEditor.java900 retOffset = getWordIteratorWithText().getPrevWordBeginningOnTwoWordsBoundary(offset); in getWordStart()