Home | History | Annotate | Download | only in text

Lines Matching refs:collator

18 import android.icu.text.Collator;
26 * implementation behind setLenientParseMode, which is based on Collator.
62 * The Collator used is determined by the locale that was
65 * end of the default collator for the locale, enabling additional equivalences
99 RuleBasedCollator collator = null;
101 // create a default collator based on the locale,
102 // then pull out that collator's rules, append any additional
104 // collator based on the combination of those rules
105 collator = (RuleBasedCollator)Collator.getInstance(locale.toLocale());
107 String rules = collator.getRules() + extras;
108 collator = new RuleBasedCollator(rules);
110 collator.setDecomposition(Collator.CANONICAL_DECOMPOSITION);
119 collator = null;
123 return new RbnfLenientScannerImpl(collator);
127 private final RuleBasedCollator collator;
130 this.collator = rbc;
134 CollationElementIterator iter = collator.getCollationElementIterator(s);
174 CollationElementIterator strIter = collator.getCollationElementIterator(str);
175 CollationElementIterator keyIter = collator.getCollationElementIterator(key);
231 CollationElementIterator strIter = collator.getCollationElementIterator(str);
232 CollationElementIterator prefixIter = collator.getCollationElementIterator(prefix);