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/
RichInputConnectionAndTextRangeTests.java
140
assertEquals(RichInputConnection.
getNthPreviousWord
("abc def", sSeparators, 2), "abc");
141
assertNull(RichInputConnection.
getNthPreviousWord
("abc", sSeparators, 2));
142
assertNull(RichInputConnection.
getNthPreviousWord
("abc. def", sSeparators, 2));
145
// RichInputConnection#
getNthPreviousWord
.
151
assertEquals(RichInputConnection.
getNthPreviousWord
("abc def ", sSeparators, 2), "abc");
152
assertEquals(RichInputConnection.
getNthPreviousWord
("abc def.", sSeparators, 2), "abc");
153
assertEquals(RichInputConnection.
getNthPreviousWord
("abc def .", sSeparators, 2), "def");
154
assertNull(RichInputConnection.
getNthPreviousWord
("abc ", sSeparators, 2));
156
assertEquals(RichInputConnection.
getNthPreviousWord
("abc def", sSeparators, 1), "def");
157
assertEquals(RichInputConnection.
getNthPreviousWord
("abc def ", sSeparators, 1), "def")
[
all
...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
RichInputConnection.java
491
public String
getNthPreviousWord
(final String sentenceSeperators, final int n) {
510
return
getNthPreviousWord
(prev, sentenceSeperators, n);
533
public static String
getNthPreviousWord
(final CharSequence prev,
[
all
...]
LatinIME.java
[
all
...]
Completed in 30 milliseconds