Home
last modified time | relevance | path

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

/packages/apps/Contacts/tests/src/com/android/contacts/format/
DTextHighlighterTest.java42 CharSequence seq = mTextHighlighter.applyPrefixHighlight("", ""); in testApply_EmptyPrefix() local
43 SpannedTestUtils.assertNotSpanned(seq, ""); in testApply_EmptyPrefix()
45 seq = mTextHighlighter.applyPrefixHighlight("test", ""); in testApply_EmptyPrefix()
46 SpannedTestUtils.assertNotSpanned(seq, "test"); in testApply_EmptyPrefix()
52 CharSequence seq = mTextHighlighter.applyPrefixHighlight("test", prefix); in testSetText_MatchingPrefix() local
53 SpannedTestUtils.assertPrefixSpan(seq, 0, 1); in testSetText_MatchingPrefix()
55 seq = mTextHighlighter.applyPrefixHighlight("Test", prefix); in testSetText_MatchingPrefix()
56 SpannedTestUtils.assertPrefixSpan(seq, 0, 1); in testSetText_MatchingPrefix()
58 seq = mTextHighlighter.applyPrefixHighlight("TEst", prefix); in testSetText_MatchingPrefix()
59 SpannedTestUtils.assertPrefixSpan(seq, 0, 1); in testSetText_MatchingPrefix()
[all …]
DSpannedTestUtils.java56 public static void assertPrefixSpan(CharSequence seq, int start, int end) { in assertPrefixSpan() argument
57 Assert.assertTrue(seq instanceof Spanned); in assertPrefixSpan()
58 Spanned spannable = (Spanned) seq; in assertPrefixSpan()
78 public static void assertNotSpanned(CharSequence seq, String expected) { in assertNotSpanned() argument
79 Assert.assertFalse(seq instanceof Spanned); in assertNotSpanned()
80 Assert.assertEquals(expected, seq); in assertNotSpanned()
83 public static int getNextTransition(SpannableString seq, int start) { in getNextTransition() argument
84 return seq.nextSpanTransition(start, seq.length(), StyleSpan.class); in getNextTransition()
/packages/apps/Contacts/tests/src/com/android/contacts/list/
DContactListItemViewTest.java80 CharSequence seq = view.getNameTextView().getText(); in testShowDisplayName_WithPrefix() local
81 assertEquals("John Doe", seq.toString()); in testShowDisplayName_WithPrefix()
82 SpannedTestUtils.assertPrefixSpan(seq, 5, 7); in testShowDisplayName_WithPrefix()
85 assertFalse("John Doe".equals(seq)); in testShowDisplayName_WithPrefix()
95 CharSequence seq = view.getNameTextView().getText(); in testShowDisplayName_WithPrefixReversed() local
96 assertEquals("John Doe", seq.toString()); in testShowDisplayName_WithPrefixReversed()
97 SpannedTestUtils.assertPrefixSpan(seq, 5, 7); in testShowDisplayName_WithPrefixReversed()
105 CharSequence seq = view.getSnippetView().getText(); in testSetSnippet_Prefix() local
107 assertEquals("This is a test", seq.toString()); in testSetSnippet_Prefix()
108 SpannedTestUtils.assertPrefixSpan(seq, 10, 13); in testSetSnippet_Prefix()
/packages/apps/Messaging/tools/messagegen/
Dfillsms134 for k in `seq 1 $words`;
174 for i in `seq 1 $num_of_threads`;
201 for j in `seq 1 $sms_per_thread`;
214 for j in `seq 1 $mms_per_thread`;
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DSuppressorHelper.java42 final CharSequence seq = info.loadLabel(pm); in getSuppressorCaption() local
43 if (seq != null) { in getSuppressorCaption()
44 final String str = seq.toString().trim(); in getSuppressorCaption()
/packages/apps/Settings/src/com/android/settings/notification/
DSuppressorHelper.java42 final CharSequence seq = info.loadLabel(pm); in getSuppressorCaption() local
43 if (seq != null) { in getSuppressorCaption()
44 final String str = seq.toString().trim(); in getSuppressorCaption()
/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/UnifiedEmail/src/com/google/android/mail/common/base/
DUnicodeEscaper.java389 protected static final int codePointAt(CharSequence seq, int index, int end) { in codePointAt() argument
391 char c1 = seq.charAt(index++); in codePointAt()
402 char c2 = seq.charAt(index); in codePointAt()
/packages/providers/MediaProvider/tests/res/raw/
Dtest_wpl.wpl12 <seq>
16 </seq>
/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/services/Car/tests/carservice_test/src/com/android/car/
DVmsPublisherSubscriberTest.java586 for (int seq = 1; seq <= sequenceNumber; seq++) { in receiveWithSequence()
589 assertEquals(seq, sequenceNumberFn.applyAsInt(obj)); in receiveWithSequence()
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java964 public final int seq; field in ApfFilter.TcpKeepaliveAck.TcpKeepaliveAckData
973 seq = sentKeepalivePacket.ack; in TcpKeepaliveAckData()
974 ack = sentKeepalivePacket.seq + 1; in TcpKeepaliveAckData()
986 mPacket.dstPort, mPacket.seq, mPacket.ack); in TcpKeepaliveAck()
989 static byte[] generatePortSeqAckFingerprint(int srcPort, int dstPort, int seq, int ack) { in generatePortSeqAckFingerprint() argument
994 fp.putInt(seq); in generatePortSeqAckFingerprint()
1006 Integer.toUnsignedLong(mPacket.seq), in toString()
/packages/apps/Browser2/
Drun_startup_time_test.sh25 for i in $(seq 1 100); do
/packages/apps/TV/tests/input/tools/
Dget_test_logos.sh49 for n in `seq 1 80`;
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTest.java1561 parcel.seq = seqNum; in testApfFilterKeepaliveAck()
1600 ipv6Parcel.seq = seqNum; in testApfFilterKeepaliveAck()
1686 int dport, int seq, int ack, int dataLength) { in ipv4Packet() argument
1702 packet.putInt(IPV4_TCP_SEQ_NUM_OFFSET, seq); in ipv4Packet()
1713 int dport, int seq, int ack) { in ipv6Packet() argument
1720 packet.putInt(IPV6_TCP_SEQ_NUM_OFFSET, seq); in ipv6Packet()
/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/inputmethods/LatinIME/dictionaries/
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz
Dpt_PT_wordlist.combined.gz