Home
last modified time | relevance | path

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

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DLocaleMatcher.java349 private final Locale[] supportedLocales; field in LocaleMatcher
368 private List<ULocale> supportedLocales; field in LocaleMatcher.Builder
400 supportedLocales = new ArrayList<>(locales); in setSupportedULocales()
414 supportedLocales = new ArrayList<>(locales.size()); in setSupportedLocales()
416 supportedLocales.add(ULocale.forLocale(locale)); in setSupportedLocales()
430 if (supportedLocales == null) { in addSupportedULocale()
431 supportedLocales = new ArrayList<>(); in addSupportedULocale()
433 supportedLocales.add(locale); in addSupportedULocale()
550 if (supportedLocales != null && !supportedLocales.isEmpty()) { in toString()
551 s.append(" supported={").append(supportedLocales).append('}'); in toString()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocaleMatcher.java344 private final Locale[] supportedLocales; field in LocaleMatcher
362 private List<ULocale> supportedLocales; field in LocaleMatcher.Builder
397 supportedLocales = new ArrayList<>(locales); in setSupportedULocales()
411 supportedLocales = new ArrayList<>(locales.size()); in setSupportedLocales()
413 supportedLocales.add(ULocale.forLocale(locale)); in setSupportedLocales()
427 if (supportedLocales == null) { in addSupportedULocale()
428 supportedLocales = new ArrayList<>(); in addSupportedULocale()
430 supportedLocales.add(locale); in addSupportedULocale()
625 if (supportedLocales != null && !supportedLocales.isEmpty()) { in toString()
626 s.append(" supported={").append(supportedLocales).append('}'); in toString()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dlocalematcher.cpp365 supportedLocales(nullptr), lsrs(nullptr), supportedLocalesLength(0), in LocaleMatcher()
390 supportedLocales = static_cast<const Locale **>( in LocaleMatcher()
396 if (supportedLocales == nullptr || lsrs == nullptr) { in LocaleMatcher()
401 uprv_memset(supportedLocales, 0, supportedLocalesLength * sizeof(const Locale *)); in LocaleMatcher()
404 supportedLocales[i] = locale.clone(); in LocaleMatcher()
405 if (supportedLocales[i] == nullptr) { in LocaleMatcher()
409 const Locale &supportedLocale = *supportedLocales[i]; in LocaleMatcher()
439 const Locale &locale = *supportedLocales[i]; in LocaleMatcher()
511 supportedLocales(src.supportedLocales), lsrs(src.lsrs), in LocaleMatcher()
518 src.supportedLocales = nullptr; in LocaleMatcher()
[all …]
/third_party/node/deps/icu-small/source/common/
Dlocalematcher.cpp365 supportedLocales(nullptr), lsrs(nullptr), supportedLocalesLength(0), in LocaleMatcher()
390 supportedLocales = static_cast<const Locale **>( in LocaleMatcher()
396 if (supportedLocales == nullptr || lsrs == nullptr) { in LocaleMatcher()
401 uprv_memset(supportedLocales, 0, supportedLocalesLength * sizeof(const Locale *)); in LocaleMatcher()
404 supportedLocales[i] = locale.clone(); in LocaleMatcher()
405 if (supportedLocales[i] == nullptr) { in LocaleMatcher()
409 const Locale &supportedLocale = *supportedLocales[i]; in LocaleMatcher()
439 const Locale &locale = *supportedLocales[i]; in LocaleMatcher()
511 supportedLocales(src.supportedLocales), lsrs(src.lsrs), in LocaleMatcher()
518 src.supportedLocales = nullptr; in LocaleMatcher()
[all …]
/third_party/icu/icu4c/source/common/
Dlocalematcher.cpp365 supportedLocales(nullptr), lsrs(nullptr), supportedLocalesLength(0), in LocaleMatcher()
390 supportedLocales = static_cast<const Locale **>( in LocaleMatcher()
396 if (supportedLocales == nullptr || lsrs == nullptr) { in LocaleMatcher()
401 uprv_memset(supportedLocales, 0, supportedLocalesLength * sizeof(const Locale *)); in LocaleMatcher()
404 supportedLocales[i] = locale.clone(); in LocaleMatcher()
405 if (supportedLocales[i] == nullptr) { in LocaleMatcher()
409 const Locale &supportedLocale = *supportedLocales[i]; in LocaleMatcher()
439 const Locale &locale = *supportedLocales[i]; in LocaleMatcher()
511 supportedLocales(src.supportedLocales), lsrs(src.lsrs), in LocaleMatcher()
518 src.supportedLocales = nullptr; in LocaleMatcher()
[all …]
/third_party/flutter/flutter/packages/flutter_localizations/test/
Doverride_test.dart57 Iterable<Locale> supportedLocales = const <Locale>[
65 supportedLocales: supportedLocales,
110 supportedLocales: <Locale>[locale],
179 supportedLocales: const <Locale>[
210 localeResolutionCallback: (Locale locale, Iterable<Locale> supportedLocales) => locale,
243 // supportedLocales not specified, so all locales resolve to 'en'
272 supportedLocales: <Locale>[
Dwidgets_test.dart146 List<Locale> supportedLocales = const <Locale>[
156 supportedLocales: supportedLocales,
487 supportedLocales: const <Locale>[
510 localeResolutionCallback: (Locale newLocale, Iterable<Locale> supportedLocales) {
528 testWidgets('supportedLocales and defaultLocaleChangeHandler', (WidgetTester tester) async {
531 supportedLocales: const <Locale>[
565 localeResolutionCallback: (Locale locale, Iterable<Locale> supportedLocales) => locale,
605 localeResolutionCallback: (Locale locale, Iterable<Locale> supportedLocales) => locale,
646 localeResolutionCallback: (Locale locale, Iterable<Locale> supportedLocales) => locale,
683 localeResolutionCallback: (Locale locale, Iterable<Locale> supportedLocales) => locale,
[all …]
Dbasics_test.dart34 supportedLocales: const <Locale>[
58 supportedLocales: const <Locale>[
Dtext_test.dart29 supportedLocales: const <Locale>[
115 supportedLocales: const <Locale>[
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dapp.dart37 /// received the locale information from the platform. The [supportedLocales] parameter
38 /// is just the value of [WidgetsApp.supportedLocales].
45 …eListResolutionCallback = Locale Function(List<Locale> locales, Iterable<Locale> supportedLocales);
64 /// information from the platform. The [supportedLocales] parameter is just the value of
65 /// [WidgetsApp.supportedLocales].
71 typedef LocaleResolutionCallback = Locale Function(Locale locale, Iterable<Locale> supportedLocales
137 /// The `supportedLocales` argument must be a list of one or more elements.
138 /// By default supportedLocales is `[const Locale('en', 'US')]`.
158 this.supportedLocales = const <Locale>[Locale('en', 'US')],
216 assert(supportedLocales != null && supportedLocales.isNotEmpty),
[all …]
/third_party/flutter/flutter/packages/flutter/test/rendering/
Dlocalized_fonts_test.dart18 supportedLocales: const <Locale>[
65 supportedLocales: const <Locale>[
119 supportedLocales: const <Locale>[
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dapp_title_test.dart14 supportedLocales: const <Locale>[
53 // Not a supported locale, so we switch to supportedLocales[0], en_US
/third_party/flutter/flutter/packages/flutter/lib/src/cupertino/
Dapp.dart87 this.supportedLocales = const <Locale>[Locale('en', 'US')],
169 /// {@macro flutter.widgets.widgetsApp.supportedLocales}
172 final Iterable<Locale> supportedLocales;
293 supportedLocales: widget.supportedLocales,
/third_party/flutter/flutter/packages/flutter_localizations/test/material/
Ddate_time_test.dart33 supportedLocales: <Locale>[locale],
79 supportedLocales: <Locale>[locale],
123 supportedLocales: <Locale>[locale],
Ddate_picker_test.dart101 supportedLocales: const <Locale>[
146 supportedLocales: const <Locale>[
184 supportedLocales: const <Locale>[
Dtime_picker_test.dart20 supportedLocales: <Locale>[locale],
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dapp.dart185 this.supportedLocales = const <Locale>[Locale('en', 'US')],
325 /// and list the [supportedLocales] that the application can handle.
335 /// supportedLocales: [
406 /// * [supportedLocales], which must be specified along with
424 /// {@macro flutter.widgets.widgetsApp.supportedLocales}
436 final Iterable<Locale> supportedLocales;
614 supportedLocales: widget.supportedLocales,
/third_party/flutter/flutter/dev/tools/localization/
Dgen_date_localizations.dart167 final Set<String> supportedLocales = <String>{};
173 supportedLocales.add(filenameRE.firstMatch(filePath)[1]);
175 return supportedLocales;
Dgen_localizations.dart83 final StringBuffer supportedLocales = StringBuffer();
219 supportedLocales.writeln('/// * `$languageName` - ${describeLocale(languageName)}');
221supportedLocales.writeln('/// * `$languageName` - ${describeLocale(languageName)} (plus $scriptCo…
224supportedLocales.writeln('/// * `$languageName` - ${describeLocale(languageName)} (plus one count…
226supportedLocales.writeln('/// * `$languageName` - ${describeLocale(languageName)} (plus $countryC…
259 $supportedLocales/// {@endtemplate}
/third_party/flutter/flutter/packages/flutter_localizations/lib/src/
Dcupertino_localizations.dart35 /// app supports with [CupertinoApp.supportedLocales]:
40 /// supportedLocales: [
367 /// app supports with [CupertinoApp.supportedLocales]:
372 /// supportedLocales: [
Dmaterial_localizations.dart33 /// app supports with [MaterialApp.supportedLocales]:
38 /// supportedLocales: [
521 /// app supports with [MaterialApp.supportedLocales]:
526 /// supportedLocales: [
/third_party/flutter/flutter/examples/stocks/lib/
Dmain.dart116 supportedLocales: const <Locale>[
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dlocalematcher.h697 const Locale ** supportedLocales; variable
/third_party/node/deps/icu-small/source/common/unicode/
Dlocalematcher.h691 const Locale ** supportedLocales; variable
/third_party/icu/icu4c/source/common/unicode/
Dlocalematcher.h697 const Locale ** supportedLocales; variable