OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:isOnPunctuation
(Results
1 - 3
of
3
) sorted by null
/frameworks/base/core/java/android/text/method/
WordIterator.java
318
public boolean
isOnPunctuation
(int offset) {
348
return
isOnPunctuation
(offset) && !isAfterPunctuation(offset);
352
return !
isOnPunctuation
(offset) && isAfterPunctuation(offset);
/frameworks/base/core/tests/coretests/src/android/text/method/
WordIteratorTest.java
630
assertFalse(wordIterator.
isOnPunctuation
(text.indexOf('a')));
631
assertTrue(wordIterator.
isOnPunctuation
(text.indexOf('!')));
632
assertTrue(wordIterator.
isOnPunctuation
(text.indexOf('?')));
633
assertFalse(wordIterator.
isOnPunctuation
(text.indexOf('?') + 1));
634
assertTrue(wordIterator.
isOnPunctuation
(text.indexOf(')')));
635
assertFalse(wordIterator.
isOnPunctuation
(text.indexOf(')') + 1));
636
assertFalse(wordIterator.
isOnPunctuation
(text.indexOf('d')));
638
assertFalse(wordIterator.
isOnPunctuation
(BreakIterator.DONE));
639
assertFalse(wordIterator.
isOnPunctuation
(text.length()));
640
assertFalse(wordIterator.
isOnPunctuation
(text.length() + 1))
[
all
...]
/frameworks/base/core/java/android/widget/
Editor.java
877
if (getWordIteratorWithText().
isOnPunctuation
(retOffset)) {
[
all
...]
Completed in 97 milliseconds