HomeSort by relevance Sort by last modified time
    Searched refs:PadPosition (Results 1 - 23 of 23) sorted by null

  /external/icu/android_icu4j/src/main/java/android/icu/impl/number/
Padder.java 15 public enum PadPosition {
18 public static PadPosition fromOld(int old) {
21 return PadPosition.BEFORE_PREFIX;
23 return PadPosition.AFTER_PREFIX;
25 return PadPosition.BEFORE_SUFFIX;
27 return PadPosition.AFTER_SUFFIX;
53 PadPosition position;
55 public Padder(String paddingString, int targetWidth, PadPosition position) {
59 this.position = (position == null) ? PadPosition.BEFORE_PREFIX : position;
66 public static Padder codePoints(int cp, int targetWidth, PadPosition position)
    [all...]
PatternStringParser.java 6 import android.icu.impl.number.Padder.PadPosition;
197 public PadPosition paddingLocation = null;
271 consumePadding(state, result, PadPosition.BEFORE_PREFIX);
273 consumePadding(state, result, PadPosition.AFTER_PREFIX);
276 consumePadding(state, result, PadPosition.BEFORE_SUFFIX);
278 consumePadding(state, result, PadPosition.AFTER_SUFFIX);
284 PadPosition paddingLocation) {
PatternStringUtils.java 9 import android.icu.impl.number.Padder.PadPosition;
40 PadPosition paddingLocation = properties.getPadPosition();
DecimalFormatProperties.java 19 import android.icu.impl.number.Padder.PadPosition;
111 private transient PadPosition padPosition;
183 padPosition = null;
229 padPosition = other.padPosition;
276 eq = eq && _equalsHelper(padPosition, other.padPosition);
339 hashCode ^= _hashCodeHelper(padPosition);
516 public PadPosition getPadPosition()
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
Padder.java 8 public enum PadPosition {
11 public static PadPosition fromOld(int old) {
14 return PadPosition.BEFORE_PREFIX;
16 return PadPosition.AFTER_PREFIX;
18 return PadPosition.BEFORE_SUFFIX;
20 return PadPosition.AFTER_SUFFIX;
46 PadPosition position;
48 public Padder(String paddingString, int targetWidth, PadPosition position) {
52 this.position = (position == null) ? PadPosition.BEFORE_PREFIX : position;
59 public static Padder codePoints(int cp, int targetWidth, PadPosition position)
    [all...]
PatternStringParser.java 5 import com.ibm.icu.impl.number.Padder.PadPosition;
191 public PadPosition paddingLocation = null;
265 consumePadding(state, result, PadPosition.BEFORE_PREFIX);
267 consumePadding(state, result, PadPosition.AFTER_PREFIX);
270 consumePadding(state, result, PadPosition.BEFORE_SUFFIX);
272 consumePadding(state, result, PadPosition.AFTER_SUFFIX);
278 PadPosition paddingLocation) {
PatternStringUtils.java 8 import com.ibm.icu.impl.number.Padder.PadPosition;
38 PadPosition paddingLocation = properties.getPadPosition();
DecimalFormatProperties.java 18 import com.ibm.icu.impl.number.Padder.PadPosition;
106 private transient PadPosition padPosition;
178 padPosition = null;
224 padPosition = other.padPosition;
271 eq = eq && _equalsHelper(padPosition, other.padPosition);
334 hashCode ^= _hashCodeHelper(padPosition);
511 public PadPosition getPadPosition()
    [all...]
  /external/icu/icu4c/source/i18n/
number_decimfmtprops.h 122 NullableValue<PadPosition> padPosition;
number_padding.cpp 59 return {padCp, properties.formatWidth, properties.padPosition.getOrDefault(UNUM_PAD_BEFORE_PREFIX)};
78 PadPosition position = fUnion.padding.fPosition;
number_patternstring.cpp 165 consumePadding(PadPosition::UNUM_PAD_BEFORE_PREFIX, status);
169 consumePadding(PadPosition::UNUM_PAD_AFTER_PREFIX, status);
175 consumePadding(PadPosition::UNUM_PAD_BEFORE_SUFFIX, status);
179 consumePadding(PadPosition::UNUM_PAD_AFTER_SUFFIX, status);
183 void ParsedPatternInfo::consumePadding(PadPosition paddingLocation, UErrorCode& status) {
610 properties.padPosition = positive.paddingLocation;
614 properties.padPosition.nullify();
656 NullableValue<PadPosition> paddingLocation = properties.padPosition;
787 case PadPosition::UNUM_PAD_BEFORE_PREFIX
    [all...]
number_patternstring.h 137 void consumePadding(PadPosition paddingLocation, UErrorCode& status);
number_types.h 30 typedef UNumberFormatPadPosition PadPosition;
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
PropertiesTest.java 35 import android.icu.impl.number.Padder.PadPosition;
290 } else if (type == PadPosition.class) {
293 PadPosition[] values = PadPosition.values();
NumberFormatterApiTest.java 33 import android.icu.impl.number.Padder.PadPosition;
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
PropertiesTest.java 34 import com.ibm.icu.impl.number.Padder.PadPosition;
287 } else if (type == PadPosition.class) {
290 PadPosition[] values = PadPosition.values();
NumberFormatterApiTest.java 32 import com.ibm.icu.impl.number.Padder.PadPosition;
    [all...]
  /external/icu/icu4c/source/test/intltest/
numbertest_api.cpp     [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
DecimalFormat.java 20 import android.icu.impl.number.Padder.PadPosition;
574 } else if (name.equals("padPosition")) {
575 setPadPosition(fieldGetter.get("padPosition", 0));
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DecimalFormat.java 19 import com.ibm.icu.impl.number.Padder.PadPosition;
587 } else if (name.equals("padPosition")) {
588 setPadPosition(fieldGetter.get("padPosition", 0));
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
NumberFormatDataDrivenTest.java 15 import android.icu.impl.number.Padder.PadPosition;
257 if (tuple.padPosition != null) {
258 fmt.setPadPosition(tuple.padPosition);
443 if (tuple.padPosition != null) {
444 fmt.setPadPosition(tuple.padPosition);
618 if (tuple.padPosition != null) {
725 if (tuple.padPosition != null) {
726 properties.setPadPosition(PadPosition.fromOld(tuple.padPosition));
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
NumberFormatDataDrivenTest.java 14 import com.ibm.icu.impl.number.Padder.PadPosition;
254 if (tuple.padPosition != null) {
255 fmt.setPadPosition(tuple.padPosition);
440 if (tuple.padPosition != null) {
441 fmt.setPadPosition(tuple.padPosition);
615 if (tuple.padPosition != null) {
722 if (tuple.padPosition != null) {
723 properties.setPadPosition(PadPosition.fromOld(tuple.padPosition));
    [all...]
  /external/cldr/tools/java/libs/
icu4j.jar 

Completed in 124 milliseconds