OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:isAfterPunctuation
(Results
1 - 2
of
2
) sorted by null
/frameworks/base/core/java/android/text/method/
WordIterator.java
318
public boolean
isAfterPunctuation
(int offset) {
344
return isOnPunctuation(offset) && !
isAfterPunctuation
(offset);
348
return !isOnPunctuation(offset) &&
isAfterPunctuation
(offset);
/frameworks/base/core/tests/coretests/src/android/text/method/
WordIteratorTest.java
431
assertFalse(wordIterator.
isAfterPunctuation
(text.indexOf('a')));
432
assertFalse(wordIterator.
isAfterPunctuation
(text.indexOf('!')));
433
assertTrue(wordIterator.
isAfterPunctuation
(text.indexOf('?')));
434
assertTrue(wordIterator.
isAfterPunctuation
(text.indexOf('?') + 1));
435
assertFalse(wordIterator.
isAfterPunctuation
(text.indexOf('d')));
437
assertFalse(wordIterator.
isAfterPunctuation
(BreakIterator.DONE));
438
assertFalse(wordIterator.
isAfterPunctuation
(text.length() + 1));
Completed in 3127 milliseconds