Searched refs:SearchUtil (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
D | SearchUtilTest.java | 33 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/ |
D | SearchUtil.java | 24 public class SearchUtil { class 54 final int index = SearchUtil.contains(contents, substring); in findMatchingLine()
|
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
D | SearchUtil.java | 22 public class SearchUtil { class 37 final int index = SearchUtil.contains(contents, substring); in findMatchingLine()
|
/packages/apps/Contacts/ |
D | proguard.flags | 96 -keep class com.android.contacts.util.SearchUtil { *; } 97 -keep class com.android.contacts.util.SearchUtil$* { *; }
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactEntryListAdapter.java | 43 import com.android.contacts.util.SearchUtil; 260 mUpperCaseQueryString = SearchUtil in setQueryString()
|
D | ContactListItemView.java | 60 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()
|