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.java546 wordIterator.getPunctuationBeginning(BreakIterator.DONE); in testGetPunctuationBeginning()
552 wordIterator.getPunctuationBeginning(-2); in testGetPunctuationBeginning()
558 wordIterator.getPunctuationBeginning(text.length() + 1); in testGetPunctuationBeginning()
564 assertEquals(BreakIterator.DONE, wordIterator.getPunctuationBeginning(text.indexOf('a'))); in testGetPunctuationBeginning()
565 assertEquals(BreakIterator.DONE, wordIterator.getPunctuationBeginning(text.indexOf('c'))); in testGetPunctuationBeginning()
566 assertEquals(text.indexOf('!'), wordIterator.getPunctuationBeginning(text.indexOf('!'))); in testGetPunctuationBeginning()
568 wordIterator.getPunctuationBeginning(text.indexOf('?') + 1)); in testGetPunctuationBeginning()
569 assertEquals(text.indexOf(';'), wordIterator.getPunctuationBeginning(text.indexOf(';'))); in testGetPunctuationBeginning()
570 assertEquals(text.indexOf(';'), wordIterator.getPunctuationBeginning(text.indexOf(')'))); in testGetPunctuationBeginning()
571 assertEquals(text.indexOf(';'), wordIterator.getPunctuationBeginning(text.length())); in testGetPunctuationBeginning()
/frameworks/base/core/java/android/text/method/
DWordIterator.java271 public int getPunctuationBeginning(int offset) { in getPunctuationBeginning() method in WordIterator
/frameworks/base/core/java/android/widget/
DEditor.java794 retOffset = getWordIteratorWithText().getPunctuationBeginning(offset); in getWordStart()