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/tests/coretests/src/android/text/method/
WordIteratorTest.java
446
assertFalse(wordIterator.
isOnPunctuation
(text.indexOf('a')));
447
assertTrue(wordIterator.
isOnPunctuation
(text.indexOf('!')));
448
assertTrue(wordIterator.
isOnPunctuation
(text.indexOf('?')));
449
assertFalse(wordIterator.
isOnPunctuation
(text.indexOf('?') + 1));
450
assertTrue(wordIterator.
isOnPunctuation
(text.indexOf(')')));
451
assertFalse(wordIterator.
isOnPunctuation
(text.indexOf(')') + 1));
452
assertFalse(wordIterator.
isOnPunctuation
(text.indexOf('d')));
454
assertFalse(wordIterator.
isOnPunctuation
(BreakIterator.DONE));
455
assertFalse(wordIterator.
isOnPunctuation
(text.length()));
456
assertFalse(wordIterator.
isOnPunctuation
(text.length() + 1))
[
all
...]
/frameworks/base/core/java/android/text/method/
WordIterator.java
334
public boolean
isOnPunctuation
(int offset) {
344
return
isOnPunctuation
(offset) && !isAfterPunctuation(offset);
348
return !
isOnPunctuation
(offset) && isAfterPunctuation(offset);
/frameworks/base/core/java/android/widget/
Editor.java
764
if (getWordIteratorWithText().
isOnPunctuation
(retOffset)) {
[
all
...]
Completed in 185 milliseconds