/third_party/flutter/flutter/packages/flutter_localizations/test/cupertino/ |
D | translations_test.dart | 16 …final CupertinoLocalizations localizations = await GlobalCupertinoLocalizations.delegate.load(loca… 18 expect(localizations.datePickerYear(0), isNotNull); 19 expect(localizations.datePickerYear(1), isNotNull); 20 expect(localizations.datePickerYear(2), isNotNull); 21 expect(localizations.datePickerYear(10), isNotNull); 23 expect(localizations.datePickerMonth(1), isNotNull); 24 expect(localizations.datePickerMonth(2), isNotNull); 25 expect(localizations.datePickerMonth(11), isNotNull); 26 expect(localizations.datePickerMonth(12), isNotNull); 28 expect(localizations.datePickerDayOfMonth(0), isNotNull); [all …]
|
/third_party/flutter/flutter/packages/flutter_localizations/test/material/ |
D | translations_test.dart | 16 …final MaterialLocalizations localizations = await GlobalMaterialLocalizations.delegate.load(locale… 18 expect(localizations.openAppDrawerTooltip, isNotNull); 19 expect(localizations.backButtonTooltip, isNotNull); 20 expect(localizations.closeButtonTooltip, isNotNull); 21 expect(localizations.nextMonthTooltip, isNotNull); 22 expect(localizations.previousMonthTooltip, isNotNull); 23 expect(localizations.nextPageTooltip, isNotNull); 24 expect(localizations.previousPageTooltip, isNotNull); 25 expect(localizations.showMenuTooltip, isNotNull); 26 expect(localizations.licensesPageTitle, isNotNull); [all …]
|
D | date_time_test.dart | 14 …final GlobalMaterialLocalizations localizations = await GlobalMaterialLocalizations.delegate.load(… 15 expect(localizations.formatDecimal(10000), '10\u00A0000'); 19 …final GlobalMaterialLocalizations localizations = await GlobalMaterialLocalizations.delegate.load(… 20 expect(localizations.formatDecimal(10000), '10.000'); 70 …final GlobalMaterialLocalizations localizations = await GlobalMaterialLocalizations.delegate.load(… 71 expect(localizations.formatMinute(const TimeOfDay(hour: 1, minute: 32)), '32'); 129 final MaterialLocalizations localizations = MaterialLocalizations.of(context); 131 DateType.year: localizations.formatYear(dateTime), 132 DateType.medium: localizations.formatMediumDate(dateTime), 133 DateType.full: localizations.formatFullDate(dateTime), [all …]
|
/third_party/flutter/flutter/packages/flutter/test/material/ |
D | localizations_test.dart | 10 const MaterialLocalizations localizations = DefaultMaterialLocalizations(); 12 expect(localizations.openAppDrawerTooltip, isNotNull); 13 expect(localizations.backButtonTooltip, isNotNull); 14 expect(localizations.closeButtonTooltip, isNotNull); 15 expect(localizations.deleteButtonTooltip, isNotNull); 16 expect(localizations.nextMonthTooltip, isNotNull); 17 expect(localizations.previousMonthTooltip, isNotNull); 18 expect(localizations.nextPageTooltip, isNotNull); 19 expect(localizations.previousPageTooltip, isNotNull); 20 expect(localizations.showMenuTooltip, isNotNull); [all …]
|
/third_party/flutter/flutter/packages/flutter/test/cupertino/ |
D | localizations_test.dart | 10 const CupertinoLocalizations localizations = DefaultCupertinoLocalizations(); 12 expect(localizations.datePickerYear(2018), isNotNull); 13 expect(localizations.datePickerMonth(1), isNotNull); 14 expect(localizations.datePickerDayOfMonth(1), isNotNull); 15 expect(localizations.datePickerHour(0), isNotNull); 16 expect(localizations.datePickerHourSemanticsLabel(0), isNotNull); 17 expect(localizations.datePickerMinute(0), isNotNull); 18 expect(localizations.datePickerMinuteSemanticsLabel(0), isNotNull); 19 expect(localizations.datePickerMediumDate(DateTime.now()), isNotNull); 20 expect(localizations.datePickerDateOrder, isNotNull); [all …]
|
/third_party/flutter/flutter/packages/flutter/lib/src/cupertino/ |
D | date_picker.dart | 11 import 'localizations.dart'; 299 CupertinoLocalizations localizations, 311 localizations.datePickerMediumDate(DateTime(2018, i, 25)); 318 final String hour = localizations.datePickerHour(i); 325 final String minute = localizations.datePickerMinute(i); 332 … localizations.anteMeridiemAbbreviation.length > localizations.postMeridiemAbbreviation.length 333 ? localizations.anteMeridiemAbbreviation 334 : localizations.postMeridiemAbbreviation; 338 final String dayOfMonth = localizations.datePickerDayOfMonth(i); 345 final String month = localizations.datePickerMonth(i); [all …]
|
D | text_selection.dart | 13 import 'localizations.dart'; 330 final CupertinoLocalizations localizations = CupertinoLocalizations.of(context); 359 addToolbarButtonIfNeeded(localizations.cutButtonLabel, canCut, handleCut); 360 addToolbarButtonIfNeeded(localizations.copyButtonLabel, canCopy, handleCopy); 361 addToolbarButtonIfNeeded(localizations.pasteButtonLabel, canPaste, handlePaste); 362 addToolbarButtonIfNeeded(localizations.selectAllButtonLabel, canSelectAll, handleSelectAll);
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | rbnf.cpp | 695 , localizations(NULL) in RuleBasedNumberFormat() 720 , localizations(NULL) in RuleBasedNumberFormat() 745 , localizations(NULL) in RuleBasedNumberFormat() 769 , localizations(NULL) in RuleBasedNumberFormat() 794 , localizations(NULL) in RuleBasedNumberFormat() 816 , localizations(NULL) in RuleBasedNumberFormat() 883 , localizations(NULL) in RuleBasedNumberFormat() 908 …init(rhs.originalDescription, rhs.localizations ? rhs.localizations->ref() : NULL, perror, status); in operator =() 947 (localizations == NULL in operator ==() 948 ? rhs.localizations == NULL in operator ==() [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | rbnf.cpp | 701 , localizations(NULL) in RuleBasedNumberFormat() 726 , localizations(NULL) in RuleBasedNumberFormat() 751 , localizations(NULL) in RuleBasedNumberFormat() 775 , localizations(NULL) in RuleBasedNumberFormat() 800 , localizations(NULL) in RuleBasedNumberFormat() 822 , localizations(NULL) in RuleBasedNumberFormat() 889 , localizations(NULL) in RuleBasedNumberFormat() 914 …init(rhs.originalDescription, rhs.localizations ? rhs.localizations->ref() : NULL, perror, status); in operator =() 953 (localizations == NULL in operator ==() 954 ? rhs.localizations == NULL in operator ==() [all …]
|
/third_party/icu/icu4c/source/i18n/ |
D | rbnf.cpp | 701 , localizations(NULL) in RuleBasedNumberFormat() 726 , localizations(NULL) in RuleBasedNumberFormat() 751 , localizations(NULL) in RuleBasedNumberFormat() 775 , localizations(NULL) in RuleBasedNumberFormat() 800 , localizations(NULL) in RuleBasedNumberFormat() 822 , localizations(NULL) in RuleBasedNumberFormat() 889 , localizations(NULL) in RuleBasedNumberFormat() 914 …init(rhs.originalDescription, rhs.localizations ? rhs.localizations->ref() : NULL, perror, status); in operator =() 953 (localizations == NULL in operator ==() 954 ? rhs.localizations == NULL in operator ==() [all …]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | rbnf.cpp | 701 , localizations(NULL) in RuleBasedNumberFormat() 726 , localizations(NULL) in RuleBasedNumberFormat() 751 , localizations(NULL) in RuleBasedNumberFormat() 775 , localizations(NULL) in RuleBasedNumberFormat() 800 , localizations(NULL) in RuleBasedNumberFormat() 822 , localizations(NULL) in RuleBasedNumberFormat() 889 , localizations(NULL) in RuleBasedNumberFormat() 914 …init(rhs.originalDescription, rhs.localizations ? rhs.localizations->ref() : NULL, perror, status); in operator =() 953 (localizations == NULL in operator ==() 954 ? rhs.localizations == NULL in operator ==() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | RuleBasedNumberFormat.java | 723 public RuleBasedNumberFormat(String description, String[][] localizations) { in RuleBasedNumberFormat() argument 725 init(description, localizations); in RuleBasedNumberFormat() 785 public RuleBasedNumberFormat(String description, String[][] localizations, ULocale locale) { in RuleBasedNumberFormat() argument 787 init(description, localizations); in RuleBasedNumberFormat() 831 String[][] localizations = null; in RuleBasedNumberFormat() local 847 localizations = new String[locNamesBundle.getSize()][]; in RuleBasedNumberFormat() 848 for (int i = 0; i < localizations.length; ++i) { in RuleBasedNumberFormat() 849 localizations[i] = locNamesBundle.get(i).getStringArray(); in RuleBasedNumberFormat() 854 init(description.toString(), localizations); in RuleBasedNumberFormat() local 1662 private void init(String description, String[][] localizations) { in init() argument [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | RuleBasedNumberFormat.java | 728 public RuleBasedNumberFormat(String description, String[][] localizations) { in RuleBasedNumberFormat() argument 730 init(description, localizations); in RuleBasedNumberFormat() 793 public RuleBasedNumberFormat(String description, String[][] localizations, ULocale locale) { in RuleBasedNumberFormat() argument 795 init(description, localizations); in RuleBasedNumberFormat() 841 String[][] localizations = null; in RuleBasedNumberFormat() local 857 localizations = new String[locNamesBundle.getSize()][]; in RuleBasedNumberFormat() 858 for (int i = 0; i < localizations.length; ++i) { in RuleBasedNumberFormat() 859 localizations[i] = locNamesBundle.get(i).getStringArray(); in RuleBasedNumberFormat() 864 init(description.toString(), localizations); in RuleBasedNumberFormat() local 1701 private void init(String description, String[][] localizations) { in init() argument [all …]
|
/third_party/flutter/flutter/packages/flutter/lib/src/material/ |
D | date_picker.dart | 79 final MaterialLocalizations localizations = MaterialLocalizations.of(context); 128 child: Text(localizations.formatYear(selectedDate), style: yearStyle), 141 child: Text(localizations.formatMediumDate(selectedDate), style: dayStyle), 312 List<Widget> _getDayHeaders(TextStyle headerStyle, MaterialLocalizations localizations) { 314 for (int i = localizations.firstDayOfWeekIndex; true; i = (i + 1) % 7) { 315 final String weekday = localizations.narrowWeekdays[i]; 319 if (i == (localizations.firstDayOfWeekIndex - 1) % 7) 375 int _computeFirstDayOffset(int year, int month, MaterialLocalizations localizations) { 379 final int firstDayOfWeekFromSunday = localizations.firstDayOfWeekIndex; 390 final MaterialLocalizations localizations = MaterialLocalizations.of(context); [all …]
|
D | time_picker.dart | 321 final MaterialLocalizations localizations = MaterialLocalizations.of(context); 325 final String formattedHour = localizations.formatHour( 347 final String formattedNextHour = localizations.formatHour( 352 final String formattedPreviousHour = localizations.formatHour( 358 hint: localizations.timePickerHourModeAnnouncement, 413 final MaterialLocalizations localizations = MaterialLocalizations.of(context); 417 final String formattedMinute = localizations.formatMinute(fragmentContext.selectedTime); 421 final String formattedNextMinute = localizations.formatMinute(nextMinute); 425 final String formattedPreviousMinute = localizations.formatMinute(previousMinute); 429 hint: localizations.timePickerMinuteModeAnnouncement, [all …]
|
D | text_selection.dart | 44 final MaterialLocalizations localizations = MaterialLocalizations.of(context); 47 items.add(FlatButton(child: Text(localizations.cutButtonLabel), onPressed: handleCut)); 49 items.add(FlatButton(child: Text(localizations.copyButtonLabel), onPressed: handleCopy)); 51 items.add(FlatButton(child: Text(localizations.pasteButtonLabel), onPressed: handlePaste,)); 53 …items.add(FlatButton(child: Text(localizations.selectAllButtonLabel), onPressed: handleSelectAll));
|
D | reorderable_list.dart | 395 final MaterialLocalizations localizations = MaterialLocalizations.of(context); 399 … semanticsActions[CustomSemanticsAction(label: localizations.reorderItemToStart)] = moveToStart; 400 String reorderItemBefore = localizations.reorderItemUp; 403 ? localizations.reorderItemLeft 404 : localizations.reorderItemRight; 411 String reorderItemAfter = localizations.reorderItemDown; 414 ? localizations.reorderItemRight 415 : localizations.reorderItemLeft; 418 semanticsActions[CustomSemanticsAction(label: localizations.reorderItemToEnd)] = moveToEnd;
|
/third_party/icu/icu4c/source/i18n/unicode/ |
D | rbnf.h | 604 RuleBasedNumberFormat(const UnicodeString& rules, const UnicodeString& localizations, 651 RuleBasedNumberFormat(const UnicodeString& rules, const UnicodeString& localizations, 1047 RuleBasedNumberFormat(const UnicodeString& description, LocalizationInfo* localizations, 1050 …void init(const UnicodeString& rules, LocalizationInfo* localizations, UParseError& perror, UError… 1089 LocalizationInfo* localizations; variable
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/ |
D | rbnf.h | 602 RuleBasedNumberFormat(const UnicodeString& rules, const UnicodeString& localizations, 649 RuleBasedNumberFormat(const UnicodeString& rules, const UnicodeString& localizations, 1067 RuleBasedNumberFormat(const UnicodeString& description, LocalizationInfo* localizations, 1070 …void init(const UnicodeString& rules, LocalizationInfo* localizations, UParseError& perror, UError… 1109 LocalizationInfo* localizations; variable
|
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
D | rbnf.h | 604 RuleBasedNumberFormat(const UnicodeString& rules, const UnicodeString& localizations, 651 RuleBasedNumberFormat(const UnicodeString& rules, const UnicodeString& localizations, 1047 RuleBasedNumberFormat(const UnicodeString& description, LocalizationInfo* localizations, 1050 …void init(const UnicodeString& rules, LocalizationInfo* localizations, UParseError& perror, UError… 1089 LocalizationInfo* localizations; variable
|
/third_party/node/deps/icu-small/source/i18n/unicode/ |
D | rbnf.h | 604 RuleBasedNumberFormat(const UnicodeString& rules, const UnicodeString& localizations, 651 RuleBasedNumberFormat(const UnicodeString& rules, const UnicodeString& localizations, 1047 RuleBasedNumberFormat(const UnicodeString& description, LocalizationInfo* localizations, 1050 …void init(const UnicodeString& rules, LocalizationInfo* localizations, UParseError& perror, UError… 1089 LocalizationInfo* localizations; variable
|
/third_party/flutter/flutter/packages/flutter_localizations/lib/src/l10n/ |
D | README.md | 7 localizations into a single Map that is linked with the rest of 38 localizations are automatically merged with the language-specific ones. 60 generated `localizations.dart` file. The Map is used by the 158 ### 'generated_*_localizations.dart': all of the localizations as a Map 162 see that it was manually generated using a `dev/tools/localizations` 168 dart dev/tools/localizations/gen_localizations.dart packages/flutter_localizations/lib/src/l10n mat… 181 To in-place update the generated localizations file using the default 185 dart dev/tools/localizations/gen_localizations.dart --overwrite 198 dev/tools/localization/encode_kn_arb_files.dart. The localizations code
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | RbnfTest.java | 1055 String[][] localizations = new String[][] { in TestRuleSetDisplayName() local 1068 = new RuleBasedNumberFormat(ukEnglish, localizations, ULocale.US); in TestRuleSetDisplayName() 1069 RuleBasedNumberFormat f2= new RuleBasedNumberFormat(ukEnglish, localizations); in TestRuleSetDisplayName() 1077 assertEquals("Display name in default locale", localizations[1][i+1], RSName_defLoc); in TestRuleSetDisplayName() 1079 assertEquals("Display name in Chinese", localizations[2][i+1], RSName_loc); in TestRuleSetDisplayName() 1096 …assertEquals("getRuleSetDisplayNames in default locale", localizations[1][i+1], RSNames_defLoc[i]); in TestRuleSetDisplayName() 1101 … assertEquals("getRuleSetDisplayNames in English", localizations[1][i+1], RSNames_loc[i]); in TestRuleSetDisplayName() 1106 … assertEquals("getRuleSetDisplayNames in Chinese", localizations[2][i+1], RSNames_loc[i]); in TestRuleSetDisplayName() 1111 … assertEquals("getRuleSetDisplayNames in fake locale", localizations[3][i+1], RSNames_loc[i]); in TestRuleSetDisplayName()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | RbnfTest.java | 1111 String[][] localizations = new String[][] { in TestRuleSetDisplayName() local 1124 = new RuleBasedNumberFormat(ukEnglish, localizations, ULocale.US); in TestRuleSetDisplayName() 1125 RuleBasedNumberFormat f2= new RuleBasedNumberFormat(ukEnglish, localizations); in TestRuleSetDisplayName() 1133 assertEquals("Display name in default locale", localizations[1][i+1], RSName_defLoc); in TestRuleSetDisplayName() 1135 assertEquals("Display name in Chinese", localizations[2][i+1], RSName_loc); in TestRuleSetDisplayName() 1152 …assertEquals("getRuleSetDisplayNames in default locale", localizations[1][i+1], RSNames_defLoc[i]); in TestRuleSetDisplayName() 1157 … assertEquals("getRuleSetDisplayNames in English", localizations[1][i+1], RSNames_loc[i]); in TestRuleSetDisplayName() 1162 … assertEquals("getRuleSetDisplayNames in Chinese", localizations[2][i+1], RSNames_loc[i]); in TestRuleSetDisplayName() 1167 … assertEquals("getRuleSetDisplayNames in fake locale", localizations[3][i+1], RSNames_loc[i]); in TestRuleSetDisplayName()
|
/third_party/flutter/flutter/dev/tools/localization/ |
D | localizations_validator.dart | 35 errorMessages.writeln('English localizations do not exist: $file'); 90 /// Enforces the following invariants in our localizations: 95 /// Uses "en" localizations as the canonical source of locale keys that other 128 // localizations)
|