/external/robolectric/v1/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/v1/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/robolectric-shadows/resources/src/main/java/org/robolectric/res/ |
D | StaxPluralsLoader.java | 11 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/ |
D | action_common.py | 247 plurals = reversed(sorted(self.add_remove_things.keys())) 248 for what in plurals:
|
/external/icu/icu4c/source/data/misc/ |
D | miscfiles.mk | 28 zoneinfo64.txt supplementalData.txt likelySubtags.txt plurals.txt \
|
D | plurals.txt | 3 plurals:table(nofallback){
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/ |
D | R.java | 75 public static final class plurals { class in R
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/ |
D | QualifiersTest.java | 56 assertThat(resources.getQuantityString(R.plurals.minute, 2)).isEqualTo( in getQuantityString()
|
D | R.java | 134 public static final class plurals { class in R
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowResourcesTest.java | 262 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/ |
D | NumberFormatterApiTest.java | 1530 public void plurals() { in plurals() method in NumberFormatterApiTest
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | NumberFormatterApiTest.java | 1527 public void plurals() { in plurals() method in NumberFormatterApiTest
|
/external/jline/src/src/test/resources/jline/example/ |
D | english.gz |
|