Searched refs:containsInArray (Results 1 – 3 of 3) sorted by relevance
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/ |
D | StringUtilsTests.java | 189 assertFalse("empty array", StringUtils.containsInArray("key", new String[0])); in testContainsInArray() 190 assertFalse("not in 1 element", StringUtils.containsInArray("key", new String[] { in testContainsInArray() 193 assertFalse("not in 2 elements", StringUtils.containsInArray("key", new String[] { in testContainsInArray() 197 assertTrue("in 1 element", StringUtils.containsInArray("key", new String[] { in testContainsInArray() 200 assertTrue("in 2 elements", StringUtils.containsInArray("key", new String[] { in testContainsInArray()
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | StringUtils.java | 128 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/ |
D | KeyboardBuilder.java | 762 || StringUtils.containsInArray(value, a.getString(index).split("\\|")); in matchString() 777 return StringUtils.containsInArray(strValue, a.getString(index).split("\\|")); in matchTypedValue()
|