Home
last modified time | relevance | path

Searched refs:keywordVariants (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/
DMessagePatternUtilDemo.java183 List<MessagePatternUtil.VariantNode> keywordVariants = in genCodeForPlural() local
186 style.getVariantsByType(numericVariants, keywordVariants); in genCodeForPlural()
193 if (!keywordVariants.isEmpty()) { in genCodeForPlural()
196 genCodeForKeywordVariants(keywordVariants, depth++, firstResult, in genCodeForPlural()
212 List<MessagePatternUtil.VariantNode> keywordVariants = in genCodeForSelect() local
214 … MessagePatternUtil.VariantNode otherVariant = style.getVariantsByType(null, keywordVariants); in genCodeForSelect()
215 if (keywordVariants.isEmpty()) { in genCodeForSelect()
218 genCodeForKeywordVariants(keywordVariants, depth, firstResult, argName, ""); in genCodeForSelect()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DMessagePatternUtilTest.java498 List<VariantNode> keywordVariants = new ArrayList<VariantNode>(); in TestPluralVariantsByType() local
501 getVariantsByType(numericVariants, keywordVariants); in TestPluralVariantsByType()
515 assertEquals("keywordVariants.size()", 2, keywordVariants.size()); in TestPluralVariantsByType()
516 v = keywordVariants.get(0); in TestPluralVariantsByType()
520 v = keywordVariants.get(1); in TestPluralVariantsByType()
541 List<VariantNode> keywordVariants = new ArrayList<VariantNode>(); in TestSelectVariantsByType() local
544 getVariantsByType(null, keywordVariants); in TestSelectVariantsByType()
548 assertEquals("keywordVariants.size()", 2, keywordVariants.size()); in TestSelectVariantsByType()
549 VariantNode v = keywordVariants.get(0); in TestSelectVariantsByType()
553 v = keywordVariants.get(1); in TestSelectVariantsByType()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMessagePatternUtilTest.java495 List<VariantNode> keywordVariants = new ArrayList<VariantNode>(); in TestPluralVariantsByType() local
498 getVariantsByType(numericVariants, keywordVariants); in TestPluralVariantsByType()
512 assertEquals("keywordVariants.size()", 2, keywordVariants.size()); in TestPluralVariantsByType()
513 v = keywordVariants.get(0); in TestPluralVariantsByType()
517 v = keywordVariants.get(1); in TestPluralVariantsByType()
538 List<VariantNode> keywordVariants = new ArrayList<VariantNode>(); in TestSelectVariantsByType() local
541 getVariantsByType(null, keywordVariants); in TestSelectVariantsByType()
545 assertEquals("keywordVariants.size()", 2, keywordVariants.size()); in TestSelectVariantsByType()
546 VariantNode v = keywordVariants.get(0); in TestSelectVariantsByType()
550 v = keywordVariants.get(1); in TestSelectVariantsByType()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMessagePatternUtil.java325 List<VariantNode> keywordVariants) { in getVariantsByType() argument
329 keywordVariants.clear(); in getVariantsByType()
340 keywordVariants.add(variant); in getVariantsByType()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessagePatternUtil.java347 List<VariantNode> keywordVariants) { in getVariantsByType() argument
351 keywordVariants.clear(); in getVariantsByType()
362 keywordVariants.add(variant); in getVariantsByType()
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...