Home
last modified time | relevance | path

Searched refs:ColorOption (Results 1 – 9 of 9) sorted by relevance

/packages/apps/ThemePicker/src/com/android/customization/model/color/
DColorProvider.kt84 private var presetColorBundles: List<ColorOption>? = null
85 private var wallpaperColorBundles: List<ColorOption>? = null
94 callback: OptionsFetchedListener<ColorOption>?, in fetch()
142 val bundles: MutableList<ColorOption> = ArrayList() in loadSeedColors()
185 bundles: MutableList<ColorOption>, in buildColorSeeds()
200 bundles: MutableList<ColorOption>, in buildBundle()
325 val bundles: MutableList<ColorOption> = ArrayList() in loadPreset()
419 private fun buildFinalList(): List<ColorOption> { in buildFinalList()
DColorOption.java49 public abstract class ColorOption implements CustomizationOption<ColorOption> { class
63 protected ColorOption(String title, Map<String, String> overlayPackages, boolean isDefault, in ColorOption() method in ColorOption
78 public boolean isActive(CustomizationManager<ColorOption> manager) { in isActive()
125 public boolean isEquivalent(ColorOption other) { in isEquivalent()
DColorCustomizationManager.java66 public class ColorCustomizationManager implements CustomizationManager<ColorOption> {
143 public void apply(ColorOption theme, Callback callback) { in apply()
147 private void applyOverlays(ColorOption colorOption, Callback callback) { in applyOverlays()
194 public void fetchOptions(OptionsFetchedListener<ColorOption> callback, boolean reload) { in fetchOptions()
DColorOptionImpl.kt40 ) : ColorOption(title, overlayPackages, isDefault, style, index) {
45 ) : ColorOption.PreviewInfo {
DColorOptionsProvider.java74 void fetch(OptionsFetchedListener<ColorOption> callback, boolean reload, in fetch()
/packages/apps/ThemePicker/src/com/android/customization/picker/color/shared/model/
DColorOptionModel.kt20 import com.android.customization.model.color.ColorOption
27 val colorOption: ColorOption,
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/color/
DColorOptionTest.kt51 val colorOption: ColorOption = in testColorOptionSource()
74 val colorOption: ColorOption = in testColorOptionStyle()
97 val colorOption: ColorOption = in testColorOptionIndex()
DColorCustomizationManagerTest.kt83 ColorOption.TIMESTAMP_FIELD to "12345" in testParseSettings()
/packages/apps/ThemePicker/src/com/android/customization/picker/color/data/repository/
DColorPickerRepositoryImpl.kt22 import com.android.customization.model.color.ColorOption in <lambda>()
82 object : CustomizationManager.OptionsFetchedListener<ColorOption?> { in <lambda>()
83 override fun onOptionsLoaded(options: MutableList<ColorOption?>?) { in <lambda>()