HomeSort by relevance Sort by last modified time
    Searched refs:PluralType (Results 1 - 25 of 31) sorted by null

1 2

  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
PluralRulesFactory.java 13 import android.icu.text.PluralRules.PluralType;
32 public PluralRules forLocale(ULocale locale, PluralType ordinal) {
PluralFormatUnitTest.java 31 import android.icu.text.PluralRules.PluralType;
91 PluralFormat de_fee_1 = new PluralFormat(ULocale.GERMAN, PluralType.CARDINAL, "other{fee}");
92 PluralFormat de_fee_2 = new PluralFormat(ULocale.GERMAN, PluralType.CARDINAL, "other{fee}");
93 PluralFormat de_fi = new PluralFormat(ULocale.GERMAN, PluralType.CARDINAL, "other{fi}");
94 PluralFormat fr_fee = new PluralFormat(ULocale.FRENCH, PluralType.CARDINAL, "other{fee}");
373 PluralFormat pf = new PluralFormat(ULocale.ENGLISH, PluralType.ORDINAL, pattern);
378 // Code coverage: Use the other new-for-PluralType constructor as well.
379 pf = new PluralFormat(ULocale.ENGLISH, PluralType.ORDINAL);
385 pf = new PluralFormat(Locale.ENGLISH, PluralType.ORDINAL);
PluralRulesTest.java 49 import android.icu.text.PluralRules.PluralType;
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
PluralRulesFactory.java 12 import com.ibm.icu.text.PluralRules.PluralType;
31 public PluralRules forLocale(ULocale locale, PluralType ordinal) {
PluralFormatUnitTest.java 30 import com.ibm.icu.text.PluralRules.PluralType;
90 PluralFormat de_fee_1 = new PluralFormat(ULocale.GERMAN, PluralType.CARDINAL, "other{fee}");
91 PluralFormat de_fee_2 = new PluralFormat(ULocale.GERMAN, PluralType.CARDINAL, "other{fee}");
92 PluralFormat de_fi = new PluralFormat(ULocale.GERMAN, PluralType.CARDINAL, "other{fi}");
93 PluralFormat fr_fee = new PluralFormat(ULocale.FRENCH, PluralType.CARDINAL, "other{fee}");
372 PluralFormat pf = new PluralFormat(ULocale.ENGLISH, PluralType.ORDINAL, pattern);
377 // Code coverage: Use the other new-for-PluralType constructor as well.
378 pf = new PluralFormat(ULocale.ENGLISH, PluralType.ORDINAL);
384 pf = new PluralFormat(Locale.ENGLISH, PluralType.ORDINAL);
PluralRulesTest.java 48 import com.ibm.icu.text.PluralRules.PluralType;
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
PluralFormat.java 22 import android.icu.text.PluralRules.PluralType;
187 init(null, PluralType.CARDINAL, ULocale.getDefault(Category.FORMAT), null);
197 init(null, PluralType.CARDINAL, ulocale, null);
219 init(rules, PluralType.CARDINAL, ULocale.getDefault(Category.FORMAT), null);
231 init(rules, PluralType.CARDINAL, ulocale, null);
253 public PluralFormat(ULocale ulocale, PluralType type) {
264 public PluralFormat(Locale locale, PluralType type) {
277 init(null, PluralType.CARDINAL, ULocale.getDefault(Category.FORMAT), null);
294 init(null, PluralType.CARDINAL, ulocale, null);
309 init(rules, PluralType.CARDINAL, ULocale.getDefault(Category.FORMAT), null)
    [all...]
PluralRules.java 232 public abstract PluralRules forLocale(ULocale locale, PluralType type);
244 return forLocale(locale, PluralType.CARDINAL);
340 public enum PluralType {
    [all...]
NFRule.java 436 PluralRules.PluralType pluralType;
438 pluralType = PluralRules.PluralType.CARDINAL;
441 pluralType = PluralRules.PluralType.ORDINAL;
446 rulePatternFormat = formatter.createPluralFormat(pluralType,
    [all...]
MessageFormat.java 43 import android.icu.text.PluralRules.PluralType;
    [all...]
RuleBasedNumberFormat.java     [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
PluralFormat.java 21 import com.ibm.icu.text.PluralRules.PluralType;
188 init(null, PluralType.CARDINAL, ULocale.getDefault(Category.FORMAT), null);
199 init(null, PluralType.CARDINAL, ulocale, null);
223 init(rules, PluralType.CARDINAL, ULocale.getDefault(Category.FORMAT), null);
236 init(rules, PluralType.CARDINAL, ulocale, null);
260 public PluralFormat(ULocale ulocale, PluralType type) {
272 public PluralFormat(Locale locale, PluralType type) {
286 init(null, PluralType.CARDINAL, ULocale.getDefault(Category.FORMAT), null);
304 init(null, PluralType.CARDINAL, ulocale, null);
320 init(rules, PluralType.CARDINAL, ULocale.getDefault(Category.FORMAT), null)
    [all...]
PluralRules.java 228 public abstract PluralRules forLocale(ULocale locale, PluralType type);
239 return forLocale(locale, PluralType.CARDINAL);
339 public enum PluralType {
    [all...]
NFRule.java 435 PluralRules.PluralType pluralType;
437 pluralType = PluralRules.PluralType.CARDINAL;
440 pluralType = PluralRules.PluralType.ORDINAL;
445 rulePatternFormat = formatter.createPluralFormat(pluralType,
    [all...]
MessageFormat.java 42 import com.ibm.icu.text.PluralRules.PluralType;
    [all...]
RuleBasedNumberFormat.java     [all...]
  /external/messageformat/java/com/ibm/icu/simple/
PluralRulesLoader.java 18 import com.ibm.icu.simple.PluralRules.PluralType;
43 private Map<String, String> getLocaleIdToRulesIdMap(PluralType type) {
45 return (type == PluralType.CARDINAL) ? localeIdToCardinalRulesId : localeIdToOrdinalRulesId;
103 public String getRulesIdForLocale(Locale locale, PluralType type) {
164 public PluralRules forLocale(Locale locale, PluralRules.PluralType type) {
PluralFormat.java 18 import com.ibm.icu.simple.PluralRules.PluralType;
187 init(null, PluralType.CARDINAL, Locale.getDefault()); // Category.FORMAT
198 init(null, PluralType.CARDINAL, locale);
209 public PluralFormat(Locale locale, PluralType type) {
226 private void init(PluralRules rules, PluralType type, Locale locale) {
MessageFormat.java 39 import com.ibm.icu.simple.PluralRules.PluralType;
    [all...]
PluralRules.java 214 public abstract PluralRules forLocale(Locale locale, PluralType type);
225 return forLocale(locale, PluralType.CARDINAL);
325 public enum PluralType {
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
PluralRulesLoader.java 23 import android.icu.text.PluralRules.PluralType;
51 Set<String> keys = getLocaleIdToRulesIdMap(PluralType.CARDINAL).keySet();
66 Map<String, String> idMap = getLocaleIdToRulesIdMap(PluralType.CARDINAL);
70 String rulesId = getRulesIdForLocale(locale, PluralType.CARDINAL);
87 private Map<String, String> getLocaleIdToRulesIdMap(PluralType type) {
89 return (type == PluralType.CARDINAL) ? localeIdToCardinalRulesId : localeIdToOrdinalRulesId;
166 public String getRulesIdForLocale(ULocale locale, PluralType type) {
239 public PluralRules forLocale(ULocale locale, PluralRules.PluralType type) {
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
PluralRulesLoader.java 22 import com.ibm.icu.text.PluralRules.PluralType;
49 Set<String> keys = getLocaleIdToRulesIdMap(PluralType.CARDINAL).keySet();
64 Map<String, String> idMap = getLocaleIdToRulesIdMap(PluralType.CARDINAL);
68 String rulesId = getRulesIdForLocale(locale, PluralType.CARDINAL);
85 private Map<String, String> getLocaleIdToRulesIdMap(PluralType type) {
87 return (type == PluralType.CARDINAL) ? localeIdToCardinalRulesId : localeIdToOrdinalRulesId;
164 public String getRulesIdForLocale(ULocale locale, PluralType type) {
237 public PluralRules forLocale(ULocale locale, PluralRules.PluralType type) {
  /frameworks/base/
preloaded-classes 111 [Landroid.icu.text.PluralRules$PluralType;
    [all...]
compiled-classes-phone     [all...]
  /prebuilts/misc/common/icu4j/
icu4j.jar 

Completed in 358 milliseconds

1 2