OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:keywordVariants
(Results
1 - 9
of
9
) sorted by null
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/
MessagePatternUtilDemo.java
183
List<MessagePatternUtil.VariantNode>
keywordVariants
=
186
style.getVariantsByType(numericVariants,
keywordVariants
);
193
if (!
keywordVariants
.isEmpty()) {
196
genCodeForKeywordVariants(
keywordVariants
, depth++, firstResult,
212
List<MessagePatternUtil.VariantNode>
keywordVariants
=
214
MessagePatternUtil.VariantNode otherVariant = style.getVariantsByType(null,
keywordVariants
);
215
if (
keywordVariants
.isEmpty()) {
218
genCodeForKeywordVariants(
keywordVariants
, depth, firstResult, argName, "");
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
MessagePatternUtilTest.java
492
List<VariantNode>
keywordVariants
= new ArrayList<VariantNode>();
495
getVariantsByType(numericVariants,
keywordVariants
);
509
assertEquals("
keywordVariants
.size()", 2,
keywordVariants
.size());
510
v =
keywordVariants
.get(0);
511
assertEquals("
keywordVariants
[0] selector", "a", v.getSelector());
512
assertFalse("
keywordVariants
[0].isSelectorNumeric()", v.isSelectorNumeric());
513
assertEquals("
keywordVariants
[0] text", "A", variantText(v));
514
v =
keywordVariants
.get(1);
515
assertEquals("
keywordVariants
[1] selector", "b", v.getSelector())
[
all
...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
MessagePatternUtilTest.java
491
List<VariantNode>
keywordVariants
= new ArrayList<VariantNode>();
494
getVariantsByType(numericVariants,
keywordVariants
);
508
assertEquals("
keywordVariants
.size()", 2,
keywordVariants
.size());
509
v =
keywordVariants
.get(0);
510
assertEquals("
keywordVariants
[0] selector", "a", v.getSelector());
511
assertFalse("
keywordVariants
[0].isSelectorNumeric()", v.isSelectorNumeric());
512
assertEquals("
keywordVariants
[0] text", "A", variantText(v));
513
v =
keywordVariants
.get(1);
514
assertEquals("
keywordVariants
[1] selector", "b", v.getSelector())
[
all
...]
/external/icu/android_icu4j/src/main/java/android/icu/text/
MessagePatternUtil.java
310
* @param
keywordVariants
Variants with keyword selectors, except "other", are added here.
318
List<VariantNode>
keywordVariants
) {
322
keywordVariants
.clear();
333
keywordVariants
.add(variant);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
MessagePatternUtil.java
338
* @param
keywordVariants
Variants with keyword selectors, except "other", are added here.
347
List<VariantNode>
keywordVariants
) {
351
keywordVariants
.clear();
362
keywordVariants
.add(variant);
/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 459 milliseconds