/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
CollatorTest.java | 13 import com.ibm.icu.text.Collator; 24 * Test method for 'com.ibm.icu.text.Collator.hashCode()' 27 Collator c = Collator.getInstance(); 28 c.setStrength(Collator.SECONDARY); 29 Collator c2 = Collator.getInstance(); 30 c2.setStrength(Collator.SECONDARY); 31 Collator cn = Collator.getInstance() [all...] |
CollationKeyTest.java | 11 import com.ibm.icu.text.Collator; 19 Collator c = Collator.getInstance(); 20 c.setStrength(Collator.PRIMARY); 23 c.setStrength(Collator.TERTIARY); 39 Collator c = Collator.getInstance(); 40 c.setStrength(Collator.PRIMARY); 43 c.setStrength(Collator.TERTIARY); 53 Collator c = Collator.getInstance() [all...] |
/external/icu/icu4c/source/test/intltest/ |
allcoll.cpp | 38 errcheckln(status, "ERROR: in creation of rule based collator from ruleset - %s", u_errorName(status)); 49 const Collator::EComparisonResult CollationDummyTest::results[] = { 50 Collator::LESS, 51 Collator::LESS, /*Collator::GREATER,*/ 52 Collator::LESS, 53 Collator::LESS, 54 Collator::LESS, 55 Collator::LESS, 56 Collator::LESS [all...] |
tscoll.h | 33 void doTest(Collator* col, const UChar *source, const UChar *target, Collator::EComparisonResult result); 35 void doTest(Collator* col, const UnicodeString &source, const UnicodeString &target, Collator::EComparisonResult result); 36 void doTestVariant(Collator* col, const UnicodeString &source, const UnicodeString &target, Collator::EComparisonResult result); 39 Collator::EComparisonResult compareResult, 40 Collator::EComparisonResult keyResult, 41 Collator::EComparisonResult incResult, 42 Collator::EComparisonResult expectedResult ) [all...] |
decoll.cpp | 39 myCollation = Collator::createInstance(Locale::getGermany(), status); 85 const Collator::EComparisonResult CollationGermanTest::results[][2] = 88 { Collator::LESS, Collator::LESS }, 89 { Collator::EQUAL, Collator::LESS }, 90 { Collator::GREATER, Collator::GREATER }, 91 { Collator::GREATER, Collator::GREATER } [all...] |
ucaconf.h | 38 void setCollNonIgnorable(Collator *coll); 39 void setCollShifted(Collator *coll); 40 void testConformance(const Collator *coll); 44 Collator *rbUCA;
|
trcoll.cpp | 22 myCollation = Collator::createInstance(Locale("tr", "", ""),status); 58 const Collator::EComparisonResult CollationTurkishTest::results[] = { 59 Collator::LESS, 60 Collator::LESS, 61 Collator::LESS, 62 Collator::LESS, 63 Collator::GREATER, 64 Collator::LESS, 65 Collator::LESS, 66 Collator::GREATER [all...] |
decoll.h | 43 static const Collator::EComparisonResult results[][2]; 45 Collator *myCollation;
|
escoll.h | 42 static const Collator::EComparisonResult results[]; 44 Collator *myCollation;
|
ficoll.h | 41 static const Collator::EComparisonResult results[]; 43 Collator *myCollation;
|
lcukocol.h | 33 static const Collator::EComparisonResult results[]; 35 Collator *myCollation;
|
trcoll.h | 42 static const Collator::EComparisonResult results[]; 44 Collator *myCollation;
|
escoll.cpp | 38 myCollation = Collator::createInstance(Locale("es", "ES", ""),status); 70 const Collator::EComparisonResult CollationSpanishTest::results[] = { 71 Collator::LESS, 72 Collator::LESS, 73 Collator::GREATER, 74 Collator::LESS, 75 Collator::LESS, 77 Collator::LESS, 78 Collator::EQUAL, 79 Collator::LESS [all...] |
/packages/apps/Contacts/src/com/android/contacts/util/ |
PhonebookCollatorFactory.java | 19 import java.text.Collator; 23 * Returns the collator that can be used to sort contact list entries. This 24 * collator is the same as the one that is used in sqlite. 27 public static final Collator getCollator() { 28 return Collator.getInstance(Locale.getDefault());
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
CollationKeyTest.java | 20 import java.text.Collator; 31 Collator collator = Collator.getInstance(); local 32 collator.setStrength(Collator.PRIMARY); 33 CollationKey key1 = collator.getCollationKey("abc"); 34 CollationKey key2 = collator.getCollationKey("ABC"); 44 Collator collator = Collator.getInstance() local 55 Collator collator = Collator.getInstance(); local 66 Collator collator = Collator.getInstance(); local 78 Collator collator = Collator.getInstance(); local 91 Collator collator = Collator.getInstance(); local [all...] |
CollatorTest.java | 19 import java.text.Collator; 27 Collator c = Collator.getInstance(Locale.GERMAN); 28 Collator c2 = (Collator) c.clone(); 34 Collator c = Collator.getInstance(Locale.FRENCH); 37 c.setStrength(Collator.IDENTICAL); 56 c.setStrength(Collator.TERTIARY); 73 c.setStrength(Collator.SECONDARY) 187 RuleBasedCollator collator; local 209 RuleBasedCollator collator = new RuleBasedCollator("&9 ; \\u0300 < a, A < b < c < d"); local [all...] |
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
CollatorICU.java | 11 import com.ibm.icu.text.Collator; 14 * CollatorICU is an adapter class which wraps ICU4J Collator and 15 * implements java.text.Collator APIs. 17 public class CollatorICU extends java.text.Collator { 19 private Collator fIcuCollator; 21 private CollatorICU(Collator icuCollator) { 25 public static java.text.Collator wrap(Collator icuCollator) { 29 public Collator unwrap() { 36 other.fIcuCollator = (Collator)fIcuCollator.clone() [all...] |
/libcore/ojluni/src/main/java/java/text/ |
Collator.java | 47 * The <code>Collator</code> class performs locale-sensitive 52 * <code>Collator</code> is an abstract base class. Subclasses 61 * <code>Collator</code> object for a given locale. You will only need 62 * to look at the subclasses of <code>Collator</code> if you need 68 * the <code>Collator</code> for the default locale. 72 * Collator myCollator = Collator.getInstance(); 81 * You can set a <code>Collator</code>'s <em>strength</em> property 93 * //Get the Collator for US English and set its strength to PRIMARY 94 * Collator usCollator = Collator.getInstance(Locale.US) [all...] |
/libcore/ojluni/src/main/java/java/text/spi/ |
CollatorProvider.java | 28 import java.text.Collator; 35 * {@link java.text.Collator Collator} class. 49 * Returns a new <code>Collator</code> instance for the specified locale. 51 * @return the <code>Collator</code> for the desired locale. 58 * @see java.text.Collator#getInstance(java.util.Locale) 60 public abstract Collator getInstance(Locale locale);
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
Collator.java | 16 * {@icuenhanced java.text.Collator}.{@icu _usage_} 18 * <p>Collator performs locale-sensitive string comparison. A concrete 67 * Unlike the JDK, ICU4J's Collator deals only with 2 decomposition modes, 69 * The compatibility decomposition mode, java.text.Collator.FULL_DECOMPOSITION 71 * decomposition mode is set, the Collator handles un-normalized text properly, 83 * // Get the Collator for US English and set its strength to PRIMARY 84 * Collator usCollator = Collator.getInstance(Locale.US); 85 * usCollator.setStrength(Collator.PRIMARY); 91 * Collator for the default locale 121 private final java.text.Collator collator; field in class:Collator [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
CollationServiceTest.java | 9 package android.icu.dev.test.collator; 22 import android.icu.text.Collator; 23 import android.icu.text.Collator.CollatorFactory; 36 Collator frcol = Collator.getInstance(ULocale.FRANCE); 37 Collator uscol = Collator.getInstance(ULocale.US); 39 { // try override en_US collator 40 Object key = Collator.registerInstance(frcol, ULocale.US); 41 Collator ncol = Collator.getInstance(ULocale.US) 132 Collator collator; field in class:CollationServiceTest.CollatorInfo [all...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
CollationServiceTest.java | 8 package com.ibm.icu.dev.test.collator; 21 import com.ibm.icu.text.Collator; 22 import com.ibm.icu.text.Collator.CollatorFactory; 32 Collator frcol = Collator.getInstance(ULocale.FRANCE); 33 Collator uscol = Collator.getInstance(ULocale.US); 35 { // try override en_US collator 36 Object key = Collator.registerInstance(frcol, ULocale.US); 37 Collator ncol = Collator.getInstance(ULocale.US) 128 Collator collator; field in class:CollationServiceTest.CollatorInfo [all...] |
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
PrettyPrinterTest.java | 9 import java.text.Collator; 24 Collator spaceComp = Collator.getInstance(Locale.ENGLISH); 25 spaceComp.setStrength(Collator.PRIMARY); 28 .setOrdering(Collator.getInstance(Locale.ENGLISH))
|
/libcore/luni/src/test/java/libcore/java/text/ |
CollatorTest.java | 21 import java.text.Collator; 29 Collator collator = Collator.getInstance(); local 30 collator.setStrength(Collator.PRIMARY); 31 assertEquals(Collator.PRIMARY, collator.getStrength()); 32 collator.setStrength(Collator.SECONDARY) [all...] |
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
CollatorTest.java | 10 import java.text.Collator; 26 for (Locale loc : Collator.getAvailableLocales()) { 32 Collator coll = Collator.getInstance(loc); 38 errln("FAIL: getInstance returned JDK Collator for locale " + loc); 42 logln("INFO: getInstance returned ICU Collator for locale " + loc); 45 Collator collIcu = Collator.getInstance(iculoc); 48 errln("FAIL: getInstance returned ICU Collator for locale " + loc 53 errln("FAIL: getInstance returned JDK Collator for locale " + iculoc) [all...] |