Searched refs:seq (Results 1 - 14 of 14) sorted by relevance

/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/format/
H A DTextHighlighterTest.java44 CharSequence seq = mTextHighlighter.applyPrefixHighlight("", "");
45 SpannedTestUtils.assertNotSpanned(seq, "");
47 seq = mTextHighlighter.applyPrefixHighlight("test", "");
48 SpannedTestUtils.assertNotSpanned(seq, "test");
54 CharSequence seq = mTextHighlighter.applyPrefixHighlight("test", prefix);
55 SpannedTestUtils.assertPrefixSpan(seq, 0, 1);
57 seq = mTextHighlighter.applyPrefixHighlight("Test", prefix);
58 SpannedTestUtils.assertPrefixSpan(seq, 0, 1);
60 seq = mTextHighlighter.applyPrefixHighlight("TEst", prefix);
61 SpannedTestUtils.assertPrefixSpan(seq,
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/format/
H A DSpannedTestUtils.java54 * @param seq The spannable string to check.
58 public static void assertPrefixSpan(CharSequence seq, int start, int end) { argument
59 Assert.assertTrue(seq instanceof Spanned);
60 Spanned spannable = (Spanned) seq;
77 * @param seq The sequence to check.
80 public static void assertNotSpanned(CharSequence seq, String expected) { argument
81 Assert.assertFalse(seq instanceof Spanned);
82 Assert.assertEquals(expected, seq);
85 public static int getNextTransition(SpannableString seq, int start) { argument
86 return seq
[all...]
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/list/
H A DContactListItemViewTest.java82 CharSequence seq = view.getNameTextView().getText();
83 assertEquals("John Doe", seq.toString());
84 SpannedTestUtils.assertPrefixSpan(seq, 5, 7);
94 CharSequence seq = view.getNameTextView().getText();
95 assertEquals("John Doe", seq.toString());
96 SpannedTestUtils.assertPrefixSpan(seq, 5, 7);
104 CharSequence seq = view.getSnippetView().getText();
106 assertEquals("This is a test", seq.toString());
107 SpannedTestUtils.assertPrefixSpan(seq, 10, 13);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DLevenshteinSuggestionFormatter.java99 Token[] tokenize(final String seq) { argument
101 final int len = seq.length();
102 final char[] chars = seq.toCharArray();
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/
H A DUnicodeEscaper.java383 * @param seq the sequence of characters from which to decode the code point
389 protected static final int codePointAt(CharSequence seq, int index, int end) { argument
391 char c1 = seq.charAt(index++);
402 char c2 = seq.charAt(index);
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
H A DUnicodeEscaper.java383 * @param seq the sequence of characters from which to decode the code point
389 protected static final int codePointAt(CharSequence seq, int index, int end) { argument
391 char c1 = seq.charAt(index++);
402 char c2 = seq.charAt(index);
/packages/apps/Mms/src/com/android/mms/dom/smil/
H A DSmilPlayer.java146 ElementSequentialTimeContainer seq, double offset, double maxOffset) {
151 TimeList myBeginList = seq.getBegin();
162 TimelineEntry myBegin = new TimelineEntry(beginOffset, seq, TimelineEntry.ACTION_BEGIN);
165 TimeList myEndList = seq.getEnd();
175 TimelineEntry myEnd = new TimelineEntry(endOffset, seq, TimelineEntry.ACTION_END);
180 NodeList children = seq.getTimeChildren();
191 NodeList activeChildrenAtEnd = seq.getActiveChildrenAt(
145 getSeqTimeline( ElementSequentialTimeContainer seq, double offset, double maxOffset) argument
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DDataManager.java203 String[] seq = Path.splitSequence(segment);
204 int n = seq.length;
207 sets[i] = getMediaSet(seq[i]);
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DOpenWnnJAJP.java2549 CharSequence seq = mInputConnection.getTextBeforeCursor(2, 0);
2550 Matcher m = mEnglishAutoCommitDelimiter.matcher(seq);
2552 if ((seq.charAt(0) == ' ') && mEnableAutoDeleteSpace) {
2554 CharSequence str = seq.subSequence(1, 2);
2572 CharSequence seq = mInputConnection.getTextBeforeCursor(1, 0);
2573 if (seq.charAt(0) != ' ') {
2993 CharSequence seq = mInputConnection.getTextBeforeCursor(mPrevCommitText.length() + composingLength, 0);
2994 seq = seq.subSequence(0, seq
[all...]
/packages/apps/Calendar/tests/src/com/android/calendar/
H A DUtilsTests.java400 CharSequence seq = text.subSequence(results[i*2], results[i*2 + 1]);
401 assertEquals(matches[i], seq);
/packages/apps/Calendar/src/com/android/calendar/
H A DUtils.java2051 CharSequence seq = spanText.subSequence(start, end);
2052 Log.v(TAG, "Not linkifying " + seq + " as phone number due to overlap");
/packages/providers/ContactsProvider/tests/assets/testUnsynced/
H A Dlegacy_contacts.sql66 CREATE TABLE sqlite_sequence(name,seq);
/packages/providers/ContactsProvider/tests/assets/test1/
H A Dlegacy_contacts.sql96 CREATE TABLE sqlite_sequence(name,seq);
/packages/providers/ContactsProvider/tests/assets/testSynced/
H A Dlegacy_contacts.sql122 CREATE TABLE sqlite_sequence(name,seq);

Completed in 856 milliseconds