Searched refs:getNextTransition (Results 1 – 2 of 2) sorted by relevance
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/format/ |
D | TextHighlighterTest.java | 94 assertEquals(2, SpannedTestUtils.getNextTransition(testString1, 0)); in testSetMask_Highlight() 95 assertEquals(4, SpannedTestUtils.getNextTransition(testString1, 2)); in testSetMask_Highlight() 98 assertEquals(2, SpannedTestUtils.getNextTransition(testString1, 0)); in testSetMask_Highlight() 99 assertEquals(4, SpannedTestUtils.getNextTransition(testString1, 3)); in testSetMask_Highlight() 102 assertEquals(3, SpannedTestUtils.getNextTransition(testString1, 2)); in testSetMask_Highlight() 105 assertEquals(6, SpannedTestUtils.getNextTransition(testString1, 5)); in testSetMask_Highlight() 106 assertEquals(7, SpannedTestUtils.getNextTransition(testString1, 6)); in testSetMask_Highlight() 107 assertEquals(8, SpannedTestUtils.getNextTransition(testString1, 7)); in testSetMask_Highlight()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/format/ |
D | SpannedTestUtils.java | 85 public static int getNextTransition(SpannableString seq, int start) { in getNextTransition() method in SpannedTestUtils
|