Home
last modified time | relevance | path

Searched refs:paddingString (Results 1 – 9 of 9) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DPadder.java51 String paddingString; field in Padder
55 public Padder(String paddingString, int targetWidth, PadPosition position) { in Padder() argument
57 this.paddingString = (paddingString == null) ? FALLBACK_PADDING_STRING : paddingString; in Padder()
69 String paddingString = String.valueOf(Character.toChars(cp)); in codePoints() local
70 return new Padder(paddingString, targetWidth, position); in codePoints()
106 length += addPaddingHelper(paddingString, requiredPadding, string, leftIndex); in padAndApply()
108 length += addPaddingHelper(paddingString, requiredPadding, string, rightIndex + length); in padAndApply()
113 length += addPaddingHelper(paddingString, requiredPadding, string, leftIndex); in padAndApply()
115 length += addPaddingHelper(paddingString, requiredPadding, string, rightIndex + length); in padAndApply()
122 String paddingString, in addPaddingHelper() argument
[all …]
DPatternStringUtils.java41 String paddingString = properties.getPadString(); in propertiesToPatternString() local
169 addedLength = PatternStringUtils.escapePaddingString(paddingString, sb, 0); in propertiesToPatternString()
175 … addedLength = PatternStringUtils.escapePaddingString(paddingString, sb, afterPrefixPos); in propertiesToPatternString()
181 PatternStringUtils.escapePaddingString(paddingString, sb, beforeSuffixPos); in propertiesToPatternString()
186 PatternStringUtils.escapePaddingString(paddingString, sb, sb.length()); in propertiesToPatternString()
DDecimalFormatProperties.java1110 public DecimalFormatProperties setPadString(String paddingString) { in setPadString() argument
1111 this.padString = paddingString; in setPadString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DPadder.java44 String paddingString; field in Padder
48 public Padder(String paddingString, int targetWidth, PadPosition position) { in Padder() argument
50 this.paddingString = (paddingString == null) ? FALLBACK_PADDING_STRING : paddingString; in Padder()
62 String paddingString = String.valueOf(Character.toChars(cp)); in codePoints() local
63 return new Padder(paddingString, targetWidth, position); in codePoints()
99 length += addPaddingHelper(paddingString, requiredPadding, string, leftIndex); in padAndApply()
101 length += addPaddingHelper(paddingString, requiredPadding, string, rightIndex + length); in padAndApply()
106 length += addPaddingHelper(paddingString, requiredPadding, string, leftIndex); in padAndApply()
108 length += addPaddingHelper(paddingString, requiredPadding, string, rightIndex + length); in padAndApply()
115 String paddingString, in addPaddingHelper() argument
[all …]
DPatternStringUtils.java39 String paddingString = properties.getPadString(); in propertiesToPatternString() local
167 addedLength = PatternStringUtils.escapePaddingString(paddingString, sb, 0); in propertiesToPatternString()
173 … addedLength = PatternStringUtils.escapePaddingString(paddingString, sb, afterPrefixPos); in propertiesToPatternString()
179 PatternStringUtils.escapePaddingString(paddingString, sb, beforeSuffixPos); in propertiesToPatternString()
184 PatternStringUtils.escapePaddingString(paddingString, sb, sb.length()); in propertiesToPatternString()
DDecimalFormatProperties.java1105 public DecimalFormatProperties setPadString(String paddingString) { in setPadString() argument
1106 this.padString = paddingString; in setPadString()
/external/icu/icu4c/source/i18n/
Dnumber_patternstring.cpp657 UnicodeString paddingString = properties.padString; in propertiesToPatternString() local
788 addedLength = escapePaddingString(paddingString, sb, 0, status); in propertiesToPatternString()
794 addedLength = escapePaddingString(paddingString, sb, afterPrefixPos, status); in propertiesToPatternString()
800 escapePaddingString(paddingString, sb, beforeSuffixPos, status); in propertiesToPatternString()
805 escapePaddingString(paddingString, sb, sb.length(), status); in propertiesToPatternString()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDecimalFormat.java1595 CharSequence paddingString = properties.getPadString(); in getPadCharacter() local
1596 if (paddingString == null) { in getPadCharacter()
1599 return paddingString.charAt(0); in getPadCharacter()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormat.java1704 CharSequence paddingString = properties.getPadString(); in getPadCharacter() local
1705 if (paddingString == null) { in getPadCharacter()
1708 return paddingString.charAt(0); in getPadCharacter()