Home
last modified time | relevance | path

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

/packages/apps/ThemePicker/src/com/android/customization/picker/quickaffordance/data/repository/
DKeyguardQuickAffordancePickerRepository.kt40 client.observeSlots().map { slots -> slots.map { slot -> slot.toModel() } } in <lambda>()
46 .map { affordances -> affordances.map { affordance -> affordance.toModel() } } in <lambda>()
53 .map { selections -> selections.map { selection -> selection.toModel() } } in <lambda>()
56 private fun Client.Slot.toModel(): SlotModel { in <lambda>() method in com.android.customization.picker.quickaffordance.data.repository.KeyguardQuickAffordancePickerRepository
63 private fun Client.Affordance.toModel(): AffordanceModel { in <lambda>() method in com.android.customization.picker.quickaffordance.data.repository.KeyguardQuickAffordancePickerRepository
76 private fun Client.Selection.toModel(): SelectionModel { in <lambda>() method in com.android.customization.picker.quickaffordance.data.repository.KeyguardQuickAffordancePickerRepository
/packages/apps/ThemePicker/src/com/android/customization/picker/color/data/repository/
DColorPickerRepositoryImpl.kt91 wallpaperColorOptions.add(option.toModel()) in <lambda>()
93 presetColorOptions.add(option.toModel()) in <lambda>()
167 private fun ColorOptionImpl.toModel(): ColorOptionModel { in <lambda>() method
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/data/repository/
DClockPickerRepositoryImpl.kt59 it.toModel(isSelected = it.clockId == activeClockId) in <lambda>()
94 ?.toModel( in <lambda>()
182 private fun ClockMetadata.toModel( in <lambda>() method
/packages/apps/ThemePicker/src/com/android/customization/picker/grid/data/repository/
DGridRepository.kt85 optionsOrEmpty.map { option -> toModel(option) } in getSelectedOption()
104 private fun toModel(option: GridOption): GridOptionItemModel { in toModel() method in com.android.customization.picker.grid.data.repository.GridRepositoryImpl