Home
last modified time | relevance | path

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

/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DCustomThemeActivity.java79 private ThemeManager mThemeManager; field in CustomThemeActivity
106 mThemeManager = injector.getThemeManager( in onCreate()
113 mThemeManager.fetchOptions(null, false); in onCreate()
114 mCustomThemeManager = CustomThemeManager.create(customTheme, mThemeManager); in onCreate()
199 ? null : mThemeManager.findThemeByPackages(themeToApply); in onNextOrApply()
223 mThemeManager.apply(themeToApply, new Callback() { in applyTheme()
261 mThemeManager.removeCustomTheme(mCustomThemeManager.getOriginalTheme());
DThemeFragment.java95 private ThemeManager mThemeManager; field in ThemeFragment
111 mThemeManager = ((ThemeFragmentHost) context).getThemeManager(); in onAttach()
142 mThemeManager.apply(mSelectedTheme, new Callback() { in applyTheme()
185 if (mSelectedTheme != null && !mSelectedTheme.isActive(mThemeManager)) { in onSaveInstanceState()
263 mThemeManager.fetchOptions(new OptionsFetchedListener<ThemeBundle>() { in setUpOptions()
284 mOptionsController.initOptions(mThemeManager); in setUpOptions()
291 } else if (theme.isActive(mThemeManager)) { in setUpOptions()
317 mThemeManager.fetchOptions(options -> { in reloadOptions()
320 if (theme.isActive(mThemeManager)) { in reloadOptions()
/packages/apps/ThemePicker/robolectric_tests/src/com/android/customization/model/theme/
DThemeManagerTest.java64 private ThemeManager mThemeManager; field in ThemeManagerTest
75 mThemeManager = new ThemeManager( in setUp()
136 mThemeManager.apply(theme, new Callback() { in applyTheme()