Home
last modified time | relevance | path

Searched refs:FormatWidth (Results 1 – 21 of 21) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DPluralRangesTest.java20 import android.icu.text.MeasureFormat.FormatWidth;
65 FormatWidth width = FormatWidth.valueOf(test[1]); in TestRangePattern()
76 … {0.0, 1.0, ULocale.FRANCE, FormatWidth.WIDE, MeasureUnit.FAHRENHEIT, "0–1 degré Fahrenheit"}, in TestFormatting()
77 … {1.0, 2.0, ULocale.FRANCE, FormatWidth.WIDE, MeasureUnit.FAHRENHEIT, "1–2 degrés Fahrenheit"}, in TestFormatting()
78 … {3.1, 4.25, ULocale.FRANCE, FormatWidth.SHORT, MeasureUnit.FAHRENHEIT, "3,1–4,25 °F"}, in TestFormatting()
79 … {3.1, 4.25, ULocale.ENGLISH, FormatWidth.SHORT, MeasureUnit.FAHRENHEIT, "3.1–4.25°F"}, in TestFormatting()
80 {3.1, 4.25, ULocale.CHINESE, FormatWidth.WIDE, MeasureUnit.INCH, "3.1-4.25英寸"}, in TestFormatting()
81 {0.0, 1.0, ULocale.ENGLISH, FormatWidth.WIDE, MeasureUnit.INCH, "0–1 inches"}, in TestFormatting()
83 … {0.0, 1.0, ULocale.ENGLISH, FormatWidth.NARROW, Currency.getInstance("EUR"), "€0.00–1.00"}, in TestFormatting()
84 … {0.0, 1.0, ULocale.FRENCH, FormatWidth.NARROW, Currency.getInstance("EUR"), "0,00–1,00 €"}, in TestFormatting()
[all …]
DMeasureUnitTest.java39 import android.icu.text.MeasureFormat.FormatWidth;
1021 ULocale.FRENCH, FormatWidth.SHORT); in TestExamplesInDocs()
1027 ULocale.FRENCH, FormatWidth.WIDE); in TestExamplesInDocs()
1041 ULocale.FRENCH, FormatWidth.NARROW); in TestExamplesInDocs()
1048 MeasureFormat fmtEn = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE); in TestExamplesInDocs()
1169 MeasureFormat mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE, nf); in TestFormatPeriodEn()
1171 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.SHORT, nf); in TestFormatPeriodEn()
1173 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NARROW, nf); in TestFormatPeriodEn()
1175 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NUMERIC, nf); in TestFormatPeriodEn()
1180 mf = MeasureFormat.getInstance(ULocale.GERMAN, FormatWidth.WIDE, nf); in TestFormatPeriodEn()
[all …]
DTimeUnitTest.java443 assertEquals("getWidth", MeasureFormat.FormatWidth.WIDE, tuf.getWidth()); in TestStandInForMeasureFormat()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralRangesTest.java19 import com.ibm.icu.text.MeasureFormat.FormatWidth;
64 FormatWidth width = FormatWidth.valueOf(test[1]); in TestRangePattern()
75 … {0.0, 1.0, ULocale.FRANCE, FormatWidth.WIDE, MeasureUnit.FAHRENHEIT, "0–1 degré Fahrenheit"}, in TestFormatting()
76 … {1.0, 2.0, ULocale.FRANCE, FormatWidth.WIDE, MeasureUnit.FAHRENHEIT, "1–2 degrés Fahrenheit"}, in TestFormatting()
77 … {3.1, 4.25, ULocale.FRANCE, FormatWidth.SHORT, MeasureUnit.FAHRENHEIT, "3,1–4,25 °F"}, in TestFormatting()
78 … {3.1, 4.25, ULocale.ENGLISH, FormatWidth.SHORT, MeasureUnit.FAHRENHEIT, "3.1–4.25°F"}, in TestFormatting()
79 {3.1, 4.25, ULocale.CHINESE, FormatWidth.WIDE, MeasureUnit.INCH, "3.1-4.25英寸"}, in TestFormatting()
80 {0.0, 1.0, ULocale.ENGLISH, FormatWidth.WIDE, MeasureUnit.INCH, "0–1 inches"}, in TestFormatting()
82 … {0.0, 1.0, ULocale.ENGLISH, FormatWidth.NARROW, Currency.getInstance("EUR"), "€0.00–1.00"}, in TestFormatting()
83 … {0.0, 1.0, ULocale.FRENCH, FormatWidth.NARROW, Currency.getInstance("EUR"), "0,00–1,00 €"}, in TestFormatting()
[all …]
DMeasureUnitTest.java38 import com.ibm.icu.text.MeasureFormat.FormatWidth;
1020 ULocale.FRENCH, FormatWidth.SHORT); in TestExamplesInDocs()
1026 ULocale.FRENCH, FormatWidth.WIDE); in TestExamplesInDocs()
1040 ULocale.FRENCH, FormatWidth.NARROW); in TestExamplesInDocs()
1047 MeasureFormat fmtEn = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE); in TestExamplesInDocs()
1168 MeasureFormat mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE, nf); in TestFormatPeriodEn()
1170 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.SHORT, nf); in TestFormatPeriodEn()
1172 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NARROW, nf); in TestFormatPeriodEn()
1174 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NUMERIC, nf); in TestFormatPeriodEn()
1179 mf = MeasureFormat.getInstance(ULocale.GERMAN, FormatWidth.WIDE, nf); in TestFormatPeriodEn()
[all …]
DTimeUnitTest.java442 assertEquals("getWidth", MeasureFormat.FormatWidth.WIDE, tuf.getWidth()); in TestStandInForMeasureFormat()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMeasureFormat.java124 private final transient FormatWidth formatWidth;
160 public enum FormatWidth { enum in MeasureFormat
191 private FormatWidth(ListFormatter.Style style, int currencyStyle) { in FormatWidth() method in MeasureFormat.FormatWidth
212 public static MeasureFormat getInstance(ULocale locale, FormatWidth formatWidth) { in getInstance()
223 public static MeasureFormat getInstance(Locale locale, FormatWidth formatWidth) { in getInstance()
235 …public static MeasureFormat getInstance(ULocale locale, FormatWidth formatWidth, NumberFormat form… in getInstance()
243 if (formatWidth == FormatWidth.NUMERIC) { in getInstance()
273 …public static MeasureFormat getInstance(Locale locale, FormatWidth formatWidth, NumberFormat forma… in getInstance()
527 if (formatWidth == FormatWidth.NUMERIC) { in formatMeasures()
563 FormatWidth width = getRegularWidth(formatWidth); in getUnitDisplayName()
[all …]
DCurrencyFormat.java46 mf = MeasureFormat.getInstance(locale, FormatWidth.WIDE); in CurrencyFormat()
99 public MeasureFormat.FormatWidth getWidth() { in getWidth()
DTimeUnitFormat.java122 mf = MeasureFormat.getInstance(ULocale.getDefault(), FormatWidth.WIDE); in TimeUnitFormat()
161 locale, style == FULL_NAME ? FormatWidth.WIDE : FormatWidth.SHORT); in TimeUnitFormat()
592 public MeasureFormat.FormatWidth getWidth() { in getWidth()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMeasureFormat.java124 private final transient FormatWidth formatWidth;
162 public enum FormatWidth { enum in MeasureFormat
201 private FormatWidth(ListFormatter.Style style, int currencyStyle) { in FormatWidth() method in MeasureFormat.FormatWidth
223 public static MeasureFormat getInstance(ULocale locale, FormatWidth formatWidth) { in getInstance()
235 public static MeasureFormat getInstance(Locale locale, FormatWidth formatWidth) { in getInstance()
248 …public static MeasureFormat getInstance(ULocale locale, FormatWidth formatWidth, NumberFormat form… in getInstance()
256 if (formatWidth == FormatWidth.NUMERIC) { in getInstance()
287 …public static MeasureFormat getInstance(Locale locale, FormatWidth formatWidth, NumberFormat forma… in getInstance()
546 if (formatWidth == FormatWidth.NUMERIC) { in formatMeasures()
583 FormatWidth width = getRegularWidth(formatWidth); in getUnitDisplayName()
[all …]
DCurrencyFormat.java45 mf = MeasureFormat.getInstance(locale, FormatWidth.WIDE); in CurrencyFormat()
98 public MeasureFormat.FormatWidth getWidth() { in getWidth()
DTimeUnitFormat.java120 mf = MeasureFormat.getInstance(ULocale.getDefault(), FormatWidth.WIDE); in TimeUnitFormat()
159 locale, style == FULL_NAME ? FormatWidth.WIDE : FormatWidth.SHORT); in TimeUnitFormat()
590 public MeasureFormat.FormatWidth getWidth() { in getWidth()
/external/llvm/tools/llvm-objdump/
DCOFFDump.cpp257 size_t FormatWidth = sizeof(T) * 2; in printTLSDirectoryT() local
260 << format_hex(TLSDir->StartAddressOfRawData, FormatWidth) in printTLSDirectoryT()
262 << format_hex(TLSDir->EndAddressOfRawData, FormatWidth) in printTLSDirectoryT()
264 << format_hex(TLSDir->AddressOfIndex, FormatWidth) in printTLSDirectoryT()
266 << format_hex(TLSDir->AddressOfCallBacks, FormatWidth) in printTLSDirectoryT()
/external/icu/icu4j/tools/build/
Dicu4j54.api3.gz
Dicu4j55.api3.gz
Dicu4j56.api3.gz12;ICU4J 56.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j57.api3.gz
Dicu4j58.api3.gz12;ICU4J 58.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j52.api3.gz
Dicu4j53.api3.gz
/external/icu/icu4j/
Dcoverage-exclusion.txt695 com/ibm/icu/text/MeasureFormat#getPerFormatter:(Lcom/ibm/icu/text/MeasureFormat$FormatWidth;)Ljava/…