OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:containsInArray
(Results
1 - 3
of
3
) sorted by null
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
StringUtilsTests.java
27
assertFalse("empty array", StringUtils.
containsInArray
("key", new String[0]));
28
assertFalse("not in 1 element", StringUtils.
containsInArray
("key", new String[] {
31
assertFalse("not in 2 elements", StringUtils.
containsInArray
("key", new String[] {
35
assertTrue("in 1 element", StringUtils.
containsInArray
("key", new String[] {
38
assertTrue("in 2 elements", StringUtils.
containsInArray
("key", new String[] {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
StringUtils.java
38
public static boolean
containsInArray
(final String key, final String[] array) {
47
return
containsInArray
(key, csv.split(","));
59
if (!
containsInArray
(key, elements)) return csv;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
KeyboardBuilder.java
682
|| StringUtils.
containsInArray
(value, a.getString(index).split("\\|"));
696
return StringUtils.
containsInArray
(strValue, a.getString(index).split("\\|"));
[
all
...]
Completed in 464 milliseconds