Searched defs:substring (Results 1 - 1 of 1) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
H A DSearchUtil.java42 * substring.
45 * @param substring The substring to search for.
46 * @return A MatchedLine object containing the matching line and the startIndex of the substring
49 public static MatchedLine findMatchingLine(String contents, String substring) { argument
53 // Locate the lines of the content that contain the substring.
54 final int index = SearchUtil.contains(contents, substring);
71 matched.line = contents.substring(start + 1, end);
83 * 2) Returns the starting index where the substring is found.
86 * @param substring Th
91 contains(String value, String substring) argument
[all...]

Completed in 69 milliseconds