Searched refs:plurals (Results 1 – 8 of 8) sorted by relevance
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
D | PluralResourceLoader.java | 16 Map<String, PluralRules> plurals = new HashMap<String, PluralRules>(); field in PluralResourceLoader 26 PluralRules rules = plurals.get(name); in getValue() 51 plurals.put("plurals/" + name, rules); in processNode() 59 List<Plural> plurals = new ArrayList<Plural>(); field in PluralResourceLoader.PluralRules 62 for (Plural p : plurals) { in find() 65 for (Plural p : plurals) { in find() 72 plurals.add(p); in add()
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/ |
D | PluralResourceLoaderTest.java | 28 assertThat(pluralResourceLoader.getValue(R.plurals.beer, 0), equalTo("Howdy")); in testPluralsAreResolved() 29 assertThat(pluralResourceLoader.getValue(R.plurals.beer, 1), equalTo("One beer")); in testPluralsAreResolved() 30 assertThat(pluralResourceLoader.getValue(R.plurals.beer, 2), equalTo("Two beers")); in testPluralsAreResolved() 31 assertThat(pluralResourceLoader.getValue(R.plurals.beer, 3), equalTo("%d beers, yay!")); in testPluralsAreResolved()
|
/external/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/ |
D | ICUCurrencyDisplayInfoProvider.java | 48 private final ICUResourceBundle plurals; field in ICUCurrencyDisplayInfoProvider.ICUCurrencyDisplayInfo 56 this.plurals = rb.findTopLevel("CurrencyPlurals"); in ICUCurrencyDisplayInfo() 95 if (plurals != null) { in getPluralName() 96 ICUResourceBundle pluralsBundle = plurals.findWithFallback(isoCode); in getPluralName() 253 ICUResourceBundle plurals = bundle.findTopLevel("CurrencyPlurals"); in _createNameMap() local 254 if (plurals != null) { in _createNameMap() 255 for (int i = 0; i < plurals.getSize(); ++i) { in _createNameMap() 256 ICUResourceBundle item = plurals.at(i); in _createNameMap()
|
/external/icu/icu4c/source/data/misc/ |
D | miscfiles.mk | 26 zoneinfo64.txt supplementalData.txt likelySubtags.txt plurals.txt \
|
D | plurals.txt | 6 // * Source File: <path>/plurals.xml, ordinals.xml 9 plurals:table(nofallback){
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/ |
D | R.java | 75 public static final class plurals { class in R
|
/external/icu/icu4c/source/test/depstest/ |
D | dependencies.txt | 883 digitlist # plurals depend on decimals
|
/external/robolectric/lib/main/ |
D | android.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/ ... |