/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
Collator.java | 29 * <li>PRIMARY strength: Typically, this is used to denote differences between 38 * primary difference anywhere in the strings. 45 * when there is a primary or secondary difference anywhere in the strings. 48 * (see Ignoring Punctuations in the user guide)</a> at PRIMARY to TERTIARY 52 * This difference is ignored when there is a PRIMARY, SECONDARY or TERTIARY 83 * // Get the Collator for US English and set its strength to PRIMARY 85 * usCollator.setStrength(Collator.PRIMARY); 149 public final static int PRIMARY = java.text.Collator.PRIMARY; 179 * (see Ignoring Punctuations in the user guide)</a> at PRIMARY to TERTIAR [all...] |
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
CollatorTest.java | 92 // PRIMARY 93 jdkColl.setStrength(Collator.PRIMARY); 94 icuColl.setStrength(com.ibm.icu.text.Collator.PRIMARY); 95 checkCollation(jdkColl, icuColl, TEST_DATA, "PRIMARY", loc);
|
/external/icu/icu4c/source/test/intltest/ |
ficoll.cpp | 65 // test primary > 4 80 myCollation->setStrength(Collator::PRIMARY);
|
escoll.cpp | 76 // test primary > 5 94 myCollation->setStrength(Collator::PRIMARY);
|
trcoll.cpp | 84 myCollation->setStrength(Collator::PRIMARY);
|
decoll.cpp | 87 // Primary Tertiary 127 myCollation->setStrength(Collator::PRIMARY);
|
mnkytst.cpp | 106 myCollator->setStrength(Collator::PRIMARY); 109 result = collationKey1.compareTo(collationKey2); // Primary 110 revResult = collationKey2.compareTo(collationKey1); // Primary 174 myCollator->setStrength(Collator::PRIMARY); 175 result = myCollator->compare(subs, subt); // Primary 176 revResult = myCollator->compare(subt, subs); // Primary
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
NameNormalizer.java | 50 sCachedCompressingCollator.setStrength(Collator.PRIMARY);
|
/packages/providers/ContactsProvider/tests/assets/upgradeTest/ |
contacts2_1108.sql | 3 CREATE TABLE _sync_state (_id INTEGER PRIMARY KEY,account_name TEXT NOT NULL,account_type TEXT NOT NULL,data TEXT,UNIQUE(account_name, account_type)); 6 CREATE TABLE properties (property_key TEXT PRIMARY KEY, property_value TEXT ); 14 CREATE TABLE accounts (_id INTEGER PRIMARY KEY AUTOINCREMENT,account_name TEXT, account_type TEXT, data_set TEXT); 15 CREATE TABLE contacts (_id INTEGER PRIMARY KEY AUTOINCREMENT,name_raw_contact_id INTEGER REFERENCES raw_contacts(_id),photo_id INTEGER REFERENCES data(_id),photo_file_id INTEGER REFERENCES photo_files(_id),custom_ringtone TEXT,send_to_voicemail INTEGER NOT NULL DEFAULT 0,times_contacted INTEGER NOT NULL DEFAULT 0,last_time_contacted INTEGER,starred INTEGER NOT NULL DEFAULT 0,pinned INTEGER NOT NULL DEFAULT 0,has_phone_number INTEGER NOT NULL DEFAULT 0,lookup TEXT,status_update_id INTEGER REFERENCES data(_id),contact_last_updated_timestamp INTEGER); 16 CREATE TABLE deleted_contacts (contact_id INTEGER PRIMARY KEY,contact_deleted_timestamp INTEGER NOT NULL default 0); 17 CREATE TABLE raw_contacts (_id INTEGER PRIMARY KEY AUTOINCREMENT,account_id INTEGER REFERENCES accounts(_id),sourceid TEXT,backup_id TEXT,raw_contact_is_read_only INTEGER NOT NULL DEFAULT 0,version INTEGER NOT NULL DEFAULT 1,dirty INTEGER NOT NULL DEFAULT 0,deleted INTEGER NOT NULL DEFAULT 0,metadata_dirty INTEGER NOT NULL DEFAULT 0,contact_id INTEGER REFERENCES contacts(_id),aggregation_mode INTEGER NOT NULL DEFAULT 0,aggregation_needed INTEGER NOT NULL DEFAULT 1,custom_ringtone TEXT,send_to_voicemail INTEGER NOT NULL DEFAULT 0,times_contacted INTEGER NOT NULL DEFAULT 0,last_time_contacted INTEGER,starred INTEGER NOT NULL DEFAULT 0,pinned INTEGER NOT NULL DEFAULT 0,display_name TEXT,display_name_alt TEXT,display_name_source INTEGER NOT NULL DEFAULT 0,phonetic_name TEXT,phonetic_name_style TEXT,sort_key TEXT COLLATE PHONEBOOK,phonebook_label TEXT,phonebook_bucket INTEGER,sort_key_alt TEXT COLLATE PHONEBOOK,phonebook_label_alt TEXT,phonebook_bucket_alt INTEGER,name_verified INTEGER NOT NULL DEFAULT 0,sync1 TEXT, sync2 TEXT, sync3 TEXT, sync4 TEXT ); 18 CREATE TABLE stream_items (_id INTEGER PRIMARY KEY AUTOINCREMENT, raw_contact_id INTEGER NOT NULL, res_package TEXT, icon TEXT, label TEXT, text TEXT, timestamp INTEGER NOT NULL, comments TEXT, stream_item_sync1 TEXT, stream_item_sync2 TEXT, stream_item_sync3 TEXT, stream_item_sync4 TEXT, FOREIGN KEY(raw_contact_id) REFERENCES raw_contacts(_id)); 19 CREATE TABLE stream_item_photos (_id INTEGER PRIMARY KEY AUTOINCREMENT, stream_item_id INTEGER NOT NULL, sort_index INTEGER, photo_file_id INTEGER NOT NULL, stream_item_photo_sync1 TEXT, stream_item_photo_sync2 TEXT, stream_item_photo_sync3 TEXT, stream_item_photo_sync4 TEXT, FOREIGN KEY(stream_item_id) REFERENCES stream_items(_id)); 20 CREATE TABLE photo_files (_id INTEGER PRIMARY KEY AUTOINCREMENT, height INTEGER NOT NULL, width INTEGER NOT NULL, filesize INTEGER NOT NULL); 21 CREATE TABLE packages (_id INTEGER PRIMARY KEY AUTOINCREMENT,package TEXT NOT NULL) [all...] |
/packages/providers/ContactsProvider/tests/assets/test1/ |
legacy_contacts.sql | 6 CREATE TABLE _sync_state (_id INTEGER PRIMARY KEY,_sync_account TEXT,data TEXT,UNIQUE(_sync_account)); 12 CREATE TABLE calls (_id INTEGER PRIMARY KEY AUTOINCREMENT,number TEXT,date INTEGER,duration INTEGER,type INTEGER,new INTEGER,name TEXT,numbertype INTEGER,numberlabel TEXT); 14 CREATE TABLE contact_methods (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES people(_id),kind INTEGER NOT NULL,data TEXT,aux_data TEXT,type INTEGER NOT NULL,label TEXT,isprimary INTEGER NOT NULL DEFAULT 0); 31 CREATE TABLE extensions (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT NOT NULL,value TEXT NOT NULL,person INTEGER REFERENCES people(_id),UNIQUE(person, name)); 32 CREATE TABLE fave_msg_status (_id INTEGER PRIMARY KEY, msg TEXT, next_retry INTEGER, num_retries INTEGER); 33 CREATE TABLE fave_phone_changes (_id INTEGER PRIMARY KEY, old_phone TEXT, new_phone TEXT, change_timestamp TEXT); 34 CREATE TABLE faves (_id INTEGER PRIMARY KEY, ui_pos INTEGER, phone TEXT NOT NULL, nickname TEXT NOT NULL, photo TEXT NOT NULL, timestamp TEXT NOT NULL, pending_phone TEXT, pending_nickname TEXT, pending_photo TEXT); 40 CREATE TABLE groupmembership (_id INTEGER PRIMARY KEY,person INTEGER REFERENCES people(_id),group_id INTEGER REFERENCES groups(_id),group_sync_account STRING,group_sync_id STRING); 47 CREATE TABLE groups (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,_sync_id TEXT,_sync_time TEXT,_sync_version TEXT,_sync_local_id INTEGER,_sync_dirty INTEGER NOT NULL DEFAULT 0,_sync_mark INTEGER,name TEXT NOT NULL,notes TEXT,should_sync INTEGER NOT NULL DEFAULT 0,system_id TEXT,UNIQUE(name,system_id,_sync_account)); 51 CREATE TABLE organizations (_id INTEGER PRIMARY KEY AUTOINCREMENT,company TEXT,title TEXT,isprimary INTEGER NOT NULL DEFAULT 0,type INTEGER NOT NU (…) [all...] |
/packages/providers/ContactsProvider/tests/assets/testSynced/ |
legacy_contacts.sql | 5 CREATE TABLE _sync_state (_id INTEGER PRIMARY KEY,_sync_account TEXT,data TEXT,UNIQUE(_sync_account)); 11 CREATE TABLE calls (_id INTEGER PRIMARY KEY AUTOINCREMENT,number TEXT,date INTEGER,duration INTEGER,type INTEGER,new INTEGER,name TEXT,numbertype INTEGER,numberlabel TEXT); 12 CREATE TABLE contact_methods (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES people(_id),kind INTEGER NOT NULL,data TEXT,aux_data TEXT,type INTEGER NOT NULL,label TEXT,isprimary INTEGER NOT NULL DEFAULT 0); 18 CREATE TABLE extensions (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT NOT NULL,value TEXT NOT NULL,person INTEGER REFERENCES people(_id),UNIQUE(person, name)); 19 CREATE TABLE fave_msg_status (_id INTEGER PRIMARY KEY, msg TEXT, next_retry INTEGER, num_retries INTEGER); 21 CREATE TABLE fave_phone_changes (_id INTEGER PRIMARY KEY, old_phone TEXT, new_phone TEXT, change_timestamp TEXT); 22 CREATE TABLE faves (_id INTEGER PRIMARY KEY, ui_pos INTEGER, phone TEXT NOT NULL, nickname TEXT NOT NULL, photo TEXT NOT NULL, timestamp TEXT NOT NULL, pending_phone TEXT, pending_nickname TEXT, pending_photo TEXT); 28 CREATE TABLE groupmembership (_id INTEGER PRIMARY KEY,person INTEGER REFERENCES people(_id),group_id INTEGER REFERENCES groups(_id),group_sync_account STRING,group_sync_id STRING); 40 CREATE TABLE groups (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,_sync_id TEXT,_sync_time TEXT,_sync_version TEXT,_sync_local_id INTEGER,_sync_dirty INTEGER NOT NULL DEFAULT 0,_sync_mark INTEGER,name TEXT NOT NULL,notes TEXT,should_sync INTEGER NOT NULL DEFAULT 0,system_id TEXT,UNIQUE(name,system_id,_sync_account)); 42 CREATE TABLE organizations (_id INTEGER PRIMARY KEY AUTOINCREMENT,company TEXT,title TEXT,isprimary INTEGER NOT NULL DEFAULT 0,type INTEGER NOT NU (…) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
CollationBuilder.java | 127 assert(Collator.PRIMARY <= strength && strength <= Collator.TERTIARY); 142 } else if(strength == Collator.PRIMARY) { 143 // root primary node (has no previous index) 147 "reset primary-before ignorable not possible"); 150 // There is no primary gap between ignorables and the space-first-primary. 152 "reset primary-before first non-ignorable not supported"); 157 "reset primary-before [first trailing] not supported"); 241 // If it is not, then return the low non-primary boundary for a tailored CE. 261 while(strengthFromNode(node) > Collator.PRIMARY) { [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
CollationBuilder.java | 123 assert(Collator.PRIMARY <= strength && strength <= Collator.TERTIARY); 138 } else if(strength == Collator.PRIMARY) { 139 // root primary node (has no previous index) 143 "reset primary-before ignorable not possible"); 146 // There is no primary gap between ignorables and the space-first-primary. 148 "reset primary-before first non-ignorable not supported"); 153 "reset primary-before [first trailing] not supported"); 237 // If it is not, then return the low non-primary boundary for a tailored CE. 257 while(strengthFromNode(node) > Collator.PRIMARY) { [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
CollationDummyTest.java | 60 {0x61, 0x63, 0x48, 0x63}, // primary test 100 {0x61, 0x43, 0x48, 0x63}, // primary test 149 // test primary > 17 195 // perform test with strength PRIMARY 198 myCollation.setStrength(Collator.PRIMARY); 250 // To compare them with just primary differences 251 coll.setStrength(Collator.PRIMARY); 339 * a primary ce of 0. 369 enColl.setStrength(Collator.PRIMARY); 370 myColl.setStrength(Collator.PRIMARY); [all...] |
CollationFinnishTest.java | 50 // test primary > 4 63 // perform tests with strength PRIMARY 66 myCollation.setStrength(Collator.PRIMARY);
|
CollationAPITest.java | 213 col.setStrength(Collator.PRIMARY); 214 logln("Use primary comparison level testing ...."); 278 * - requesting the order properties(primary, secondary or tertiary) 318 CollationElementIterator.primaryOrder(order3)), "The primary orders should be the same"); 328 CollationElementIterator.primaryOrder(order3)), "The primary orders should be identical"); 358 CollationElementIterator.primaryOrder(order3)), "The primary orders should be the same"); 369 CollationElementIterator.primaryOrder(order3)), "The primary orders should be identical"); 472 doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary difference"); 477 doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary difference") [all...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
CollationDummyTest.java | 56 {0x61, 0x63, 0x48, 0x63}, // primary test 96 {0x61, 0x43, 0x48, 0x63}, // primary test 145 // test primary > 17 191 // perform test with strength PRIMARY 194 myCollation.setStrength(Collator.PRIMARY); 246 // To compare them with just primary differences 247 coll.setStrength(Collator.PRIMARY); 335 * a primary ce of 0. 365 enColl.setStrength(Collator.PRIMARY); 366 myColl.setStrength(Collator.PRIMARY); [all...] |
CollationFinnishTest.java | 46 // test primary > 4 59 // perform tests with strength PRIMARY 62 myCollation.setStrength(Collator.PRIMARY);
|
CollationAPITest.java | 209 col.setStrength(Collator.PRIMARY); 210 logln("Use primary comparison level testing ...."); 274 * - requesting the order properties(primary, secondary or tertiary) 314 CollationElementIterator.primaryOrder(order3)), "The primary orders should be the same"); 324 CollationElementIterator.primaryOrder(order3)), "The primary orders should be identical"); 354 CollationElementIterator.primaryOrder(order3)), "The primary orders should be the same"); 365 CollationElementIterator.primaryOrder(order3)), "The primary orders should be identical"); 468 doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary difference"); 473 doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary difference") [all...] |
/libcore/ojluni/src/main/java/java/text/ |
Collator.java | 83 * comparisons. Four strengths are provided: <code>PRIMARY</code>, 87 * primary differences, while "e" and "ě" are secondary differences, 93 * //Get the Collator for US English and set its strength to PRIMARY 95 * usCollator.setStrength(Collator.PRIMARY); 126 * Collator strength value. When set, only PRIMARY differences are 129 * different base letters ("a" vs "b") to be considered a PRIMARY difference. 134 public final static int PRIMARY = 0; 162 * PRIMARY, SECONDARY, and TERTIARY levels but different at the IDENTICAL 372 * @see java.text.Collator#PRIMARY 390 * PRIMARY, SECONDARY, TERTIARY or IDENTICAL [all...] |
/external/gptfdisk/ |
mbrpart.cc | 99 includeAs = PRIMARY; 318 // If isGpt == 1, omits the "can be logical" and "can be primary" columns. 331 case PRIMARY: 332 cout << "primary";
|
mbr.cc | 67 partitions[0].SetInclusion(PRIMARY);
|
gpttext.cc | 439 hybridPart.SetInclusion(PRIMARY); 445 hybridPart.SetInclusion(PRIMARY); 462 hybridPart.SetInclusion(PRIMARY); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
CollatorTest.java | 40 assertTrue("a) Failed on primary difference", c.compare(o, o2) < 0); 53 assertTrue("a) Failed on primary expansion", 59 assertTrue("b) Failed on primary difference", c.compare(o, o2) < 0); 76 assertTrue("c) Failed on primary difference", c.compare(o, o2) < 0); 90 c.setStrength(Collator.PRIMARY); 93 assertTrue("d) Failed on primary difference", c.compare(o, o2) < 0); 128 assertTrue("a) Failed on primary difference", !c.equals("E", "F")); 136 assertTrue("b) Failed on primary difference", !c.equals("E", "F")); 144 assertTrue("c) Failed on primary difference", !c.equals("E", "F")); 151 c.setStrength(Collator.PRIMARY); [all...] |
/frameworks/base/core/java/android/widget/ |
AlphabetIndexer.java | 97 mCollator.setStrength(java.text.Collator.PRIMARY);
|