Searched refs:indexOfWordPrefix (Results 1 – 3 of 3) sorted by relevance
75 assertEquals(-1, FormatUtils.indexOfWordPrefix("test", null)); in testIndexOfWordPrefix_NullPrefix()79 assertEquals(-1, FormatUtils.indexOfWordPrefix(null, "TE")); in testIndexOfWordPrefix_NullText()112 assertEquals(expectedIndex, FormatUtils.indexOfWordPrefix(text, wordPrefix)); in checkIndexOfWordPrefix()
85 int index = FormatUtils.indexOfWordPrefix(text, trimmedPrefix); in applyPrefixHighlight()
141 public static int indexOfWordPrefix(CharSequence text, String prefix) { in indexOfWordPrefix() method in FormatUtils