HomeSort by relevance Sort by last modified time
    Searched refs:COLLATOR (Results 1 - 4 of 4) sorted by null

  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
HanziToPinyin.java 22 import java.text.Collator;
28 * multiple possible pinyin string, only one is selected according to collator. Polyphone is not
246 private static final Collator COLLATOR = Collator.getInstance(Locale.CHINA);
295 final Locale locale[] = Collator.getAvailableLocales();
306 Log.w(TAG, "There is no Chinese collator, HanziToPinyin is disabled");
325 int cmp = COLLATOR.compare(lastString, curString);
351 cmp = COLLATOR.compare(letter, FIRST_PINYIN_UNIHAN);
360 cmp = COLLATOR.compare(letter, LAST_PINYIN_UNIHAN)
    [all...]
  /external/icu4c/test/cintltst/
usrchtst.c 60 log_err_status(*status, "Error opening collator\n");
157 * Getting the collator
159 static UCollator *getCollator(const char *collator)
161 if (collator == NULL) {
164 if (strcmp(collator, "fr") == 0) {
167 else if (strcmp(collator, "de") == 0) {
170 else if (strcmp(collator, "es") == 0) {
261 log_data_err("Opening collator failed.\n");
286 log_data_err("Opening collator failed.\n");
448 UCollator *collator = getCollator(search.collator) local
479 UCollator *collator = getCollator(search.collator); local
520 UCollator *collator = getCollator(search.collator); local
676 UCollator *collator = getCollator(search->collator); local
783 UCollator *collator = getCollator(search->collator); local
1556 UCollator *collator; local
1599 UCollator *collator; local
1766 UCollator *collator = getCollator(search->collator); local
1884 UCollator *collator = getCollator(search->collator); local
2170 UCollator *collator; local
2284 UCollator *collator = NULL; local
    [all...]
usrchdat.c 29 const char *collator; /* currently supported "fr" "es" "de", plus NULL/other => "en" */ member in struct:SearchData
232 static const SearchData COLLATOR[] = {
    [all...]
  /external/icu4c/test/intltest/
srchtest.cpp 30 dataerrln(__FILE__ " cannot test - failed to create collator."); \
48 m_en_us_ = (RuleBasedCollator *)Collator::createInstance("en_US", status);
49 m_fr_fr_ = (RuleBasedCollator *)Collator::createInstance("fr_FR", status);
50 m_de_ = (RuleBasedCollator *)Collator::createInstance("de_DE", status);
51 m_es_ = (RuleBasedCollator *)Collator::createInstance("es_ES", status);
61 errln("Collator creation failed with %s", u_errorName(status));
180 RuleBasedCollator * StringSearchTest::getCollator(const char *collator)
182 if (collator == NULL) {
185 if (strcmp(collator, "fr") == 0) {
188 else if (strcmp(collator, "de") == 0)
361 Collator *collator = getCollator(search->collator); local
418 Collator *collator = getCollator(search->collator); local
471 Collator *collator = getCollator(search->collator); local
805 RuleBasedCollator *collator = getCollator(search->collator); local
908 RuleBasedCollator *collator = getCollator(search->collator); local
1508 RuleBasedCollator *collator = new RuleBasedCollator(rules, local
1546 RuleBasedCollator *collator = new RuleBasedCollator(rules, local
1670 RuleBasedCollator *collator = getCollator(search->collator); local
1776 RuleBasedCollator *collator = getCollator(search->collator); local
2015 Collator *collator = strsrch->getCollator(); local
2113 RuleBasedCollator *collator = new RuleBasedCollator(rules, local
    [all...]

Completed in 993 milliseconds