/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/format/ |
H A D | TextHighlighterTest.java | 44 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 D | SpannedTestUtils.java | 54 * @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 D | ContactListItemViewTest.java | 82 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 D | LevenshteinSuggestionFormatter.java | 99 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 D | UnicodeEscaper.java | 383 * @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 D | UnicodeEscaper.java | 383 * @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 D | SmilPlayer.java | 146 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 D | DataManager.java | 203 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 D | OpenWnnJAJP.java | 2549 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 D | UtilsTests.java | 400 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 D | Utils.java | 2051 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 D | legacy_contacts.sql | 66 CREATE TABLE sqlite_sequence(name,seq);
|
/packages/providers/ContactsProvider/tests/assets/test1/ |
H A D | legacy_contacts.sql | 96 CREATE TABLE sqlite_sequence(name,seq);
|
/packages/providers/ContactsProvider/tests/assets/testSynced/ |
H A D | legacy_contacts.sql | 122 CREATE TABLE sqlite_sequence(name,seq);
|