/external/icu/icu4c/source/i18n/ |
D | measfmt.cpp | 53 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(MeasureFormat) 616 MeasureFormat::MeasureFormat( in MeasureFormat() function in MeasureFormat 626 MeasureFormat::MeasureFormat( in MeasureFormat() function in MeasureFormat 639 MeasureFormat::MeasureFormat(const MeasureFormat &other) : in MeasureFormat() function in MeasureFormat 654 MeasureFormat &MeasureFormat::operator=(const MeasureFormat &other) { in operator =() 672 MeasureFormat::MeasureFormat() : in MeasureFormat() function in MeasureFormat 680 MeasureFormat::~MeasureFormat() { in ~MeasureFormat() 693 UBool MeasureFormat::operator==(const Format &other) const { in operator ==() 700 const MeasureFormat &rhs = static_cast<const MeasureFormat &>(other); in operator ==() 729 Format *MeasureFormat::clone() const { in clone() [all …]
|
D | currfmt.h | 38 class CurrencyFormat : public MeasureFormat { 63 using MeasureFormat::format;
|
D | currfmt.cpp | 24 MeasureFormat(locale, UMEASFMT_WIDTH_WIDE, ec), fmt(NULL) in CurrencyFormat() 30 MeasureFormat(other), fmt(NULL) in CurrencyFormat()
|
D | tmutfmt.cpp | 111 : MeasureFormat(other), in TimeUnitFormat() 150 MeasureFormat::operator=(other); in operator =()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | measfmt.h | 98 class U_I18N_API MeasureFormat : public Format { 110 MeasureFormat( 120 MeasureFormat( 130 MeasureFormat(const MeasureFormat &other); 136 MeasureFormat &operator=(const MeasureFormat &rhs); 142 virtual ~MeasureFormat(); 245 static MeasureFormat* U_EXPORT2 createCurrencyFormat(const Locale& locale, 258 static MeasureFormat* U_EXPORT2 createCurrencyFormat(UErrorCode& ec); 291 MeasureFormat();
|
D | tmutfmt.h | 87 class U_I18N_API TimeUnitFormat: public MeasureFormat {
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | MeasureUnitTest.java | 44 import android.icu.text.MeasureFormat; 45 import android.icu.text.MeasureFormat.FormatWidth; 1293 MeasureFormat fmtFr = MeasureFormat.getInstance( in TestExamplesInDocs() 1299 MeasureFormat fmtFrFull = MeasureFormat.getInstance( in TestExamplesInDocs() 1313 MeasureFormat fmtFrNarrow = MeasureFormat.getInstance( in TestExamplesInDocs() 1321 MeasureFormat fmtEn = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE); in TestExamplesInDocs() 1442 MeasureFormat mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE, nf); in TestFormatPeriodEn() 1444 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.SHORT, nf); in TestFormatPeriodEn() 1446 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NARROW, nf); in TestFormatPeriodEn() 1448 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NUMERIC, nf); in TestFormatPeriodEn() [all …]
|
D | MeasureUnitThreadTest.java | 13 import android.icu.text.MeasureFormat; 41 final MeasureFormat mf; 48 this.mf = MeasureFormat.getInstance(ULocale.ENGLISH, MeasureFormat.FormatWidth.NUMERIC); in NumericMeasureThread()
|
D | PluralRangesTest.java | 22 import android.icu.text.MeasureFormat; 23 import android.icu.text.MeasureFormat.FormatWidth; 73 String formatter = MeasureFormat.getRangeFormat(ulocale, width); in TestRangePattern() 114 MeasureFormat mf = MeasureFormat.getInstance(locale, width); in TestFormatting()
|
D | TimeUnitTest.java | 22 import android.icu.text.MeasureFormat; 143 MeasureFormat tfeq = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in TestEqHashCode() 145 MeasureFormat tfne = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.ABBREVIATED_NAME); in TestEqHashCode() 146 MeasureFormat tfne2 = new TimeUnitFormat(ULocale.GERMAN, TimeUnitFormat.FULL_NAME); in TestEqHashCode() 444 assertEquals("getWidth", MeasureFormat.FormatWidth.WIDE, tuf.getWidth()); in TestStandInForMeasureFormat()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | MeasureUnitTest.java | 43 import com.ibm.icu.text.MeasureFormat; 44 import com.ibm.icu.text.MeasureFormat.FormatWidth; 1290 MeasureFormat fmtFr = MeasureFormat.getInstance( in TestExamplesInDocs() 1296 MeasureFormat fmtFrFull = MeasureFormat.getInstance( in TestExamplesInDocs() 1310 MeasureFormat fmtFrNarrow = MeasureFormat.getInstance( in TestExamplesInDocs() 1318 MeasureFormat fmtEn = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE); in TestExamplesInDocs() 1439 MeasureFormat mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE, nf); in TestFormatPeriodEn() 1441 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.SHORT, nf); in TestFormatPeriodEn() 1443 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NARROW, nf); in TestFormatPeriodEn() 1445 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NUMERIC, nf); in TestFormatPeriodEn() [all …]
|
D | MeasureUnitThreadTest.java | 12 import com.ibm.icu.text.MeasureFormat; 38 final MeasureFormat mf; 45 this.mf = MeasureFormat.getInstance(ULocale.ENGLISH, MeasureFormat.FormatWidth.NUMERIC); in NumericMeasureThread()
|
D | PluralRangesTest.java | 21 import com.ibm.icu.text.MeasureFormat; 22 import com.ibm.icu.text.MeasureFormat.FormatWidth; 70 String formatter = MeasureFormat.getRangeFormat(ulocale, width); in TestRangePattern() 111 MeasureFormat mf = MeasureFormat.getInstance(locale, width); in TestFormatting()
|
D | TimeUnitTest.java | 21 import com.ibm.icu.text.MeasureFormat; 140 MeasureFormat tfeq = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in TestEqHashCode() 142 MeasureFormat tfne = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.ABBREVIATED_NAME); in TestEqHashCode() 143 MeasureFormat tfne2 = new TimeUnitFormat(ULocale.GERMAN, TimeUnitFormat.FULL_NAME); in TestEqHashCode() 441 assertEquals("getWidth", MeasureFormat.FormatWidth.WIDE, tuf.getWidth()); in TestStandInForMeasureFormat()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | MeasureFormat.java | 113 public class MeasureFormat extends UFormat { class 228 public static MeasureFormat getInstance(ULocale locale, FormatWidth formatWidth) { in getInstance() 242 public static MeasureFormat getInstance(Locale locale, FormatWidth formatWidth) { in getInstance() 258 public static MeasureFormat getInstance( in getInstance() 262 return new MeasureFormat(locale, formatWidth, format, null, null); in getInstance() 277 public static MeasureFormat getInstance( in getInstance() 496 if (!(other instanceof MeasureFormat)) { in equals() 499 MeasureFormat rhs = (MeasureFormat) other; in equals() 522 public MeasureFormat.FormatWidth getWidth() { in getWidth() 523 if (formatWidth == MeasureFormat.FormatWidth.DEFAULT_CURRENCY) { in getWidth() [all …]
|
D | CurrencyFormat.java | 33 class CurrencyFormat extends MeasureFormat {
|
D | TimeUnitFormat.java | 66 public class TimeUnitFormat extends MeasureFormat {
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | MeasureFormat.java | 107 public class MeasureFormat extends UFormat { class 211 public static MeasureFormat getInstance(ULocale locale, FormatWidth formatWidth) { in getInstance() 224 public static MeasureFormat getInstance(Locale locale, FormatWidth formatWidth) { in getInstance() 239 public static MeasureFormat getInstance( in getInstance() 243 return new MeasureFormat(locale, formatWidth, format, null, null); in getInstance() 257 public static MeasureFormat getInstance( in getInstance() 466 if (!(other instanceof MeasureFormat)) { in equals() 469 MeasureFormat rhs = (MeasureFormat) other; in equals() 488 public MeasureFormat.FormatWidth getWidth() { in getWidth() 489 if (formatWidth == MeasureFormat.FormatWidth.DEFAULT_CURRENCY) { in getWidth() [all …]
|
D | CurrencyFormat.java | 34 class CurrencyFormat extends MeasureFormat {
|
D | TimeUnitFormat.java | 68 public class TimeUnitFormat extends MeasureFormat {
|
/external/icu/tools/srcgen/javadoc_patches/patches/src/main/java/android/icu/text/ |
D | MeasureFormat.java.patch | 1 --- android_icu4j/src/main/java/android/icu/text/MeasureFormat.java 2018-08-21 18:04:14.282638002 +… 2 +++ android_icu4j/src/main/java/android/icu/text/MeasureFormat.java 2018-08-21 18:02:29.502129978 +… 9 - * class, MeasureFormat, is provided for backwards compatibility only. 13 …* To format a Measure object, first create a formatter object using a MeasureFormat factory method…
|
/external/icu/icu4c/source/test/intltest/ |
D | measfmttest.cpp | 78 const MeasureFormat &fmt, 84 const MeasureFormat &fmt, 91 const MeasureFormat &fmt, 128 const MeasureFormat &fmt, 1288 MeasureFormat fmtFr(Locale::getFrench(), UMEASFMT_WIDTH_SHORT, status); in TestExamplesInDocs() 1289 MeasureFormat fmtFrFull( in TestExamplesInDocs() 1291 MeasureFormat fmtFrNarrow( in TestExamplesInDocs() 1293 MeasureFormat fmtEn(Locale::getUS(), UMEASFMT_WIDTH_WIDE, status); in TestExamplesInDocs() 1514 MeasureFormat mf(en, UMEASFMT_WIDTH_WIDE, (NumberFormat *) nf->clone(), status); in TestFormatPeriodEn() 1522 MeasureFormat mf2(mf); in TestFormatPeriodEn() [all …]
|
D | uobjtest.cpp | 383 …TESTCLASSID_FACTORY_HIDDEN(CurrencyFormat, MeasureFormat::createCurrencyFormat(Locale::getUS(), st… in testIDs()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | PropertiesTest.java | 38 import com.ibm.icu.text.MeasureFormat.FormatWidth;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | PropertiesTest.java | 39 import android.icu.text.MeasureFormat.FormatWidth;
|