Home
last modified time | relevance | path

Searched refs:ThemeComponentOption (Results 1 – 10 of 10) sorted by relevance

/aosp12/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
H A DCustomThemeComponentFragment.java27 import com.android.customization.model.theme.custom.ThemeComponentOption;
54 private ThemeComponentOptionProvider<? extends ThemeComponentOption> mProvider;
58 private OptionSelectorController<ThemeComponentOption> mOptionsController;
59 private ThemeComponentOption mSelectedOption;
87 public ThemeComponentOption getSelectedOption() { in getSelectedOption()
101 mSelectedOption = (ThemeComponentOption) selected; in setUpOptions()
109 for (ThemeComponentOption option : options) { in setUpOptions()
H A DCustomThemeActivity.java45 import com.android.customization.model.theme.custom.ThemeComponentOption;
46 import com.android.customization.model.theme.custom.ThemeComponentOption.ColorOption;
47 import com.android.customization.model.theme.custom.ThemeComponentOption.FontOption;
48 import com.android.customization.model.theme.custom.ThemeComponentOption.IconOption;
49 import com.android.customization.model.theme.custom.ThemeComponentOption.ShapeOption;
277 public ThemeComponentOptionProvider<? extends ThemeComponentOption> getComponentOptionProvider( in getComponentOptionProvider()
305 private static abstract class ComponentStep<T extends ThemeComponentOption> {
H A DCustomThemeStepFragment.java18 import com.android.customization.model.theme.custom.ThemeComponentOption;
109 ThemeComponentOptionProvider<? extends ThemeComponentOption> getComponentOptionProvider( in getComponentOptionProvider()
/aosp12/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/
H A DCustomThemeManager.java35 public class CustomThemeManager implements CustomizationManager<ThemeComponentOption> {
56 public void apply(ThemeComponentOption option, @Nullable Callback callback) { in apply()
72 … public void fetchOptions(OptionsFetchedListener<ThemeComponentOption> callback, boolean reload) { in fetchOptions()
H A DThemeComponentOption.java82 public abstract class ThemeComponentOption implements CustomizationOption<ThemeComponentOption> { class
106 public static class FontOption extends ThemeComponentOption {
133 public boolean isActive(CustomizationManager<ThemeComponentOption> manager) { in isActive()
199 public static class IconOption extends ThemeComponentOption {
223 public boolean isActive(CustomizationManager<ThemeComponentOption> manager) { in isActive()
291 public static class ColorOption extends ThemeComponentOption {
370 public boolean isActive(CustomizationManager<ThemeComponentOption> manager) { in isActive()
463 public static class ShapeOption extends ThemeComponentOption {
518 public boolean isActive(CustomizationManager<ThemeComponentOption> manager) { in isActive()
H A DThemeComponentOptionProvider.java34 public abstract class ThemeComponentOptionProvider<T extends ThemeComponentOption> {
H A DFontOptionsProvider.java33 import com.android.customization.model.theme.custom.ThemeComponentOption.FontOption;
H A DIconOptionsProvider.java36 import com.android.customization.model.theme.custom.ThemeComponentOption.IconOption;
H A DShapeOptionsProvider.java44 import com.android.customization.model.theme.custom.ThemeComponentOption.ShapeOption;
H A DColorOptionsProvider.java44 import com.android.customization.model.theme.custom.ThemeComponentOption.ColorOption;