Home | History | Annotate | Download | only in number

Lines Matching refs:positive

87         public ParsedSubpatternInfo positive;
133 return positive.paddingEndpoints;
137 return positive.prefixEndpoints;
141 return positive.suffixEndpoints;
147 return positive.hasPlusSign;
162 return positive.hasCurrencySign || (negative != null && negative.hasCurrencySign);
240 result.positive = new ParsedSubpatternInfo();
241 consumeSubpattern(state, result.positive);
528 ParsedSubpatternInfo positive = patternInfo.positive;
534 ignoreRounding = positive.hasCurrencySign;
541 short grouping1 = (short) (positive.groupingSizes & 0xffff);
542 short grouping2 = (short) ((positive.groupingSizes >>> 16) & 0xffff);
543 short grouping3 = (short) ((positive.groupingSizes >>> 32) & 0xffff);
557 if (positive.integerTotal == 0 && positive.fractionTotal > 0) {
560 minFrac = Math.max(1, positive.fractionNumerals);
561 } else if (positive.integerNumerals == 0 && positive.fractionNumerals == 0) {
566 minInt = positive.integerNumerals;
567 minFrac = positive.fractionNumerals;
572 if (positive.integerAtSigns > 0) {
576 properties.setMinimumSignificantDigits(positive.integerAtSigns);
577 properties.setMaximumSignificantDigits(positive.integerAtSigns + positive.integerTrailingHashSigns);
578 } else if (positive.rounding != null) {
581 properties.setMaximumFractionDigits(positive.fractionTotal);
582 properties.setRoundingIncrement(positive.rounding.toBigDecimal().setScale(positive.fractionNumerals));
593 properties.setMaximumFractionDigits(positive.fractionTotal);
605 if (positive.hasDecimal && positive.fractionTotal == 0) {
612 if (positive.exponentZeros > 0) {
613 properties.setExponentSignAlwaysShown(positive.exponentHasPlusSign);
614 properties.setMinimumExponentDigits(positive.exponentZeros);
615 if (positive.integerAtSigns == 0) {
617 properties.setMinimumIntegerDigits(positive.integerNumerals);
618 properties.setMaximumIntegerDigits(positive.integerTotal);
636 if (positive.paddingLocation != null) {
637 // The width of the positive prefix and suffix templates are included in the padding
638 int paddingWidth = positive.widthExceptAffixes + AffixUtils.estimateLength(posPrefix)
653 assert positive.paddingLocation != null;
654 properties.setPadPosition(positive.paddingLocation);
676 if (positive.hasPercentSign) {
678 } else if (positive.hasPerMilleSign) {