Searched refs:toModel (Results 1 – 4 of 4) sorted by relevance
40 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.KeyguardQuickAffordancePickerRepository63 private fun Client.Affordance.toModel(): AffordanceModel { in <lambda>() method in com.android.customization.picker.quickaffordance.data.repository.KeyguardQuickAffordancePickerRepository76 private fun Client.Selection.toModel(): SelectionModel { in <lambda>() method in com.android.customization.picker.quickaffordance.data.repository.KeyguardQuickAffordancePickerRepository
91 wallpaperColorOptions.add(option.toModel()) in <lambda>()93 presetColorOptions.add(option.toModel()) in <lambda>()167 private fun ColorOptionImpl.toModel(): ColorOptionModel { in <lambda>() method
59 it.toModel(isSelected = it.clockId == activeClockId) in <lambda>()94 ?.toModel( in <lambda>()182 private fun ClockMetadata.toModel( in <lambda>() method
85 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