Home
last modified time | relevance | path

Searched refs:CustomizationPreferences (Results 1 – 8 of 8) sorted by relevance

/packages/apps/ThemePicker/src/com/android/customization/module/
DDefaultCustomizationPreferences.kt22 DefaultWallpaperPreferences(context), CustomizationPreferences {
25 return sharedPrefs.getString(CustomizationPreferences.KEY_CUSTOM_THEME, null) in getSerializedCustomThemes()
31 .putString(CustomizationPreferences.KEY_CUSTOM_THEME, serializedCustomThemes) in storeCustomThemes()
36 return sharedPrefs.getBoolean(CustomizationPreferences.KEY_VISITED_PREFIX + id, false) in getTabVisited()
42 .putBoolean(CustomizationPreferences.KEY_VISITED_PREFIX + id, true) in setTabVisited()
47 return sharedPrefs.getBoolean(CustomizationPreferences.KEY_THEMED_ICON_ENABLED, false) in getThemedIconEnabled()
53 .putBoolean(CustomizationPreferences.KEY_THEMED_ICON_ENABLED, enabled) in setThemedIconEnabled()
DCustomizationPreferences.kt20 interface CustomizationPreferences : WallpaperPreferences { interface
DCustomizationInjector.kt33 fun getCustomizationPreferences(context: Context): CustomizationPreferences
DThemePickerInjector.kt203 override fun getCustomizationPreferences(context: Context): CustomizationPreferences { in <lambda>()
204 return getPreferences(context) as CustomizationPreferences in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/model/themedicon/
DThemedIconSwitchProvider.java27 import com.android.customization.module.CustomizationPreferences;
49 private final CustomizationPreferences mCustomizationPreferences;
65 (CustomizationPreferences) InjectorProvider.getInjector() in getInstance()
72 ThemedIconUtils themedIconUtils, CustomizationPreferences customizationPreferences) { in ThemedIconSwitchProvider()
/packages/apps/ThemePicker/tests/common/src/com/android/customization/testing/
DTestDefaultCustomizationPreferences.kt18 import com.android.customization.module.CustomizationPreferences
26 TestWallpaperPreferences(), CustomizationPreferences {
DTestCustomizationInjector.kt9 import com.android.customization.module.CustomizationPreferences
36 override fun getCustomizationPreferences(context: Context): CustomizationPreferences { in getCustomizationPreferences()
/packages/apps/ThemePicker/tests/module/src/com/android/wallpaper/
DThemePickerTestModule.kt22 import com.android.customization.module.CustomizationPreferences
86 ): CustomizationPreferences in bindInjector()