OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:quantityforint
(Results
1 - 3
of
3
) sorted by null
/libcore/luni/src/test/java/libcore/icu/
NativePluralRulesTest.java
24
assertEquals(NativePluralRules.OTHER, npr.
quantityForInt
(-1));
25
assertEquals(NativePluralRules.OTHER, npr.
quantityForInt
(0));
26
assertEquals(NativePluralRules.ONE, npr.
quantityForInt
(1));
27
assertEquals(NativePluralRules.OTHER, npr.
quantityForInt
(2));
32
assertEquals(NativePluralRules.OTHER, npr.
quantityForInt
(-1));
33
assertEquals(NativePluralRules.OTHER, npr.
quantityForInt
(0));
34
assertEquals(NativePluralRules.ONE, npr.
quantityForInt
(1));
35
assertEquals(NativePluralRules.FEW, npr.
quantityForInt
(2));
36
assertEquals(NativePluralRules.FEW, npr.
quantityForInt
(3));
37
assertEquals(NativePluralRules.FEW, npr.
quantityForInt
(4))
[
all
...]
/libcore/luni/src/main/java/libcore/icu/
NativePluralRules.java
57
public int
quantityForInt
(int value) {
/frameworks/base/core/java/android/content/res/
Resources.java
271
attrForQuantityCode(rule.
quantityForInt
(quantity)));
281
+ " item=" + stringForQuantityCode(rule.
quantityForInt
(quantity)));
[
all
...]
Completed in 1780 milliseconds