Lines Matching full:newvalue
3250 DecimalFormat::setPositivePrefix(const UnicodeString& newValue)
3252 fPositivePrefix = newValue;
3274 DecimalFormat::setNegativePrefix(const UnicodeString& newValue)
3276 fNegativePrefix = newValue;
3298 DecimalFormat::setPositiveSuffix(const UnicodeString& newValue)
3300 fPositiveSuffix = newValue;
3322 DecimalFormat::setNegativeSuffix(const UnicodeString& newValue)
3324 fNegativeSuffix = newValue;
3351 DecimalFormat::setMultiplier(int32_t newValue)
3353 // if (newValue == 0) {
3354 // throw new IllegalArgumentException("Bad multiplier: " + newValue);
3356 if (newValue == 0) {
3357 newValue = 1; // one being the benign default value for a multiplier.
3359 if (newValue == 1) {
3367 fMultiplier->set(newValue);
3394 * @param newValue A positive rounding increment, or 0.0 to disable rounding.
3400 void DecimalFormat::setRoundingIncrement(double newValue) {
3401 if (newValue > 0.0) {
3406 fRoundingIncrement->set(newValue);
3410 // These statements are executed if newValue is less than 0.0
3649 DecimalFormat::setGroupingSize(int32_t newValue)
3651 fGroupingSize = newValue;
3668 DecimalFormat::setSecondaryGroupingSize(int32_t newValue)
3670 fGroupingSize2 = newValue;
3689 DecimalFormat::setDecimalSeparatorAlwaysShown(UBool newValue)
3691 fDecimalSeparatorAlwaysShown = newValue;
5092 void DecimalFormat::setMaximumIntegerDigits(int32_t newValue) {
5093 NumberFormat::setMaximumIntegerDigits(_min(newValue, kDoubleIntegerDigits));
5104 void DecimalFormat::setMinimumIntegerDigits(int32_t newValue) {
5105 NumberFormat::setMinimumIntegerDigits(_min(newValue, kDoubleIntegerDigits));
5116 void DecimalFormat::setMaximumFractionDigits(int32_t newValue) {
5117 NumberFormat::setMaximumFractionDigits(_min(newValue, kDoubleFractionDigits));
5128 void DecimalFormat::setMinimumFractionDigits(int32_t newValue) {
5129 NumberFormat::setMinimumFractionDigits(_min(newValue, kDoubleFractionDigits));
5380 int32_t newValue,
5386 setLenient(newValue!=0);
5390 setParseIntegerOnly(newValue!=0);
5394 setGroupingUsed(newValue!=0);
5398 setDecimalSeparatorAlwaysShown(newValue!=0);
5402 setMaximumIntegerDigits(newValue);
5406 setMinimumIntegerDigits(newValue);
5410 setMinimumIntegerDigits(newValue);
5411 setMaximumIntegerDigits(newValue);
5415 setMaximumFractionDigits(newValue);
5419 setMinimumFractionDigits(newValue);
5423 setMinimumFractionDigits(newValue);
5424 setMaximumFractionDigits(newValue);
5428 setSignificantDigitsUsed(newValue!=0);
5432 setMaximumSignificantDigits(newValue);
5436 setMinimumSignificantDigits(newValue);
5440 setMultiplier(newValue);
5444 setGroupingSize(newValue);
5448 setRoundingMode((DecimalFormat::ERoundingMode)newValue);
5452 setFormatWidth(newValue);
5457 setPadPosition((DecimalFormat::EPadPosition)newValue);
5461 setSecondaryGroupingSize(newValue);
5466 setParseAllInput((UNumberFormatAttributeValue)newValue);
5473 if(!fBoolFlags.isValidValue(newValue)) {
5476 fBoolFlags.set(attr, newValue);