Searched defs:substring (Results 1 - 2 of 2) 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...]
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
H A DContactDropdownLayouter.java71 final int position, AdapterType type, final String substring,
80 return super.bindView(convertView, parent, entry, position, type, substring,
97 getStyledResults(substring, displayName, destination);
70 bindView(final View convertView, final ViewGroup parent, final RecipientEntry entry, final int position, AdapterType type, final String substring, final StateListDrawable deleteDrawable) argument

Completed in 6211 milliseconds