Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/text/method/
DWordIteratorTest.java549 wordIterator.getPunctuationBeginning(BreakIterator.DONE); in testGetPunctuationBeginning()
555 wordIterator.getPunctuationBeginning(-2); in testGetPunctuationBeginning()
561 wordIterator.getPunctuationBeginning(text.length() + 1); in testGetPunctuationBeginning()
567 assertEquals(BreakIterator.DONE, wordIterator.getPunctuationBeginning(text.indexOf('a'))); in testGetPunctuationBeginning()
568 assertEquals(BreakIterator.DONE, wordIterator.getPunctuationBeginning(text.indexOf('c'))); in testGetPunctuationBeginning()
569 assertEquals(text.indexOf('!'), wordIterator.getPunctuationBeginning(text.indexOf('!'))); in testGetPunctuationBeginning()
571 wordIterator.getPunctuationBeginning(text.indexOf('?') + 1)); in testGetPunctuationBeginning()
572 assertEquals(text.indexOf(';'), wordIterator.getPunctuationBeginning(text.indexOf(';'))); in testGetPunctuationBeginning()
573 assertEquals(text.indexOf(';'), wordIterator.getPunctuationBeginning(text.indexOf(')'))); in testGetPunctuationBeginning()
574 assertEquals(text.indexOf(';'), wordIterator.getPunctuationBeginning(text.length())); in testGetPunctuationBeginning()
/frameworks/base/core/java/android/text/method/
DWordIterator.java284 public int getPunctuationBeginning(int offset) { in getPunctuationBeginning() method in WordIterator
/frameworks/base/core/java/android/widget/
DEditor.java897 retOffset = getWordIteratorWithText().getPunctuationBeginning(offset); in getWordStart()