Home
last modified time | relevance | path

Searched refs:mCustomizationPreferences (Results 1 – 4 of 4) sorted by relevance

/packages/apps/ThemePicker/src/com/android/customization/model/themedicon/
DThemedIconSwitchProvider.java49 private final CustomizationPreferences mCustomizationPreferences; field in ThemedIconSwitchProvider
75 mCustomizationPreferences = customizationPreferences; in ThemedIconSwitchProvider()
85 return mCustomizationPreferences.getThemedIconEnabled(); in isThemedIconEnabled()
100 if (mCustomizationPreferences.getThemedIconEnabled() != isEnabled) { in fetchThemedIconEnabled()
101 mCustomizationPreferences.setThemedIconEnabled(isEnabled); in fetchThemedIconEnabled()
111 () -> callback.onResult(mCustomizationPreferences.getThemedIconEnabled())); in fetchThemedIconEnabled()
128 mCustomizationPreferences.setThemedIconEnabled(enabled); in setThemedIconEnabled()
/packages/apps/ThemePicker/tests/src/com/android/customization/testing/
DTestCustomizationInjector.java22 private CustomizationPreferences mCustomizationPreferences; field in TestCustomizationInjector
30 if (mCustomizationPreferences == null) { in getCustomizationPreferences()
31 mCustomizationPreferences = new TestDefaultCustomizationPreferences(context); in getCustomizationPreferences()
33 return mCustomizationPreferences; in getCustomizationPreferences()
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DCustomThemeNameFragment.java62 private CustomizationPreferences mCustomizationPreferences; field in CustomThemeNameFragment
74 mCustomizationPreferences = injector.getCustomizationPreferences(getContext()); in onCreateView()
106 String serializedThemes = mCustomizationPreferences.getSerializedCustomThemes(); in getOriginalThemeName()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DDefaultThemeProvider.java86 private final CustomizationPreferences mCustomizationPreferences; field in DefaultThemeProvider
91 mCustomizationPreferences = customizationPrefs; in DefaultThemeProvider()
279 mCustomizationPreferences.storeCustomThemes(themesArray.toString()); in addCustomThemeAndStore()
306 mCustomizationPreferences.storeCustomThemes(themesArray.toString()); in removeCustomTheme()
310 String serializedThemes = mCustomizationPreferences.getSerializedCustomThemes(); in addCustomThemes()