Home
last modified time | relevance | path

Searched refs:SearchUtil (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/util/
DSearchUtilTest.java33 SearchUtil.MatchedLine matched = SearchUtil.findMatchingLine(actual, "poten"); in testFindMatchingLine()
38 matched = SearchUtil.findMatchingLine(actual, "hello"); in testFindMatchingLine()
43 matched = SearchUtil.findMatchingLine(actual, "this"); in testFindMatchingLine()
48 matched = SearchUtil.findMatchingLine(actual, "punc"); in testFindMatchingLine()
56 assertEquals(0, SearchUtil.contains(actual, "this")); in testContains()
57 assertEquals(10, SearchUtil.contains(actual, "lon")); in testContains()
59 assertEquals(1, SearchUtil.contains("'leading punc", "lead")); in testContains()
60 assertEquals(9, SearchUtil.contains("'leading punc", "punc")); in testContains()
69 assertEquals(-1, SearchUtil.contains(actual, "ith")); in testContainsNotFound()
70 assertEquals(-1, SearchUtil.contains(actual, "ing")); in testContainsNotFound()
[all …]
/packages/apps/Contacts/src/com/android/contacts/util/
DSearchUtil.java24 public class SearchUtil { class
54 final int index = SearchUtil.contains(contents, substring); in findMatchingLine()
/packages/apps/Dialer/java/com/android/contacts/common/util/
DSearchUtil.java22 public class SearchUtil { class
37 final int index = SearchUtil.contains(contents, substring); in findMatchingLine()
/packages/apps/Contacts/
Dproguard.flags96 -keep class com.android.contacts.util.SearchUtil { *; }
97 -keep class com.android.contacts.util.SearchUtil$* { *; }
/packages/apps/Contacts/src/com/android/contacts/list/
DContactEntryListAdapter.java43 import com.android.contacts.util.SearchUtil;
260 mUpperCaseQueryString = SearchUtil in setQueryString()
DContactListItemView.java60 import com.android.contacts.util.SearchUtil;
1710 query = SearchUtil.cleanStartAndEndOfSearchQuery(query.toLowerCase()); in updateSnippet()
1726 final SearchUtil.MatchedLine matched = SearchUtil.findMatchingLine(snippet, query); in updateSnippet()