Searched refs:plurals (Results 1 - 5 of 5) sorted by relevance

/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
H A DPluralResourceLoaderTest.java28 assertThat(pluralResourceLoader.getValue(R.plurals.beer, 0), equalTo("Howdy"));
29 assertThat(pluralResourceLoader.getValue(R.plurals.beer, 1), equalTo("One beer"));
30 assertThat(pluralResourceLoader.getValue(R.plurals.beer, 2), equalTo("Two beers"));
31 assertThat(pluralResourceLoader.getValue(R.plurals.beer, 3), equalTo("%d beers, yay!"));
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
H A DPluralResourceLoader.java16 Map<String, PluralRules> plurals = new HashMap<String, PluralRules>(); field in class:PluralResourceLoader
20 super(resourceExtractor, "/resources/plurals");
26 PluralRules rules = plurals.get(name);
51 plurals.put("plurals/" + name, rules);
59 List<Plural> plurals = new ArrayList<Plural>(); field in class:PluralResourceLoader.PluralRules
62 for (Plural p : plurals) {
65 for (Plural p : plurals) {
72 plurals.add(p);
/external/chromium_org/third_party/icu/source/data/misc/
H A Dmiscfiles.mk26 zoneinfo64.txt supplementalData.txt likelySubtags.txt plurals.txt numberingSystems.txt icuver.txt icustd.txt metaZones.txt windowsZones.txt keyTypeData.txt timezoneTypes.txt
/external/icu4c/data/misc/
H A Dmiscfiles.mk26 zoneinfo64.txt supplementalData.txt likelySubtags.txt plurals.txt \
/external/robolectric/src/test/java/com/xtremelabs/robolectric/
H A DR.java71 public static final class plurals { class in class:R

Completed in 731 milliseconds