Searched refs:localeSupplier (Results 1 – 2 of 2) sorted by relevance
39 Supplier<Locale> localeSupplier = () -> Locale.forLanguageTag("en-US"); in override_equalStrategy_hasMatch() local47 .setLocaleSupplier(localeSupplier) in override_equalStrategy_hasMatch()58 Supplier<ListenableFuture<Locale>> localeSupplier = in override_equalStrategy_hasMatch_localeLF() local67 .setLocaleFutureSupplier(localeSupplier, MoreExecutors.directExecutor()) in override_equalStrategy_hasMatch_localeLF()77 Supplier<Locale> localeSupplier = () -> Locale.forLanguageTag("jp-JP"); in override_equalStrategy_noMatch() local85 .setLocaleSupplier(localeSupplier) in override_equalStrategy_noMatch()95 Supplier<Locale> localeSupplier = () -> Locale.forLanguageTag("en-US"); in override_langFallbackStrategy_exactMatch() local103 .setLocaleSupplier(localeSupplier) in override_langFallbackStrategy_exactMatch()113 Supplier<Locale> localeSupplier = () -> Locale.forLanguageTag("en-US"); in override_langFallbackStrategy_fallbackMatch() local121 .setLocaleSupplier(localeSupplier) in override_langFallbackStrategy_fallbackMatch()[all …]
67 private Supplier<ListenableFuture<Locale>> localeSupplier; field in LocaleOverrider.Builder73 public Builder setLocaleSupplier(Supplier<Locale> localeSupplier) { in setLocaleSupplier() argument74 this.localeSupplier = () -> Futures.immediateFuture(localeSupplier.get()); in setLocaleSupplier()82 Supplier<ListenableFuture<Locale>> localeSupplier, Executor lightweightExecutor) { in setLocaleFutureSupplier() argument83 this.localeSupplier = localeSupplier; in setLocaleFutureSupplier()102 localeSupplier != null, in build()113 private final Supplier<ListenableFuture<Locale>> localeSupplier; field in LocaleOverrider123 this.localeSupplier = builder.localeSupplier; in LocaleOverrider()197 localeSupplier.get(), in getFileGroupWithMatchStrategy()