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.java469 wordIterator.getPunctuationEnd(BreakIterator.DONE); in testGetPunctuationEnd()
474 wordIterator.getPunctuationEnd(-2); in testGetPunctuationEnd()
479 wordIterator.getPunctuationEnd(text.length() + 1); in testGetPunctuationEnd()
485 assertEquals(text.indexOf('?') + 1, wordIterator.getPunctuationEnd(text.indexOf('a'))); in testGetPunctuationEnd()
486 assertEquals(text.indexOf('?') + 1, wordIterator.getPunctuationEnd(text.indexOf('?') + 1)); in testGetPunctuationEnd()
487 assertEquals(text.indexOf('(') + 1, wordIterator.getPunctuationEnd(text.indexOf('('))); in testGetPunctuationEnd()
488 assertEquals(text.indexOf(')') + 1, wordIterator.getPunctuationEnd(text.indexOf('(') + 2)); in testGetPunctuationEnd()
489 assertEquals(text.indexOf(')') + 1, wordIterator.getPunctuationEnd(text.indexOf(')') + 1)); in testGetPunctuationEnd()
490 assertEquals(BreakIterator.DONE, wordIterator.getPunctuationEnd(text.indexOf('d'))); in testGetPunctuationEnd()
491 assertEquals(BreakIterator.DONE, wordIterator.getPunctuationEnd(text.length())); in testGetPunctuationEnd()
/frameworks/base/core/java/android/text/method/
DWordIterator.java287 public int getPunctuationEnd(int offset) { in getPunctuationEnd() method in WordIterator
/frameworks/base/core/java/android/widget/
DEditor.java804 retOffset = getWordIteratorWithText().getPunctuationEnd(offset); in getWordEnd()