HomeSort by relevance Sort by last modified time
    Searched refs:numericVariants (Results 1 - 9 of 9) sorted by null

  /external/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/
MessagePatternUtilDemo.java 181 List<MessagePatternUtil.VariantNode> numericVariants =
186 style.getVariantsByType(numericVariants, keywordVariants);
190 if (!numericVariants.isEmpty()) {
191 genCodeForNumericVariants(numericVariants, depth++, firstResult, argName, pluralNumber);
  /external/icu/android_icu4j/src/main/java/android/icu/text/
MessagePatternUtil.java 308 * @param numericVariants Variants with numeric-value selectors (if any) are added here.
317 public VariantNode getVariantsByType(List<VariantNode> numericVariants,
319 if (numericVariants != null) {
320 numericVariants.clear();
326 numericVariants.add(variant);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
MessagePatternUtil.java 336 * @param numericVariants Variants with numeric-value selectors (if any) are added here.
346 public VariantNode getVariantsByType(List<VariantNode> numericVariants,
348 if (numericVariants != null) {
349 numericVariants.clear();
355 numericVariants.add(variant);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
MessagePatternUtilTest.java 491 List<VariantNode> numericVariants = new ArrayList<VariantNode>();
495 getVariantsByType(numericVariants, keywordVariants);
499 assertEquals("numericVariants.size()", 2, numericVariants.size());
500 VariantNode v = numericVariants.get(0);
501 assertEquals("numericVariants[0] selector", "=4", v.getSelector());
502 assertEquals("numericVariants[0] selector value", 4., v.getSelectorValue());
503 assertEquals("numericVariants[0] text", "iv", variantText(v));
504 v = numericVariants.get(1);
505 assertEquals("numericVariants[1] selector", "=2", v.getSelector())
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
MessagePatternUtilTest.java 490 List<VariantNode> numericVariants = new ArrayList<VariantNode>();
494 getVariantsByType(numericVariants, keywordVariants);
498 assertEquals("numericVariants.size()", 2, numericVariants.size());
499 VariantNode v = numericVariants.get(0);
500 assertEquals("numericVariants[0] selector", "=4", v.getSelector());
501 assertEquals("numericVariants[0] selector value", 4., v.getSelectorValue());
502 assertEquals("numericVariants[0] text", "iv", variantText(v));
503 v = numericVariants.get(1);
504 assertEquals("numericVariants[1] selector", "=2", v.getSelector())
    [all...]
  /prebuilts/misc/common/icu4j/
icu4j.jar 
  /prebuilts/misc/common/robolectric/lib/
icu4j-53.1.jar 
  /prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/53.1/
icu4j-53.1.jar 
  /prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/54.1.1/
icu4j-54.1.1.jar 

Completed in 667 milliseconds