Home
last modified time | relevance | path

Searched refs:containsInArray (Results 1 – 3 of 3) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
DStringUtilsTests.java202 assertFalse("empty array", StringUtils.containsInArray("key", new String[0])); in testContainsInArray()
203 assertFalse("not in 1 element", StringUtils.containsInArray("key", new String[] { in testContainsInArray()
206 assertFalse("not in 2 elements", StringUtils.containsInArray("key", new String[] { in testContainsInArray()
210 assertTrue("in 1 element", StringUtils.containsInArray("key", new String[] { in testContainsInArray()
213 assertTrue("in 2 elements", StringUtils.containsInArray("key", new String[] { in testContainsInArray()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DStringUtils.java128 public static boolean containsInArray(@Nonnull final String text, in containsInArray() method in StringUtils
151 return containsInArray(text, extraValues.split(SEPARATOR_FOR_COMMA_SPLITTABLE_TEXT)); in containsInCommaSplittableText()
161 if (!containsInArray(text, elements)) { in removeFromCommaSplittableTextIfExists()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardBuilder.java762 || StringUtils.containsInArray(value, a.getString(index).split("\\|")); in matchString()
777 return StringUtils.containsInArray(strValue, a.getString(index).split("\\|")); in matchTypedValue()