Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/text/method/
DWordIteratorTest.java584 wordIterator.getPunctuationEnd(BreakIterator.DONE); in testGetPunctuationEnd()
589 wordIterator.getPunctuationEnd(-2); in testGetPunctuationEnd()
594 wordIterator.getPunctuationEnd(text.length() + 1); in testGetPunctuationEnd()
600 assertEquals(text.indexOf('?') + 1, wordIterator.getPunctuationEnd(text.indexOf('a'))); in testGetPunctuationEnd()
601 assertEquals(text.indexOf('?') + 1, wordIterator.getPunctuationEnd(text.indexOf('?') + 1)); in testGetPunctuationEnd()
602 assertEquals(text.indexOf('(') + 1, wordIterator.getPunctuationEnd(text.indexOf('('))); in testGetPunctuationEnd()
603 assertEquals(text.indexOf(')') + 1, wordIterator.getPunctuationEnd(text.indexOf('(') + 2)); in testGetPunctuationEnd()
604 assertEquals(text.indexOf(')') + 1, wordIterator.getPunctuationEnd(text.indexOf(')') + 1)); in testGetPunctuationEnd()
605 assertEquals(BreakIterator.DONE, wordIterator.getPunctuationEnd(text.indexOf('d'))); in testGetPunctuationEnd()
606 assertEquals(BreakIterator.DONE, wordIterator.getPunctuationEnd(text.length())); in testGetPunctuationEnd()
/frameworks/base/core/java/android/text/method/
DWordIterator.java301 public int getPunctuationEnd(int offset) { in getPunctuationEnd() method in WordIterator
/frameworks/base/core/java/android/widget/
DEditor.java912 retOffset = getWordIteratorWithText().getPunctuationEnd(offset); in getWordEnd()