Home
last modified time | relevance | path

Searched refs:rawField (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DFormattedValueStringBuilderImpl.java58 java.text.Format.Field rawField = fp.getFieldAttribute(); in nextFieldPosition() local
60 if (rawField == null) { in nextFieldPosition()
63 rawField = NumberFormat.Field.INTEGER; in nextFieldPosition()
65 rawField = NumberFormat.Field.FRACTION; in nextFieldPosition()
72 if (!(rawField instanceof NumberFormat.Field)) { in nextFieldPosition()
75 + rawField.getClass().toString()); in nextFieldPosition()
79 cfpos.constrainField(rawField); in nextFieldPosition()
80 cfpos.setState(rawField, null, fp.getBeginIndex(), fp.getEndIndex()); in nextFieldPosition()
88 if (rawField == NumberFormat.Field.FRACTION && fp.getEndIndex() == 0) { in nextFieldPosition()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DFormattedValueStringBuilderImpl.java61 java.text.Format.Field rawField = fp.getFieldAttribute(); in nextFieldPosition() local
63 if (rawField == null) { in nextFieldPosition()
66 rawField = NumberFormat.Field.INTEGER; in nextFieldPosition()
68 rawField = NumberFormat.Field.FRACTION; in nextFieldPosition()
75 if (!(rawField instanceof NumberFormat.Field)) { in nextFieldPosition()
78 + rawField.getClass().toString()); in nextFieldPosition()
82 cfpos.constrainField(rawField); in nextFieldPosition()
83 cfpos.setState(rawField, null, fp.getBeginIndex(), fp.getEndIndex()); in nextFieldPosition()
91 if (rawField == NumberFormat.Field.FRACTION && fp.getEndIndex() == 0) { in nextFieldPosition()
/external/icu/icu4c/source/i18n/
Dformattedval_sbimpl.cpp53 int32_t rawField = fp.getField(); in nextFieldPosition() local
55 if (rawField == FieldPosition::DONT_CARE) { in nextFieldPosition()
59 if (rawField < 0 || rawField >= UNUM_FIELD_COUNT) { in nextFieldPosition()
65 cfpos.constrainField(UFIELD_CATEGORY_NUMBER, rawField); in nextFieldPosition()
66 cfpos.setState(UFIELD_CATEGORY_NUMBER, rawField, fp.getBeginIndex(), fp.getEndIndex()); in nextFieldPosition()
74 if (rawField == UNUM_FRACTION_FIELD && fp.getEndIndex() == 0) { in nextFieldPosition()