/libcore/luni/src/main/java/java/text/ |
Collator.java | 35 * <li>PRIMARY strength: Typically, this is used to denote differences between 42 * the language. A secondary difference is ignored when there is a primary 49 * when there is a primary or secondary difference anywhere in the strings. 74 * // Get the Collator for US English and set its strength to PRIMARY 76 * usCollator.setStrength(Collator.PRIMARY); 130 public static final int PRIMARY = 0; 301 * @return the strength value, either PRIMARY, SECONDARY, TERTIARY or 330 * the strength value, either PRIMARY, SECONDARY, TERTIARY, or 364 case Collator.PRIMARY: 365 return com.ibm.icu4jni.text.Collator.PRIMARY; [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
CollatorTest.java | 30 collator.setStrength(Collator.PRIMARY); 31 assertEquals(Collator.PRIMARY, collator.getStrength()); 48 mColl.setStrength(Collator.PRIMARY); 63 mColl.setStrength(Collator.PRIMARY); 101 coll.setStrength(Collator.PRIMARY);
|
OldCollationKeyTest.java | 30 collator.setStrength(Collator.PRIMARY);
|
/libcore/luni/src/main/java/com/ibm/icu4jni/text/ |
Collator.java | 23 public final static int PRIMARY = CollationAttribute.VALUE_PRIMARY; 53 * (see Ignoring Punctuations in the user guide)</a> at PRIMARY to TERTIARY 130 * . // (no primary difference between "abc" and "ABC") 167 * E.g. with strength == PRIMARY, the secondary and tertiary difference 171 * @see #PRIMARY 193 * . myCollation.setStrength(PRIMARY); 199 * @see #PRIMARY
|
/packages/providers/ContactsProvider/tests/assets/testUnsynced/ |
legacy_contacts.sql | 5 CREATE TABLE _sync_state (_id INTEGER PRIMARY KEY,_sync_account TEXT,data TEXT,UNIQUE(_sync_account)); 10 CREATE TABLE calls (_id INTEGER PRIMARY KEY AUTOINCREMENT,number TEXT,date INTEGER,duration INTEGER,type INTEGER,new INTEGER,name TEXT,numbertype INTEGER,numberlabel TEXT); 11 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); 15 CREATE TABLE extensions (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT NOT NULL,value TEXT NOT NULL,person INTEGER REFERENCES people(_id),UNIQUE(person, name)); 16 CREATE TABLE fave_msg_status (_id INTEGER PRIMARY KEY, msg TEXT, next_retry INTEGER, num_retries INTEGER); 17 CREATE TABLE fave_phone_changes (_id INTEGER PRIMARY KEY, old_phone TEXT, new_phone TEXT, change_timestamp TEXT); 18 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); 24 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); 30 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)); 32 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/src/com/android/providers/contacts/ |
NameNormalizer.java | 33 sCompressingCollator.setStrength(Collator.PRIMARY);
|
/external/chromium/third_party/icu/source/test/intltest/ |
allcoll.cpp | 67 /* test primary > 17 */ 107 myCollation->setStrength(Collator::PRIMARY); 172 /* To compare them with just primary differences */ 173 coll->setStrength(Collator::PRIMARY);
|
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
|
/external/icu4c/test/intltest/ |
allcoll.cpp | 67 /* test primary > 17 */ 107 myCollation->setStrength(Collator::PRIMARY); 172 /* To compare them with just primary differences */ 173 coll->setStrength(Collator::PRIMARY);
|
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/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/chromium/third_party/icu/public/i18n/unicode/ |
tblcoll.h | 346 * . myCollation->setStrength(Collator::PRIMARY); 348 * . // (no primary difference between "abc" and "ABC") 569 * U_PRIMARY_TOO_LONG_ERROR if the primary for the variable top has more than two bytes 580 * U_PRIMARY_TOO_LONG_ERROR if the primary for the variable top has more than two bytes 653 * <p>E.g. with strength == PRIMARY, the secondary and tertiary difference 682 /* primary strength increment */ 688 /* mask off anything but primary order */ 696 /* use only the primary difference */ 698 /* use only the primary and secondary difference */ 700 /* primary order shift * [all...] |
coll.h | 123 * Five strengths are provided: <code>PRIMARY</code>, <code>SECONDARY</code>, 126 * For example, in Czech, "e" and "f" are considered primary differences, 133 * //Get the Collator for US English and set its strength to PRIMARY 136 * usCollator->setStrength(Collator::PRIMARY); 138 * cout << "'abc' and 'ABC' strings are equivalent with strength PRIMARY" << endl; 183 * Base letter represents a primary difference. Set comparison level to 184 * PRIMARY to ignore secondary and tertiary differences.<br> 186 * Example of primary difference, "abc" < "abd" 209 PRIMARY = 0, 572 * <p>E.g. with strength == PRIMARY, the secondary and tertiary differenc [all...] |
/external/icu4c/i18n/unicode/ |
tblcoll.h | 346 * . myCollation->setStrength(Collator::PRIMARY); 348 * . // (no primary difference between "abc" and "ABC") 569 * U_PRIMARY_TOO_LONG_ERROR if the primary for the variable top has more than two bytes 580 * U_PRIMARY_TOO_LONG_ERROR if the primary for the variable top has more than two bytes 653 * <p>E.g. with strength == PRIMARY, the secondary and tertiary difference 682 /* primary strength increment */ 688 /* mask off anything but primary order */ 696 /* use only the primary difference */ 698 /* use only the primary and secondary difference */ 700 /* primary order shift * [all...] |
/external/v8/src/ |
compiler.h | 44 // Compilation mode. Either the compiler is used as the primary 49 PRIMARY, 187 mode_ = PRIMARY;
|
/frameworks/base/core/java/android/widget/ |
AlphabetIndexer.java | 97 mCollator.setStrength(java.text.Collator.PRIMARY);
|