Home
last modified time | relevance | path

Searched refs:seq (Results 1 – 17 of 17) sorted by relevance

/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/format/
DPrefixHighligherTest.java40 CharSequence seq = mPrefixHighlighter.apply("", ""); in testApply_EmptyPrefix() local
41 SpannedTestUtils.assertNotSpanned(seq, ""); in testApply_EmptyPrefix()
43 seq = mPrefixHighlighter.apply("test", ""); in testApply_EmptyPrefix()
44 SpannedTestUtils.assertNotSpanned(seq, "test"); in testApply_EmptyPrefix()
50 CharSequence seq = mPrefixHighlighter.apply("test", prefix); in testSetText_MatchingPrefix() local
51 SpannedTestUtils.assertPrefixSpan(seq, 0, 1); in testSetText_MatchingPrefix()
53 seq = mPrefixHighlighter.apply("Test", prefix); in testSetText_MatchingPrefix()
54 SpannedTestUtils.assertPrefixSpan(seq, 0, 1); in testSetText_MatchingPrefix()
56 seq = mPrefixHighlighter.apply("TEst", prefix); in testSetText_MatchingPrefix()
57 SpannedTestUtils.assertPrefixSpan(seq, 0, 1); in testSetText_MatchingPrefix()
[all …]
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/list/
DContactListItemViewTest.java82 CharSequence seq = view.getNameTextView().getText(); in testShowDisplayName_WithPrefix() local
83 assertEquals("John Doe", seq.toString()); in testShowDisplayName_WithPrefix()
84 SpannedTestUtils.assertPrefixSpan(seq, 5, 7); in testShowDisplayName_WithPrefix()
94 CharSequence seq = view.getNameTextView().getText(); in testShowDisplayName_WithPrefixReversed() local
95 assertEquals("John Doe", seq.toString()); in testShowDisplayName_WithPrefixReversed()
96 SpannedTestUtils.assertPrefixSpan(seq, 5, 7); in testShowDisplayName_WithPrefixReversed()
104 CharSequence seq = view.getSnippetView().getText(); in testSetSnippet_Prefix() local
106 assertEquals("This is a test", seq.toString()); in testSetSnippet_Prefix()
107 SpannedTestUtils.assertPrefixSpan(seq, 10, 13); in testSetSnippet_Prefix()
/packages/apps/ContactsCommon/src/com/android/contacts/common/format/
DSpannedTestUtils.java57 public static void assertPrefixSpan(CharSequence seq, int start, int end) { in assertPrefixSpan() argument
58 Assert.assertTrue(seq instanceof Spanned); in assertPrefixSpan()
59 Spanned spannable = (Spanned) seq; in assertPrefixSpan()
79 public static void assertNotSpanned(CharSequence seq, String expected) { in assertNotSpanned() argument
80 Assert.assertFalse(seq instanceof Spanned); in assertNotSpanned()
81 Assert.assertEquals(expected, seq); in assertNotSpanned()
/packages/apps/Mms/src/com/android/mms/dom/smil/
DSmilPlayer.java146 ElementSequentialTimeContainer seq, double offset, double maxOffset) { in getSeqTimeline() argument
151 TimeList myBeginList = seq.getBegin(); in getSeqTimeline()
162 TimelineEntry myBegin = new TimelineEntry(beginOffset, seq, TimelineEntry.ACTION_BEGIN); in getSeqTimeline()
165 TimeList myEndList = seq.getEnd(); in getSeqTimeline()
175 TimelineEntry myEnd = new TimelineEntry(endOffset, seq, TimelineEntry.ACTION_END); in getSeqTimeline()
180 NodeList children = seq.getTimeChildren(); in getSeqTimeline()
191 NodeList activeChildrenAtEnd = seq.getActiveChildrenAt( in getSeqTimeline()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DOpenWnnJAJP.java2549 CharSequence seq = mInputConnection.getTextBeforeCursor(2, 0); in autoCommitEnglish() local
2550 Matcher m = mEnglishAutoCommitDelimiter.matcher(seq); in autoCommitEnglish()
2552 if ((seq.charAt(0) == ' ') && mEnableAutoDeleteSpace) { in autoCommitEnglish()
2554 CharSequence str = seq.subSequence(1, 2); in autoCommitEnglish()
2572 CharSequence seq = mInputConnection.getTextBeforeCursor(1, 0); in commitSpaceJustOne() local
2573 if (seq.charAt(0) != ' ') { in commitSpaceJustOne()
2993 …CharSequence seq = mInputConnection.getTextBeforeCursor(mPrevCommitText.length() + composingLength… in checkCommitInfo() local
2994 seq = seq.subSequence(0, seq.length() - composingLength); in checkCommitInfo()
2995 if (!seq.equals(mPrevCommitText.toString())) { in checkCommitInfo()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DLevenshteinSuggestionFormatter.java99 Token[] tokenize(final String seq) { in tokenize() argument
101 final int len = seq.length(); in tokenize()
102 final char[] chars = seq.toCharArray(); in tokenize()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDataManager.java203 String[] seq = Path.splitSequence(segment); in getMediaSetsFromString() local
204 int n = seq.length; in getMediaSetsFromString()
207 sets[i] = getMediaSet(seq[i]); in getMediaSetsFromString()
/packages/apps/Calendar/tests/src/com/android/calendar/
DUtilsTests.java400 CharSequence seq = text.subSequence(results[i*2], results[i*2 + 1]); in findPhoneNumber() local
401 assertEquals(matches[i], seq); in findPhoneNumber()
/packages/providers/ContactsProvider/tests/assets/testUnsynced/
Dlegacy_contacts.sql66 CREATE TABLE sqlite_sequence(name,seq); field
/packages/providers/ContactsProvider/tests/assets/testSynced/
Dlegacy_contacts.sql122 CREATE TABLE sqlite_sequence(name,seq); field
/packages/providers/ContactsProvider/tests/assets/test1/
Dlegacy_contacts.sql96 CREATE TABLE sqlite_sequence(name,seq); field
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java2044 CharSequence seq = spanText.subSequence(start, end); in spanWillOverlap() local
2045 Log.v(TAG, "Not linkifying " + seq + " as phone number due to overlap"); in spanWillOverlap()
/packages/inputmethods/LatinIME/dictionaries/
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz
Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...