Home
last modified time | relevance | path

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

12

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DPluralRangesTest.java23 import android.icu.text.MeasureFormat.FormatWidth;
71 FormatWidth width = FormatWidth.valueOf(test[1]); in TestRangePattern()
84 … {0.0, 1.0, ULocale.FRANCE, FormatWidth.WIDE, MeasureUnit.FAHRENHEIT, "0–1 degré Fahrenheit"}, in TestFormatting()
85 … {1.0, 2.0, ULocale.FRANCE, FormatWidth.WIDE, MeasureUnit.FAHRENHEIT, "1–2 degrés Fahrenheit"}, in TestFormatting()
86 … {3.1, 4.25, ULocale.FRANCE, FormatWidth.SHORT, MeasureUnit.FAHRENHEIT, "3,1–4,25 °F"}, in TestFormatting()
87 … {3.1, 4.25, ULocale.ENGLISH, FormatWidth.SHORT, MeasureUnit.FAHRENHEIT, "3.1–4.25°F"}, in TestFormatting()
88 {3.1, 4.25, ULocale.CHINESE, FormatWidth.WIDE, MeasureUnit.INCH, "3.1-4.25英寸"}, in TestFormatting()
89 {0.0, 1.0, ULocale.ENGLISH, FormatWidth.WIDE, MeasureUnit.INCH, "0–1 inches"}, in TestFormatting()
91 … {0.0, 1.0, ULocale.ENGLISH, FormatWidth.NARROW, Currency.getInstance("EUR"), "€0.00–1.00"}, in TestFormatting()
92 … {0.0, 1.0, ULocale.FRENCH, FormatWidth.NARROW, Currency.getInstance("EUR"), "0,00–1,00 €"}, in TestFormatting()
[all …]
DMeasureUnitTest.java45 import android.icu.text.MeasureFormat.FormatWidth;
1294 ULocale.FRENCH, FormatWidth.SHORT); in TestExamplesInDocs()
1300 ULocale.FRENCH, FormatWidth.WIDE); in TestExamplesInDocs()
1314 ULocale.FRENCH, FormatWidth.NARROW); 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()
1453 mf = MeasureFormat.getInstance(ULocale.GERMAN, FormatWidth.WIDE, nf); in TestFormatPeriodEn()
[all …]
DMeasureUnitThreadTest.java48 this.mf = MeasureFormat.getInstance(ULocale.ENGLISH, MeasureFormat.FormatWidth.NUMERIC); in NumericMeasureThread()
DTimeUnitTest.java444 assertEquals("getWidth", MeasureFormat.FormatWidth.WIDE, tuf.getWidth()); in TestStandInForMeasureFormat()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralRangesTest.java22 import com.ibm.icu.text.MeasureFormat.FormatWidth;
68 FormatWidth width = FormatWidth.valueOf(test[1]); in TestRangePattern()
81 … {0.0, 1.0, ULocale.FRANCE, FormatWidth.WIDE, MeasureUnit.FAHRENHEIT, "0–1 degré Fahrenheit"}, in TestFormatting()
82 … {1.0, 2.0, ULocale.FRANCE, FormatWidth.WIDE, MeasureUnit.FAHRENHEIT, "1–2 degrés Fahrenheit"}, in TestFormatting()
83 … {3.1, 4.25, ULocale.FRANCE, FormatWidth.SHORT, MeasureUnit.FAHRENHEIT, "3,1–4,25 °F"}, in TestFormatting()
84 … {3.1, 4.25, ULocale.ENGLISH, FormatWidth.SHORT, MeasureUnit.FAHRENHEIT, "3.1–4.25°F"}, in TestFormatting()
85 {3.1, 4.25, ULocale.CHINESE, FormatWidth.WIDE, MeasureUnit.INCH, "3.1-4.25英寸"}, in TestFormatting()
86 {0.0, 1.0, ULocale.ENGLISH, FormatWidth.WIDE, MeasureUnit.INCH, "0–1 inches"}, in TestFormatting()
88 … {0.0, 1.0, ULocale.ENGLISH, FormatWidth.NARROW, Currency.getInstance("EUR"), "€0.00–1.00"}, in TestFormatting()
89 … {0.0, 1.0, ULocale.FRENCH, FormatWidth.NARROW, Currency.getInstance("EUR"), "0,00–1,00 €"}, in TestFormatting()
[all …]
DMeasureUnitTest.java44 import com.ibm.icu.text.MeasureFormat.FormatWidth;
1291 ULocale.FRENCH, FormatWidth.SHORT); in TestExamplesInDocs()
1297 ULocale.FRENCH, FormatWidth.WIDE); in TestExamplesInDocs()
1311 ULocale.FRENCH, FormatWidth.NARROW); 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()
1450 mf = MeasureFormat.getInstance(ULocale.GERMAN, FormatWidth.WIDE, nf); in TestFormatPeriodEn()
[all …]
DMeasureUnitThreadTest.java45 this.mf = MeasureFormat.getInstance(ULocale.ENGLISH, MeasureFormat.FormatWidth.NUMERIC); in NumericMeasureThread()
DTimeUnitTest.java441 assertEquals("getWidth", MeasureFormat.FormatWidth.WIDE, tuf.getWidth()); in TestStandInForMeasureFormat()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMeasureFormat.java118 private final transient FormatWidth formatWidth;
151 public enum FormatWidth { enum in MeasureFormat
207 … private FormatWidth(ListFormatter.Style style, UnitWidth unitWidth, UnitWidth currencyWidth) { in FormatWidth() method in MeasureFormat.FormatWidth
228 public static MeasureFormat getInstance(ULocale locale, FormatWidth formatWidth) { in getInstance()
242 public static MeasureFormat getInstance(Locale locale, FormatWidth formatWidth) { in getInstance()
260 FormatWidth formatWidth, in getInstance()
279 FormatWidth formatWidth, in getInstance()
441 if (formatWidth == FormatWidth.NUMERIC) { in formatMeasuresInternal()
522 public MeasureFormat.FormatWidth getWidth() { in getWidth()
523 if (formatWidth == MeasureFormat.FormatWidth.DEFAULT_CURRENCY) { in getWidth()
[all …]
DCurrencyFormat.java38 super(locale, FormatWidth.DEFAULT_CURRENCY); in CurrencyFormat()
DTimeUnitFormat.java145 super(locale, style == FULL_NAME ? FormatWidth.WIDE : FormatWidth.SHORT); in TimeUnitFormat()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMeasureFormat.java112 private final transient FormatWidth formatWidth;
143 public enum FormatWidth { enum in MeasureFormat
191 … private FormatWidth(ListFormatter.Style style, UnitWidth unitWidth, UnitWidth currencyWidth) { in FormatWidth() method in MeasureFormat.FormatWidth
211 public static MeasureFormat getInstance(ULocale locale, FormatWidth formatWidth) { in getInstance()
224 public static MeasureFormat getInstance(Locale locale, FormatWidth formatWidth) { in getInstance()
241 FormatWidth formatWidth, in getInstance()
259 FormatWidth formatWidth, in getInstance()
415 if (formatWidth == FormatWidth.NUMERIC) { in formatMeasuresInternal()
488 public MeasureFormat.FormatWidth getWidth() { in getWidth()
489 if (formatWidth == MeasureFormat.FormatWidth.DEFAULT_CURRENCY) { in getWidth()
[all …]
DCurrencyFormat.java39 super(locale, FormatWidth.DEFAULT_CURRENCY); in CurrencyFormat()
DTimeUnitFormat.java147 super(locale, style == FULL_NAME ? FormatWidth.WIDE : FormatWidth.SHORT); in TimeUnitFormat()
/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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/
DCOFFDump.cpp252 size_t FormatWidth = sizeof(T) * 2; in printTLSDirectoryT() local
255 << format_hex(TLSDir->StartAddressOfRawData, FormatWidth) in printTLSDirectoryT()
257 << format_hex(TLSDir->EndAddressOfRawData, FormatWidth) in printTLSDirectoryT()
259 << format_hex(TLSDir->AddressOfIndex, FormatWidth) in printTLSDirectoryT()
261 << format_hex(TLSDir->AddressOfCallBacks, FormatWidth) in printTLSDirectoryT()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DPropertiesTest.java39 import android.icu.text.MeasureFormat.FormatWidth;
257 } else if (type == FormatWidth.class) { in getSampleValueForType()
260 FormatWidth[] values = FormatWidth.values(); in getSampleValueForType()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DPropertiesTest.java38 import com.ibm.icu.text.MeasureFormat.FormatWidth;
254 } else if (type == FormatWidth.class) { in getSampleValueForType()
257 FormatWidth[] values = FormatWidth.values(); in getSampleValueForType()
/external/pdfium/core/fxcrt/
Dbytestring_unittest.cpp1484 TEST(ByteString, FormatWidth) { in TEST() argument
Dwidestring_unittest.cpp1314 TEST(WideString, FormatWidth) { in TEST() argument
/external/icu/icu4j/tools/build/
Dicu4j56.api3.gz12;ICU4J 56.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j54.api3.gz
Dicu4j55.api3.gz12;ICU4J 55.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j57.api3.gz12;ICU4J 57.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j60.api3.gz12;ICU4J 60.1;; 2ST@3.6;PB;NS;NF;NS; ...

12