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

1 2

  /external/icu/android_icu4j/src/main/java/android/icu/text/
PluralSamples.java 22 import android.icu.text.PluralRules.FixedDecimal;
23 import android.icu.text.PluralRules.KeywordStatus;
37 private PluralRules pluralRules;
54 public PluralSamples(PluralRules pluralRules) {
55 this.pluralRules = pluralRules;
56 Set<String> keywords = pluralRules.getKeywords();
66 temp.put(k, pluralRules.isLimited(k))
    [all...]
CurrencyPluralInfo.java 98 public PluralRules getPluralRules() {
99 return pluralRules;
144 pluralRules = PluralRules.createRules(ruleDescription);
179 //other.pluralRules = pluralRules;
199 return pluralRules.equals(other.pluralRules) &&
226 return pluralRules.select(number);
236 String select(PluralRules.FixedDecimal numberInfo)
    [all...]
CompactDecimalFormat.java 28 import android.icu.text.PluralRules.FixedDecimal;
65 private final PluralRules pluralRules;
112 this.pluralRules = PluralRules.forLocale(locale);
123 // for (String key : pluralRules.getKeywords()) {
158 CompactStyle style, PluralRules pluralRules,
162 this.pluralRules = pluralRules;
    [all...]
QuantityFormatter.java 14 import android.icu.text.PluralRules.FixedDecimal;
22 * PluralRules and DecimalFormat. It is package-protected as it is not meant for public use.
59 * @param pluralRules uses the number and the numberFormat to determine what plural
63 public String format(double number, NumberFormat numberFormat, PluralRules pluralRules) {
65 StandardPlural p = selectPlural(number, numberFormat, pluralRules);
87 // The following methods live here so that class PluralRules does not depend on number formatting,
93 public static StandardPlural selectPlural(double number, NumberFormat numberFormat, PluralRules rules) {
107 Number number, NumberFormat fmt, PluralRules rules,
PluralFormat.java 19 import android.icu.text.PluralRules.FixedDecimal;
20 import android.icu.text.PluralRules.PluralType;
49 * <li>It uses <code>PluralRules</code> that can define more complex
101 * the <code>PluralRules</code> with the input number <em>minus the offset</em>.
120 * create a <code>PluralRules</code> object and pass it to
125 * For more information about <code>PluralRules</code>, see
126 * {@link PluralRules}.
144 private PluralRules pluralRules = null;
216 public PluralFormat(PluralRules rules)
    [all...]
TimeUnitFormat.java 101 private transient PluralRules pluralRules;
358 pluralRules = PluralRules.forLocale(locale);
360 Set<String> pluralKeywords = pluralRules.getKeywords();
440 Set<String> keywords = pluralRules.getKeywords();
RelativeDateTimeFormatter.java 322 PluralRules.forLocale(locale),
369 numberFormat, pluralRules, formatStr, fieldPosition);
501 PluralRules pluralRules,
510 this.pluralRules = pluralRules;
558 private final PluralRules pluralRules;
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
PluralSamples.java 21 import com.ibm.icu.text.PluralRules.FixedDecimal;
22 import com.ibm.icu.text.PluralRules.KeywordStatus;
35 private PluralRules pluralRules;
52 public PluralSamples(PluralRules pluralRules) {
53 this.pluralRules = pluralRules;
54 Set<String> keywords = pluralRules.getKeywords();
64 temp.put(k, pluralRules.isLimited(k))
    [all...]
CurrencyPluralInfo.java 106 public PluralRules getPluralRules() {
107 return pluralRules;
156 pluralRules = PluralRules.createRules(ruleDescription);
195 //other.pluralRules = pluralRules;
217 return pluralRules.equals(other.pluralRules) &&
243 return pluralRules.select(number);
253 String select(PluralRules.FixedDecimal numberInfo)
    [all...]
CompactDecimalFormat.java 27 import com.ibm.icu.text.PluralRules.FixedDecimal;
65 private final PluralRules pluralRules;
117 this.pluralRules = PluralRules.forLocale(locale);
128 // for (String key : pluralRules.getKeywords()) {
163 CompactStyle style, PluralRules pluralRules,
167 this.pluralRules = pluralRules;
    [all...]
QuantityFormatter.java 13 import com.ibm.icu.text.PluralRules.FixedDecimal;
21 * PluralRules and DecimalFormat. It is package-protected as it is not meant for public use.
58 * @param pluralRules uses the number and the numberFormat to determine what plural
62 public String format(double number, NumberFormat numberFormat, PluralRules pluralRules) {
64 StandardPlural p = selectPlural(number, numberFormat, pluralRules);
86 // The following methods live here so that class PluralRules does not depend on number formatting,
92 public static StandardPlural selectPlural(double number, NumberFormat numberFormat, PluralRules rules) {
106 Number number, NumberFormat fmt, PluralRules rules,
PluralFormat.java 18 import com.ibm.icu.text.PluralRules.FixedDecimal;
19 import com.ibm.icu.text.PluralRules.PluralType;
48 * <li>It uses <code>PluralRules</code> that can define more complex
100 * the <code>PluralRules</code> with the input number <em>minus the offset</em>.
119 * create a <code>PluralRules</code> object and pass it to
124 * For more information about <code>PluralRules</code>, see
125 * {@link PluralRules}.
144 private PluralRules pluralRules = null;
220 public PluralFormat(PluralRules rules)
    [all...]
TimeUnitFormat.java 99 private transient PluralRules pluralRules;
356 pluralRules = PluralRules.forLocale(locale);
358 Set<String> pluralKeywords = pluralRules.getKeywords();
438 Set<String> keywords = pluralRules.getKeywords();
RelativeDateTimeFormatter.java 360 PluralRules.forLocale(locale),
409 numberFormat, pluralRules, formatStr, fieldPosition);
548 PluralRules pluralRules,
557 this.pluralRules = pluralRules;
605 private final PluralRules pluralRules;
    [all...]
  /external/icu/icu4c/source/i18n/
plurfmt.cpp 51 PluralFormat::PluralFormat(const PluralRules& rules, UErrorCode& status)
60 const PluralRules& rules,
100 PluralFormat::PluralFormat(const PluralRules& rules,
112 const PluralRules& rules,
150 if (pluralRulesWrapper.pluralRules != NULL) {
151 delete pluralRulesWrapper.pluralRules;
159 if (other.pluralRulesWrapper.pluralRules == NULL) {
160 pluralRulesWrapper.pluralRules = PluralRules::forLocale(locale, status);
162 pluralRulesWrapper.pluralRules = other.pluralRulesWrapper.pluralRules->clone()
    [all...]
measfmt.cpp 580 pluralRules(NULL),
593 pluralRules(NULL),
603 pluralRules(other.pluralRules),
608 pluralRules->addRef();
619 SharedObject::copyPtr(other.pluralRules, pluralRules);
629 pluralRules(NULL),
641 if (pluralRules != NULL) {
642 pluralRules->removeRef()
    [all...]
compactdecimalformat.cpp 169 PluralRules* pluralRules)
170 : DecimalFormat(decimalFormat), _unitsByVariant(unitsByVariant), _divisors(divisors), _pluralRules(pluralRules) {
184 LocalPointer<PluralRules> pluralRules(PluralRules::forLocale(inLocale, status));
193 new CompactDecimalFormat(*decfmt, data->unitsByVariant, data->divisors, pluralRules.getAlias());
198 pluralRules.orphan();
  /external/messageformat/java/com/ibm/icu/simple/
PluralFormat.java 17 import com.ibm.icu.simple.PluralRules.FixedDecimal;
18 import com.ibm.icu.simple.PluralRules.PluralType;
47 * <li>It uses <code>PluralRules</code> that can define more complex
100 * the <code>PluralRules</code> with the input number <em>minus the offset</em>.
119 * create a <code>PluralRules</code> object and pass it to
124 * For more information about <code>PluralRules</code>, see
125 * {@link PluralRules}.
145 private PluralRules pluralRules = null;
214 * Initializes the <code>PluralRules</code> object
    [all...]
  /external/icu/icu4c/source/i18n/unicode/
plurfmt.h 59 * <li>It uses <code>PluralRules</code> that can define more complex
112 * the <code>PluralRules</code> with the input number <em>minus the offset</em>.
131 * create a <code>PluralRules</code> object and pass it to
136 * For more information about <code>PluralRules</code>, see
137 * {@link PluralRules}.
177 PluralFormat(const PluralRules& rules, UErrorCode& status);
195 PluralFormat(const Locale& locale, const PluralRules& rules, UErrorCode& status);
248 PluralFormat(const PluralRules& rules,
267 const PluralRules& rules,
401 * a different kind of PluralRules instance
    [all...]
compactdecimalformat.h 28 class PluralRules;
400 PluralRules* _pluralRules;
403 CompactDecimalFormat(const DecimalFormat &, const UHashtable* unitsByVariant, const double* divisors, PluralRules* pluralRules);
measfmt.h 76 class PluralRules;
303 const PluralRules &getPluralRules() const;
322 const SharedPluralRules *pluralRules;
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
PluralRulesTest.java 40 import android.icu.text.PluralRules;
41 import android.icu.text.PluralRules.FixedDecimal;
42 import android.icu.text.PluralRules.FixedDecimalRange;
43 import android.icu.text.PluralRules.FixedDecimalSamples;
44 import android.icu.text.PluralRules.KeywordStatus;
45 import android.icu.text.PluralRules.PluralType;
46 import android.icu.text.PluralRules.SampleType;
88 PluralRules rules = factory.forLocale(locale);
158 PluralRules.parseDescription(rules);
168 PluralRules test = PluralRules.createRules(description)
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
PluralRulesTest.java 39 import com.ibm.icu.text.PluralRules;
40 import com.ibm.icu.text.PluralRules.FixedDecimal;
41 import com.ibm.icu.text.PluralRules.FixedDecimalRange;
42 import com.ibm.icu.text.PluralRules.FixedDecimalSamples;
43 import com.ibm.icu.text.PluralRules.KeywordStatus;
44 import com.ibm.icu.text.PluralRules.PluralType;
45 import com.ibm.icu.text.PluralRules.SampleType;
84 PluralRules rules = factory.forLocale(locale);
154 PluralRules.parseDescription(rules);
164 PluralRules test = PluralRules.createRules(description)
    [all...]
  /external/robolectric/v3/
robolectric-resources-3.1-SNAPSHOT.jar 
  /external/libgdx/backends/gdx-backend-moe/libs/
intel-moe-core.jar 

Completed in 2092 milliseconds

1 2