HomeSort by relevance Sort by last modified time
    Searched refs:Collator (Results 101 - 125 of 228) sorted by null

1 2 3 45 6 7 8 910

  /development/apps/Development/src/com/android/development/
AppHwConfigList.java 34 import java.text.Collator;
149 return collator.compare(sa, sb);
151 private final Collator collator = Collator.getInstance();
RunningProcesses.java 32 import java.text.Collator;
140 return collator.compare(sa, sb);
142 private final Collator collator = Collator.getInstance();
  /external/chromium/base/i18n/
file_util_icu.cc 91 // We are not sure if Collator::compare is thread-safe.
109 // Use the default collator. The default locale should have been properly
111 collator_.reset(icu::Collator::createInstance(error_code));
114 collator_->setStrength(icu::Collator::TERTIARY);
122 scoped_ptr<icu::Collator> collator_;
189 // ICU's collator can take strings in OS native encoding. But we convert the
  /external/chromium_org/base/i18n/
file_util_icu.cc 139 // Use the default collator. The default locale should have been properly
141 scoped_ptr<icu::Collator> collator(icu::Collator::createInstance(error_code));
144 collator->setStrength(icu::Collator::TERTIARY);
147 return base::i18n::CompareString16WithCollator(collator.get(),
153 return base::i18n::CompareString16WithCollator(collator.get(),
  /external/droiddriver/samples/testapp/src/com/google/android/apps/common/testing/ui/testapp/
MainActivity.java 15 import java.text.Collator;
31 private final Collator collator = Collator.getInstance();
35 return collator.compare(map1.get("title"), map2.get("title"));
  /external/icu4c/i18n/unicode/
alphaindex.h 75 class Collator;
178 * int32_t skLength = collator.getSortKey(name, sk, skCapacity);
287 ImmutableIndex(BucketList *bucketList, Collator *collatorPrimaryOnly)
291 Collator *collatorPrimaryOnly_;
311 * Construct an AlphabeticIndex that uses a specific collator.
316 * The index adopts the collator, and is responsible for deleting it.
317 * The caller should make no further use of the collator after creating the index.
319 * @param collator The collator to use to order the contents of this index.
324 AlphabeticIndex(RuleBasedCollator *collator, UErrorCode &status)
    [all...]
  /frameworks/base/core/java/android/content/pm/
PackageItemInfo.java 27 import java.text.Collator;
285 private final Collator sCollator = Collator.getInstance();
  /frameworks/base/core/java/android/widget/
AlphabetIndexer.java 63 * Use a collator to compare strings in a localized manner.
65 private java.text.Collator mCollator;
95 // Get a Collator for the current locale for string comparisons.
96 mCollator = java.text.Collator.getInstance();
97 mCollator.setStrength(java.text.Collator.PRIMARY);
  /libcore/benchmarks/src/benchmarks/regression/
ExpensiveObjectsBenchmark.java 55 Collator.getInstance(Locale.US);
60 Collator c = Collator.getInstance(Locale.US);
  /packages/apps/Settings/src/com/android/settings/
AppPicker.java 19 import java.text.Collator;
139 return collator.compare(a.label, b.label);
142 private final Collator collator = Collator.getInstance();
AppWidgetLoader.java 27 import java.text.Collator;
161 Collator mCollator = Collator.getInstance();
  /packages/apps/Settings/src/com/android/settings/accessibility/
LocalePreference.java 26 import java.text.Collator;
130 private static final Collator sCollator = Collator.getInstance();
  /external/chromium_org/v8/test/intl/overrides/
security.js 34 Intl.Collator = Intl.NumberFormat = Intl.DateTimeFormat = throwError;
36 Intl.Collator.prototype.compare = throwError;
41 assertThrows('new Intl.Collator()');
  /external/chromium_org/third_party/icu/source/i18n/unicode/
sortkey.h 44 * Collation keys are generated by the Collator class. Use the CollationKey objects
45 * instead of Collator to compare strings multiple times. A CollationKey
46 * preprocesses the comparison information from the Collator object to
48 * multiple times, then using the Collator object is generally faster,
52 * <p>When comparing "Abernathy" to "Baggins-Smythworthy", Collator
64 * Collator* myCollator = Collator::createInstance(success);
78 * <p>Because Collator::compare()'s algorithm is complex, it is faster to sort
79 * long lists of words by retrieving collation keys with Collator::getCollationKey().
82 * <strong>Note:</strong> <code>Collator</code>s with different Locale
    [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
rndmcoll.cpp 93 UBool operator()(Collator &coll, int count = 1000){
110 UBool check_transitivity(const Collator & coll, const UnicodeString &a, const UnicodeString &b, const UnicodeString &c){
161 Collator * c = new RuleBasedCollator(newRule,status);
164 errln( "Could not create Collator for the %d(th) generated rule.\n"
srchtest.h 39 RuleBasedCollator * getCollator(const char *collator);
42 Collator::ECollationStrength getECollationStrength(
  /external/chromium_org/v8/src/
i18n.cc 515 icu::Collator* CreateICUCollator(
519 // Make collator from options.
520 icu::Collator* collator = NULL; local
522 collator = icu::Collator::createInstance(icu_locale, status);
525 delete collator;
532 collator->setAttribute(
539 collator->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status);
544 collator->setAttribute(UCOL_CASE_FIRST, UCOL_UPPER_FIRST, status)
963 icu::Collator* collator = CreateICUCollator(isolate, icu_locale, options); local
    [all...]
  /external/icu4c/test/intltest/
rndmcoll.cpp 93 UBool operator()(Collator &coll, int count = 1000){
110 UBool check_transitivity(const Collator & coll, const UnicodeString &a, const UnicodeString &b, const UnicodeString &c){
161 Collator * c = new RuleBasedCollator(newRule,status);
164 errln( "Could not create Collator for the %d(th) generated rule.\n"
srchtest.h 39 RuleBasedCollator * getCollator(const char *collator);
42 Collator::ECollationStrength getECollationStrength(
ucaconf.cpp 28 UCA = (RuleBasedCollator *)Collator::createInstance(Locale::getRoot(), status);
30 dataerrln("Error - UCAConformanceTest: Unable to open UCA collator! - %s", u_errorName(status));
77 dataerrln("Failure creating UCA rule-based collator: %s", u_errorName(status));
81 dataerrln("Failure creating UCA rule-based collator: %s", u_errorName(status));
87 void UCAConformanceTest::setCollNonIgnorable(Collator *coll)
96 void UCAConformanceTest::setCollShifted(Collator *coll)
180 void UCAConformanceTest::testConformance(const Collator *coll)
  /external/chromium/chrome/browser/
background_application_list_model.cc 27 explicit ExtensionNameComparator(icu::Collator* collator);
31 icu::Collator* collator_;
34 ExtensionNameComparator::ExtensionNameComparator(icu::Collator* collator)
35 : collator_(collator) {
85 scoped_ptr<icu::Collator> collator(icu::Collator::createInstance(loc, error));
87 ExtensionNameComparator(collator.get()))
    [all...]
  /external/chromium/chrome/browser/autofill/
autofill_country.cc 376 // Returns an ICU collator -- i.e. string comparator -- appropriate for the
378 icu::Collator* GetCollatorForLocale(const std::string& locale);
380 // Returns the ICU sort key corresponding to |str| for the given |collator|.
384 const std::string GetSortKey(const icu::Collator& collator,
403 std::map<std::string, icu::Collator*> collators_;
466 const icu::Collator* collator = GetCollatorForLocale(locale); local
479 std::string sort_key = GetSortKey(*collator,
495 icu::Collator* collator = GetCollatorForLocale(locale) local
    [all...]
  /external/chromium_org/v8/test/intl/collator/
normalization.js 42 var collator = Intl.Collator([], {normalization: false}); variable
44 assertEquals(0, collator.compare(toCompare[0], toCompare[1]));
45 assertFalse(collator.resolvedOptions().hasOwnProperty('normalization'));
48 collator = Intl.Collator(['de-u-kk-false']);
50 assertEquals(0, collator.compare(toCompare[0], toCompare[1]));
51 assertFalse(collator.resolvedOptions().hasOwnProperty('normalization'));
54 collator = Intl.Collator();
    [all...]
  /packages/apps/Settings/src/com/android/settings/inputmethod/
InputMethodAndSubtypeEnabler.java 40 import java.text.Collator;
61 private Collator mCollator = Collator.getInstance();
94 mCollator = Collator.getInstance(locale);
384 private final Collator mCollator;
387 Context context, String subtypeLocale, String systemLocale, Collator collator) {
397 mCollator = collator;
  /external/icu4c/i18n/
sortkey.cpp 171 Collator::EComparisonResult
175 return static_cast<Collator::EComparisonResult>(compareTo(target, errorCode));

Completed in 2664 milliseconds

1 2 3 45 6 7 8 910