/packages/apps/Settings/src/com/android/settings/inputmethod/ |
InputMethodPreference.java | 46 import java.text.Collator; 58 private final Collator mCollator; 100 mCollator = Collator.getInstance(fragment.getResources().getConfiguration().locale);
|
/external/chromium/chrome/browser/bookmarks/ |
bookmark_model.cc | 99 explicit SortComparator(icu::Collator* collator) : collator_(collator) { } 115 icu::Collator* collator_; 436 scoped_ptr<icu::Collator> collator( 437 icu::Collator::createInstance( 441 collator.reset(NULL); 445 SortComparator(collator.get()));
|
/external/icu4c/i18n/ |
nfrule.cpp | 1139 RuleBasedCollator* collator = (RuleBasedCollator*)formatter->getCollator(); local 1441 RuleBasedCollator* collator = (RuleBasedCollator*)(formatter->getCollator()); local [all...] |
ucol_imp.h | 97 * uint32_t options; - offset to default collator options (UColOptionSet *), 340 uprv_init_collIterate(const UCollator *collator, 460 #define init_collIterate(collator, sourceString, sourceLen, s) { \ 467 (s)->coll = (collator); \ 470 if(((collator)->normalizationMode == UCOL_ON)) (s)->flags |= UCOL_ITER_NORM; \ 480 * Hence we only have to search the tailored collator only. 582 * Makes a copy of the Collator's rule data. The format is 594 * Used to set requested and valid locales on a collator returned by the collator [all...] |
sortkey.cpp | 171 Collator::EComparisonResult 175 return static_cast<Collator::EComparisonResult>(compareTo(target, errorCode));
|
/external/icu4c/test/cintltst/ |
cmsccoll.c | 49 typedef UCollationResult tst_strcoll(void *collator, const int object, 269 log_err_status(status, "ERROR: in creation of rule based collator: %s\n", myErrorName(status)); 659 static UCollationResult ucaTest(void *collator, const int object, const UChar *source, const int sLen, const UChar *target, const int tLen) { 660 UCollator *UCA = (UCollator *)collator; 665 static UCollationResult winTest(void *collator, const int object, const UChar *source, const int sLen, const UChar *target, const int tLen) { 667 LCID lcid = (LCID)collator; 675 static UCollationResult swampEarlier(tst_strcoll* func, void *collator, int opts, 687 return func(collator, opts, source, sLen+1, target, tLen+1); 690 static UCollationResult swampLater(tst_strcoll* func, void *collator, int opts, 702 return func(collator, opts, source, sLen+1, target, tLen+1) [all...] |
cdetst.c | 107 log_err_status(status, "ERROR: in creation of rule based collator: %s\n", myErrorName(status)); 127 log_err_status(status, "ERROR: %s: in creation of rule based collator: %s\n", __FILE__, myErrorName(status));
|
citertst.c | 86 log_err_status(status, "ERROR: in creation of either the collator or the collation iterator :%s\n", 105 log_err("ERROR: setting offset in collator :%s\n", 121 log_err("ERROR: setting offset in collator :%s\n", 162 log_err_status(status, "ERROR: in creation of either the collator or the collation iterator :%s\n", 181 log_err("ERROR: setting offset in collator :%s\n", 197 log_err("ERROR: setting offset in collator :%s\n", 375 log_err_status(status, "ERROR: in creation of collator using ucol_openRules()\n %s\n", 395 log_err("ERROR: in creation of collator element iterator\n %s\n", 405 log_err("ERROR: in creation of collator element iterator\n %s\n", 911 log_err_status(status, "Couldn't open collator -> %s\n", u_errorName(status)) [all...] |
cfrtst.c | 150 log_err_status(status, "ERROR: in creation of rule based collator: %s\n", myErrorName(status)); 156 log_err("ERROR: in creation of rule based collator: %s\n", myErrorName(status)); 175 log_err_status(status, "ERROR: in creation of rule based collator: %s\n", myErrorName(status)); 180 log_err("ERROR: in creation of rule based collator: %s\n", myErrorName(status)); 205 log_err_status(status, "ERROR: in creation of rule based collator: %s\n", myErrorName(status)); 317 log_data_err("error opening collator -> %s. (Are you missing data?)\n", u_errorName(status));
|
/external/icu4c/common/unicode/ |
uvernum.h | 146 * Version info that can be obtained from a collator is affected by these 147 * numbers in a secret and magic way. Please use collator version as whole
|
/libcore/luni/src/test/java/libcore/java/util/ |
LocaleTest.java | 20 import java.text.Collator; 127 assertOnce(newLocale, Collator.getAvailableLocales());
|
OldTreeMapTest.java | 22 import java.text.Collator; 264 // Regression for ill-behaved collator 265 Collator c = new Collator() {
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
Utils.java | 52 import java.text.Collator; 433 final Collator collator = Collator.getInstance(); local 453 return collator.compare(c1.mCityName, c2.mCityName);
|
/external/icu4c/test/intltest/ |
ssearch.cpp | 213 // Get the collator normalization flag. Default is UCOL_OFF. 288 // Open a collator and StringSearch based on the parameters 292 LocalUCollatorPointer collator(ucol_open(clocale, &status)); 293 ucol_setStrength(collator.getAlias(), collatorStrength); 294 ucol_setAttribute(collator.getAlias(), UCOL_NORMALIZATION_MODE, normalize, &status); 295 ucol_setAttribute(collator.getAlias(), UCOL_ALTERNATE_HANDLING, alternateHandling, &status); 298 collator.getAlias(), 336 collator.getAlias(), 442 errln("Could not open collator for %s", testCases[t].locale); 551 // Get the collator normalization flag. Default is UCOL_OFF 630 UCollator *collator = ucol_open(clocale, &status); local [all...] |
alphaindextst.cpp | 93 // Constructor from a Collator 96 RuleBasedCollator *coll = dynamic_cast<RuleBasedCollator *>(Collator::createInstance(Locale::getChinese(), status)); 102 assertEquals("only the underflow label in an index built from a collator", 143 Collator *germanCol = Collator::createInstance(Locale::getGerman(), status); 549 static_cast<RuleBasedCollator *>(Collator::createInstance(Locale::getRoot(), status))); 552 dataerrln("Failed Collator::createInstance call - %s", u_errorName(status)); 579 static_cast<RuleBasedCollator *>(Collator::createInstance(Locale::getChinese(), status))); 581 dataerrln("Failed Collator::createInstance call - %s", u_errorName(status)); 651 static_cast<RuleBasedCollator *>(Collator::createInstance(Locale::getRoot(), status))) [all...] |
itmajor.cpp | 74 logln("TestSuite Collator---"); logln();
|
/packages/apps/Settings/src/com/android/settings/applications/ |
ApplicationsState.java | 26 import java.text.Collator; 164 private final Collator sCollator = Collator.getInstance(); 180 private final Collator sCollator = Collator.getInstance(); 191 private final Collator sCollator = Collator.getInstance(); 202 private final Collator sCollator = Collator.getInstance(); [all...] |
/frameworks/base/core/java/android/content/pm/ |
PackageItemInfo.java | 27 import java.text.Collator; 285 private final Collator sCollator = Collator.getInstance();
|
ResolveInfo.java | 26 import java.text.Collator; 342 private final Collator sCollator = Collator.getInstance();
|
/external/icu4c/common/ |
ucol_data.h | 38 uint32_t options; /* these are the default options for the collator */
|
/external/icu4c/i18n/unicode/ |
coleitr.h | 92 * character based on the comparison level of the collator. 94 * previous character based on the comparison level of the collator. 111 * Character based on the comparison level of the collator. A collation order 116 * @see Collator
|
/external/webkit/Source/JavaScriptCore/wtf/ |
CMakeLists.txt | 105 unicode/Collator.h
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
SearchIndexManagerTest.java | 35 import java.text.Collator; 74 if (!Arrays.asList(Collator.getAvailableLocales()).contains(Locale.CHINA)) { 90 if (!Arrays.asList(Collator.getAvailableLocales()).contains(Locale.CHINA)) { 110 if (!Arrays.asList(Collator.getAvailableLocales()).contains(Locale.KOREA)) { 126 if (!Arrays.asList(Collator.getAvailableLocales()).contains(Locale.KOREA)) { 150 if (!Arrays.asList(Collator.getAvailableLocales()).contains(Locale.KOREA)) {
|
/external/chromium/chrome/browser/task_manager/ |
task_manager.cc | 285 static icu::Collator* collator = NULL; 286 if (!collator) { 288 collator = icu::Collator::createInstance(create_status); 290 collator = NULL; 297 UCollationResult compare_result = collator->compare( [all...] |
/frameworks/base/core/java/android/widget/ |
AppSecurityPermissions.java | 40 import java.text.Collator; 582 private final Collator sCollator = Collator.getInstance(); 597 private final Collator sCollator = Collator.getInstance();
|