Home
last modified time | relevance | path

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

/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/color/
DColorOptionTest.kt52 ColorOptionImpl( in testColorOptionSource()
59 ColorOptionImpl.PreviewInfo(intArrayOf(0), intArrayOf(0)), in testColorOptionSource()
75 ColorOptionImpl( in testColorOptionStyle()
82 ColorOptionImpl.PreviewInfo(intArrayOf(0), intArrayOf(0)), in testColorOptionStyle()
98 ColorOptionImpl( in testColorOptionIndex()
105 ColorOptionImpl.PreviewInfo(intArrayOf(0), intArrayOf(0)), in testColorOptionIndex()
114 ): ColorOptionImpl { in setUpWallpaperColorOption()
122 return ColorOptionImpl( in setUpWallpaperColorOption()
129 ColorOptionImpl.PreviewInfo(intArrayOf(0), intArrayOf(0)), in setUpWallpaperColorOption()
DColorCustomizationManagerTest.kt138 private fun getPresetColorOption(index: Int): ColorOptionImpl { in getPresetColorOption()
139 return ColorOptionImpl( in getPresetColorOption()
146 ColorOptionImpl.PreviewInfo(intArrayOf(0), intArrayOf(0)), in getPresetColorOption()
151 private fun getWallpaperColorOption(index: Int): ColorOptionImpl { in getWallpaperColorOption()
152 return ColorOptionImpl( in getWallpaperColorOption()
159 ColorOptionImpl.PreviewInfo(intArrayOf(0), intArrayOf(0)), in getWallpaperColorOption()
/packages/apps/ThemePicker/src/com/android/customization/picker/color/data/repository/
DFakeColorPickerRepository.kt23 import com.android.customization.model.color.ColorOptionImpl in <lambda>()
54 wallpaperOptions: List<ColorOptionImpl>, in <lambda>()
55 presetOptions: List<ColorOptionImpl>, in <lambda>()
147 private fun buildPresetOption(index: Int): ColorOptionImpl { in <lambda>()
148 val builder = ColorOptionImpl.Builder() in <lambda>()
163 fun buildPresetOption(style: Style, seedColor: String): ColorOptionImpl { in <lambda>()
164 val builder = ColorOptionImpl.Builder() in <lambda>()
179 private fun buildWallpaperOption(index: Int): ColorOptionImpl { in <lambda>()
180 val builder = ColorOptionImpl.Builder() in <lambda>()
195 fun buildWallpaperOption(source: String, style: Style, seedColor: String): ColorOptionImpl { in <lambda>()
[all …]
DColorPickerRepositoryImpl.kt23 import com.android.customization.model.color.ColorOptionImpl in <lambda>()
89 when ((option as ColorOptionImpl).type) { in <lambda>()
149 val colorOptionBuilder = ColorOptionImpl.Builder() in <lambda>()
167 private fun ColorOptionImpl.toModel(): ColorOptionModel { in <lambda>() method
/packages/apps/ThemePicker/src/com/android/customization/model/color/
DColorOptionImpl.kt31 class ColorOptionImpl( class
97 fun build(): ColorOptionImpl { in getStyleForLogging()
98 return ColorOptionImpl( in getStyleForLogging()
114 fun addOverlayPackage(category: String?, packageName: String?): ColorOptionImpl.Builder { in getStyleForLogging()
DColorProvider.kt206 val builder = ColorOptionImpl.Builder() in buildBundle()
382 ): ColorOptionImpl { in buildPreset()
383 val builder = ColorOptionImpl.Builder() in buildPreset()
/packages/apps/ThemePicker/src/com/android/customization/picker/color/ui/viewmodel/
DColorPickerViewModel.kt23 import com.android.customization.model.color.ColorOptionImpl in <lambda>()
101 val colorOption: ColorOptionImpl = in <lambda>()
102 colorOptionModel.colorOption as ColorOptionImpl in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/viewmodel/
DClockSettingsViewModel.kt23 import com.android.customization.model.color.ColorOptionImpl in <lambda>()
214 (colorOption as ColorOptionImpl) in <lambda>()