OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:FormatUtils
(Results
1 - 5
of
5
) sorted by null
/packages/apps/Contacts/tests/src/com/android/contacts/format/
FormatUtilsTests.java
30
assertEquals(2,
FormatUtils
.overlapPoint("abcde", "cdefg"));
31
assertEquals(-1,
FormatUtils
.overlapPoint("John Doe", "John Doe"));
32
assertEquals(5,
FormatUtils
.overlapPoint("John Doe", "Doe, John"));
33
assertEquals(-1,
FormatUtils
.overlapPoint("Mr. John Doe", "Mr. Doe, John"));
34
assertEquals(13,
FormatUtils
.overlapPoint("John Herbert Doe", "Doe, John Herbert"));
59
FormatUtils
.copyToCharArrayBuffer(text, buffer);
60
assertEquals(text,
FormatUtils
.charArrayBufferToString(buffer));
67
FormatUtils
.copyToCharArrayBuffer(value, buffer);
75
assertEquals(-1,
FormatUtils
.indexOfWordPrefix("test", null));
79
assertEquals(-1,
FormatUtils
.indexOfWordPrefix(null, "TE".toCharArray()))
[
all
...]
/packages/apps/Contacts/src/com/android/contacts/format/
PrefixHighlighter.java
53
int index =
FormatUtils
.indexOfWordPrefix(text, prefix);
FormatUtils.java
30
public class
FormatUtils
{
/packages/apps/Contacts/src/com/android/contacts/widget/
TextHighlightingAnimation.java
18
import com.android.contacts.format.
FormatUtils
;
76
int index =
FormatUtils
.overlapPoint(baseText, highlightedText);
/packages/apps/Contacts/src/com/android/contacts/
PhoneCallDetailsHelper.java
21
import com.android.contacts.format.
FormatUtils
;
119
numberText =
FormatUtils
.applyStyleToSpan(Typeface.BOLD,
Completed in 132 milliseconds