Searched refs:getBeginning (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/text/method/ |
D | WordIteratorTest.java | 225 wordIterator.getBeginning(-1); in testGetBeginning() 230 wordIterator.getBeginning(text.length() + 1); in testGetBeginning() 253 assertEquals(text.indexOf('a'), wordIterator.getBeginning(text.indexOf('a'))); in testGetBeginning() 254 assertEquals(text.indexOf('a'), wordIterator.getBeginning(text.indexOf('c'))); in testGetBeginning() 255 assertEquals(text.indexOf('a'), wordIterator.getBeginning(text.indexOf('c') + 1)); in testGetBeginning() 256 assertEquals(text.indexOf('d'), wordIterator.getBeginning(text.indexOf('d'))); in testGetBeginning() 257 assertEquals(text.indexOf('d'), wordIterator.getBeginning(text.indexOf('-'))); in testGetBeginning() 258 assertEquals(text.indexOf('g'), wordIterator.getBeginning(text.indexOf('g'))); in testGetBeginning() 259 assertEquals(text.indexOf('g'), wordIterator.getBeginning(text.indexOf('.'))); in testGetBeginning() 260 assertEquals(BreakIterator.DONE, wordIterator.getBeginning(text.indexOf('.') + 1)); in testGetBeginning() [all …]
|
/frameworks/base/core/java/android/text/method/ |
D | WordIterator.java | 149 public int getBeginning(int offset) { in getBeginning() method in WordIterator 152 return getBeginning(offset, false); in getBeginning() 189 return getBeginning(offset, true); in getPrevWordBeginningOnTwoWordsBoundary() 226 private int getBeginning(int offset, boolean getPrevWordBeginningOnTwoWordsBoundary) { in getBeginning() method in WordIterator
|
/frameworks/base/core/java/android/service/textservice/ |
D | SpellCheckerService.java | 378 int wordStart = wordIterator.getBeginning(wordEnd); in getSplitWords() 398 wordStart = wordIterator.getBeginning(wordEnd); in getSplitWords()
|
/frameworks/base/core/java/android/widget/ |
D | SpellChecker.java | 567 wordStart = mWordIterator.getBeginning(wordEnd); in parse() 723 wordStart = mWordIterator.getBeginning(wordEnd); in parse()
|
D | Editor.java | 853 selectionStart = wordIterator.getBeginning(minOffset); in selectCurrentWord()
|