Home
last modified time | relevance | path

Searched refs:ThemeResolver (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DThemeResolverTest.java39 ThemeResolver.setDefault(null); in resetDefaultThemeResolver()
45 ThemeResolver themeResolver = in resolve_nonDayNight_shouldReturnCorrespondingTheme()
46 new ThemeResolver.Builder().setDefaultTheme(defaultTheme).setUseDayNight(false).build(); in resolve_nonDayNight_shouldReturnCorrespondingTheme()
61 ThemeResolver themeResolver = new ThemeResolver.Builder().setDefaultTheme(defaultTheme).build(); in resolve_dayNight_shouldReturnDayNightTheme()
76 ThemeResolver themeResolver = in resolve_newerThanOldestSupportedTheme_shouldReturnSpecifiedTheme()
77 new ThemeResolver.Builder() in resolve_newerThanOldestSupportedTheme_shouldReturnSpecifiedTheme()
89 ThemeResolver themeResolver = in resolve_olderThanOldestSupportedTheme_shouldReturnDefault()
90 new ThemeResolver.Builder() in resolve_olderThanOldestSupportedTheme_shouldReturnDefault()
103 ThemeResolver themeResolver = in resolve_intentTheme_shouldReturnCorrespondingTheme()
104 new ThemeResolver.Builder().setDefaultTheme(defaultTheme).setUseDayNight(false).build(); in resolve_intentTheme_shouldReturnCorrespondingTheme()
[all …]
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DThemeResolver.java16 public class ThemeResolver { class
21 @Nullable private static ThemeResolver defaultResolver;
27 public static void setDefault(@Nullable ThemeResolver resolver) { in setDefault()
34 public static ThemeResolver getDefault() { in getDefault()
37 new ThemeResolver.Builder() in getDefault()
45 private ThemeResolver( in ThemeResolver() method in ThemeResolver
194 public Builder(ThemeResolver themeResolver) { in Builder()
215 public ThemeResolver build() { in build()
216 return new ThemeResolver(defaultTheme, oldestSupportedTheme, useDayNight); in build()
DWizardManagerHelper.java292 return new ThemeResolver.Builder(ThemeResolver.getDefault()) in getThemeRes()
315 return new ThemeResolver.Builder(ThemeResolver.getDefault()) in getThemeRes()
347 return new ThemeResolver.Builder(ThemeResolver.getDefault()) in getThemeRes()
378 return new ThemeResolver.Builder(ThemeResolver.getDefault()) in getThemeRes()
403 ThemeResolver.getDefault().applyTheme(activity); in applyTheme()