OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getNthPreviousWord
(Results
1 - 3
of
3
) sorted by null
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
RichInputConnectionTests.java
113
assertEquals(RichInputConnection.
getNthPreviousWord
("abc def", sSeparators, 2), "abc");
114
assertNull(RichInputConnection.
getNthPreviousWord
("abc", sSeparators, 2));
115
assertNull(RichInputConnection.
getNthPreviousWord
("abc. def", sSeparators, 2));
118
// RichInputConnection#
getNthPreviousWord
.
124
assertEquals(RichInputConnection.
getNthPreviousWord
("abc def ", sSeparators, 2), "abc");
125
assertEquals(RichInputConnection.
getNthPreviousWord
("abc def.", sSeparators, 2), "abc");
126
assertEquals(RichInputConnection.
getNthPreviousWord
("abc def .", sSeparators, 2), "def");
127
assertNull(RichInputConnection.
getNthPreviousWord
("abc ", sSeparators, 2));
129
assertEquals(RichInputConnection.
getNthPreviousWord
("abc def", sSeparators, 1), "def");
130
assertEquals(RichInputConnection.
getNthPreviousWord
("abc def ", sSeparators, 1), "def")
[
all
...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
RichInputConnection.java
418
public String
getNthPreviousWord
(final String sentenceSeperators, final int n) {
437
return
getNthPreviousWord
(prev, sentenceSeperators, n);
486
public static String
getNthPreviousWord
(final CharSequence prev,
[
all
...]
LatinIME.java
[
all
...]
Completed in 66 milliseconds