Home
last modified time | relevance | path

Searched refs:plurals (Results 1 – 13 of 13) sorted by relevance

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
DPluralResourceLoader.java16 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/v1/src/test/java/com/xtremelabs/robolectric/res/
DPluralResourceLoaderTest.java28 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/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DStaxPluralsLoader.java11 private final List<Plural> plurals = new ArrayList<>(); field in StaxPluralsLoader
32 plurals.add(new Plural(quantity, buf.toString())); in StaxPluralsLoader()
49 …resourceTable.addResource(attrType, name, new PluralRules(new ArrayList<>(plurals), resType, xmlCo… in onEnd()
50 plurals.clear(); in onEnd()
/external/autotest/cli/
Daction_common.py247 plurals = reversed(sorted(self.add_remove_things.keys()))
248 for what in plurals:
/external/icu/icu4c/source/data/misc/
Dmiscfiles.mk28 zoneinfo64.txt supplementalData.txt likelySubtags.txt plurals.txt \
Dplurals.txt3 plurals:table(nofallback){
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/
DR.java75 public static final class plurals { class in R
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DQualifiersTest.java56 assertThat(resources.getQuantityString(R.plurals.minute, 2)).isEqualTo( in getQuantityString()
DR.java134 public static final class plurals { class in R
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowResourcesTest.java262 assertThat(resources.getQuantityString(R.plurals.beer, 0)).isEqualTo("Howdy"); in getQuantityString()
263 assertThat(resources.getQuantityString(R.plurals.beer, 1)).isEqualTo("One beer"); in getQuantityString()
264 assertThat(resources.getQuantityString(R.plurals.beer, 2)).isEqualTo("Two beers"); in getQuantityString()
265 assertThat(resources.getQuantityString(R.plurals.beer, 3)).isEqualTo("%d beers, yay!"); in getQuantityString()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberFormatterApiTest.java1530 public void plurals() { in plurals() method in NumberFormatterApiTest
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberFormatterApiTest.java1527 public void plurals() { in plurals() method in NumberFormatterApiTest
/external/jline/src/src/test/resources/jline/example/
Denglish.gz