/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | Padder.java | 15 public enum PadPosition { enum in Padder 18 public static PadPosition fromOld(int old) { in fromOld() 21 return PadPosition.BEFORE_PREFIX; in fromOld() 23 return PadPosition.AFTER_PREFIX; in fromOld() 25 return PadPosition.BEFORE_SUFFIX; in fromOld() 27 return PadPosition.AFTER_SUFFIX; in fromOld() 53 PadPosition position; 55 public Padder(String paddingString, int targetWidth, PadPosition position) { in Padder() 59 this.position = (position == null) ? PadPosition.BEFORE_PREFIX : position; in Padder() 66 public static Padder codePoints(int cp, int targetWidth, PadPosition position) { in codePoints() [all …]
|
D | PatternStringParser.java | 6 import android.icu.impl.number.Padder.PadPosition; 197 public PadPosition paddingLocation = null; 271 consumePadding(state, result, PadPosition.BEFORE_PREFIX); in consumeSubpattern() 273 consumePadding(state, result, PadPosition.AFTER_PREFIX); in consumeSubpattern() 276 consumePadding(state, result, PadPosition.BEFORE_SUFFIX); in consumeSubpattern() 278 consumePadding(state, result, PadPosition.AFTER_SUFFIX); in consumeSubpattern() 284 PadPosition paddingLocation) { in consumePadding()
|
D | DecimalFormatProperties.java | 19 import android.icu.impl.number.Padder.PadPosition; 111 private transient PadPosition padPosition; 516 public PadPosition getPadPosition() { in getPadPosition() 1093 public DecimalFormatProperties setPadPosition(PadPosition paddingLocation) { in setPadPosition()
|
D | PatternStringUtils.java | 9 import android.icu.impl.number.Padder.PadPosition; 40 PadPosition paddingLocation = properties.getPadPosition(); in propertiesToPatternString()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | Padder.java | 8 public enum PadPosition { enum in Padder 11 public static PadPosition fromOld(int old) { in fromOld() 14 return PadPosition.BEFORE_PREFIX; in fromOld() 16 return PadPosition.AFTER_PREFIX; in fromOld() 18 return PadPosition.BEFORE_SUFFIX; in fromOld() 20 return PadPosition.AFTER_SUFFIX; in fromOld() 46 PadPosition position; 48 public Padder(String paddingString, int targetWidth, PadPosition position) { in Padder() 52 this.position = (position == null) ? PadPosition.BEFORE_PREFIX : position; in Padder() 59 public static Padder codePoints(int cp, int targetWidth, PadPosition position) { in codePoints() [all …]
|
D | PatternStringParser.java | 5 import com.ibm.icu.impl.number.Padder.PadPosition; 191 public PadPosition paddingLocation = null; 265 consumePadding(state, result, PadPosition.BEFORE_PREFIX); in consumeSubpattern() 267 consumePadding(state, result, PadPosition.AFTER_PREFIX); in consumeSubpattern() 270 consumePadding(state, result, PadPosition.BEFORE_SUFFIX); in consumeSubpattern() 272 consumePadding(state, result, PadPosition.AFTER_SUFFIX); in consumeSubpattern() 278 PadPosition paddingLocation) { in consumePadding()
|
D | DecimalFormatProperties.java | 18 import com.ibm.icu.impl.number.Padder.PadPosition; 106 private transient PadPosition padPosition; 511 public PadPosition getPadPosition() { in getPadPosition() 1088 public DecimalFormatProperties setPadPosition(PadPosition paddingLocation) { in setPadPosition()
|
D | PatternStringUtils.java | 8 import com.ibm.icu.impl.number.Padder.PadPosition; 38 PadPosition paddingLocation = properties.getPadPosition(); in propertiesToPatternString()
|
/external/icu/icu4c/source/i18n/ |
D | number_patternstring.cpp | 165 consumePadding(PadPosition::UNUM_PAD_BEFORE_PREFIX, status); in consumeSubpattern() 169 consumePadding(PadPosition::UNUM_PAD_AFTER_PREFIX, status); in consumeSubpattern() 175 consumePadding(PadPosition::UNUM_PAD_BEFORE_SUFFIX, status); in consumeSubpattern() 179 consumePadding(PadPosition::UNUM_PAD_AFTER_SUFFIX, status); in consumeSubpattern() 183 void ParsedPatternInfo::consumePadding(PadPosition paddingLocation, UErrorCode& status) { in consumePadding() 656 NullableValue<PadPosition> paddingLocation = properties.padPosition; in propertiesToPatternString() 787 case PadPosition::UNUM_PAD_BEFORE_PREFIX: in propertiesToPatternString() 793 case PadPosition::UNUM_PAD_AFTER_PREFIX: in propertiesToPatternString() 799 case PadPosition::UNUM_PAD_BEFORE_SUFFIX: in propertiesToPatternString() 803 case PadPosition::UNUM_PAD_AFTER_SUFFIX: in propertiesToPatternString()
|
D | number_decimfmtprops.h | 122 NullableValue<PadPosition> padPosition;
|
D | number_padding.cpp | 78 PadPosition position = fUnion.padding.fPosition; in padAndApply()
|
D | number_types.h | 30 typedef UNumberFormatPadPosition PadPosition; typedef
|
D | number_patternstring.h | 137 void consumePadding(PadPosition paddingLocation, UErrorCode& status);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | PropertiesTest.java | 34 import com.ibm.icu.impl.number.Padder.PadPosition; 287 } else if (type == PadPosition.class) { in getSampleValueForType() 290 PadPosition[] values = PadPosition.values(); in getSampleValueForType()
|
D | NumberFormatterApiTest.java | 32 import com.ibm.icu.impl.number.Padder.PadPosition; 1367 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.AFTER_PREFIX)), in padding() 1382 … NumberFormatter.with().padding(Padder.codePoints(0x101E4, 8, PadPosition.AFTER_PREFIX)), in padding() 1397 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.AFTER_PREFIX)) in padding() 1413 … NumberFormatter.with().padding(Padder.codePoints('*', 10, PadPosition.AFTER_PREFIX)).unit(GBP) in padding() 1429 … NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.BEFORE_PREFIX)), in padding() 1437 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.AFTER_PREFIX)), in padding() 1445 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.BEFORE_SUFFIX)) in padding() 1454 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.AFTER_SUFFIX)) in padding() 1463 … NumberFormatter.with().padding(Padder.codePoints('0', 12, PadPosition.AFTER_PREFIX)).unit(GBP) in padding()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | PropertiesTest.java | 35 import android.icu.impl.number.Padder.PadPosition; 290 } else if (type == PadPosition.class) { in getSampleValueForType() 293 PadPosition[] values = PadPosition.values(); in getSampleValueForType()
|
D | NumberFormatterApiTest.java | 33 import android.icu.impl.number.Padder.PadPosition; 1370 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.AFTER_PREFIX)), in padding() 1385 … NumberFormatter.with().padding(Padder.codePoints(0x101E4, 8, PadPosition.AFTER_PREFIX)), in padding() 1400 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.AFTER_PREFIX)) in padding() 1416 … NumberFormatter.with().padding(Padder.codePoints('*', 10, PadPosition.AFTER_PREFIX)).unit(GBP) in padding() 1432 … NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.BEFORE_PREFIX)), in padding() 1440 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.AFTER_PREFIX)), in padding() 1448 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.BEFORE_SUFFIX)) in padding() 1457 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.AFTER_SUFFIX)) in padding() 1466 … NumberFormatter.with().padding(Padder.codePoints('0', 12, PadPosition.AFTER_PREFIX)).unit(GBP) in padding()
|
/external/icu/icu4c/source/test/intltest/ |
D | numbertest_api.cpp | 1371 '*', 8, PadPosition::UNUM_PAD_AFTER_PREFIX)), in padding() 1388 0x101E4, 8, PadPosition::UNUM_PAD_AFTER_PREFIX)), in padding() 1405 '*', 8, PadPosition::UNUM_PAD_AFTER_PREFIX)) in padding() 1423 '*', 10, PadPosition::UNUM_PAD_AFTER_PREFIX)) in padding() 1442 '*', 8, PadPosition::UNUM_PAD_BEFORE_PREFIX)), in padding() 1452 '*', 8, PadPosition::UNUM_PAD_AFTER_PREFIX)), in padding() 1462 '*', 8, PadPosition::UNUM_PAD_BEFORE_SUFFIX)).unit(NoUnit::percent()), in padding() 1472 '*', 8, PadPosition::UNUM_PAD_AFTER_SUFFIX)).unit(NoUnit::percent()), in padding() 1482 '0', 12, PadPosition::UNUM_PAD_AFTER_PREFIX)) in padding()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DecimalFormat.java | 20 import android.icu.impl.number.Padder.PadPosition; 1624 PadPosition loc = properties.getPadPosition(); in getPadPosition() 1644 properties.setPadPosition(PadPosition.fromOld(padPos)); in setPadPosition()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DecimalFormat.java | 19 import com.ibm.icu.impl.number.Padder.PadPosition; 1737 PadPosition loc = properties.getPadPosition(); in getPadPosition() 1759 properties.setPadPosition(PadPosition.fromOld(padPos)); in setPadPosition()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | NumberFormatDataDrivenTest.java | 15 import android.icu.impl.number.Padder.PadPosition; 726 properties.setPadPosition(PadPosition.fromOld(tuple.padPosition)); in propertiesFromTuple()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | NumberFormatDataDrivenTest.java | 14 import com.ibm.icu.impl.number.Padder.PadPosition; 723 properties.setPadPosition(PadPosition.fromOld(tuple.padPosition)); in propertiesFromTuple()
|
/external/icu/icu4j/ |
D | coverage-exclusion.txt | 467 …/formatters/PaddingFormat$PadPosition#valueOf:(Ljava/lang/String;)Lcom/ibm/icu/impl/number/formatt…
|