Searched refs:findNextTokenStart (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
D | SearchUtilTest.java | 86 assertEquals(4, SearchUtil.findNextTokenStart(actual, 0)); in testFindNextTokenStart() 87 assertEquals(4, SearchUtil.findNextTokenStart(actual, 1)); in testFindNextTokenStart() 88 assertEquals(4, SearchUtil.findNextTokenStart(actual, 2)); in testFindNextTokenStart() 89 assertEquals(4, SearchUtil.findNextTokenStart(actual, 3)); in testFindNextTokenStart() 92 assertEquals(10, SearchUtil.findNextTokenStart(actual, 4)); in testFindNextTokenStart() 93 assertEquals(10, SearchUtil.findNextTokenStart(actual, 5)); in testFindNextTokenStart() 94 assertEquals(10, SearchUtil.findNextTokenStart(actual, 6)); in testFindNextTokenStart() 95 assertEquals(10, SearchUtil.findNextTokenStart(actual, 7)); in testFindNextTokenStart() 96 assertEquals(10, SearchUtil.findNextTokenStart(actual, 8)); in testFindNextTokenStart() 97 assertEquals(10, SearchUtil.findNextTokenStart(actual, 9)); in testFindNextTokenStart() [all …]
|
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
D | SearchUtil.java | 92 for (int i = 0; i < value.length(); i = findNextTokenStart(value, i)) { in contains() 118 static int findNextTokenStart(String line, int startIndex) { in findNextTokenStart() method in SearchUtil
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | SearchUtil.java | 109 for (int i = 0; i < value.length(); i = findNextTokenStart(value, i)) { in contains() 135 static int findNextTokenStart(String line, int startIndex) { in findNextTokenStart() method in SearchUtil
|