/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/viewmodel/ |
D | ClockCarouselViewModel.kt | 22 import com.android.customization.picker.clock.domain.interactor.ClockPickerInteractor in <lambda>() 44 private val interactor: ClockPickerInteractor, in <lambda>() constant in com.android.customization.picker.clock.ui.viewmodel.ClockCarouselViewModel 49 interactor.allClocks in <lambda>() 57 val selectedClockSize: Flow<ClockSize> = interactor.selectedClockSize in <lambda>() 59 val seedColor: Flow<Int?> = interactor.seedColor in <lambda>() 62 return interactor.seedColor.map { in <lambda>() 97 interactor.selectedClockId.map { selectedClockId -> in <lambda>() 114 viewModelScope.launch(backgroundDispatcher) { interactor.setSelectedClock(clockId) } in <lambda>() 118 private val interactor: ClockPickerInteractor, in <lambda>() constant in com.android.customization.picker.clock.ui.viewmodel.ClockCarouselViewModel.Factory 124 interactor = interactor, in <lambda>()
|
D | ClockSectionViewModel.kt | 20 import com.android.customization.picker.clock.domain.interactor.ClockPickerInteractor in <lambda>() 29 class ClockSectionViewModel(context: Context, interactor: ClockPickerInteractor) { in <lambda>() 34 combine(interactor.selectedColorId, interactor.selectedClockSize, ::Pair).map { in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/domain/interactor/ |
D | WallpaperSnapshotRestorer.kt | 18 package com.android.wallpaper.picker.customization.domain.interactor in <lambda>() 21 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotRestorer in <lambda>() 22 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotStore in <lambda>() 32 private val interactor: WallpaperInteractor, in <lambda>() constant in com.android.wallpaper.picker.customization.domain.interactor.WallpaperSnapshotRestorer 50 interactor.setWallpaper( in <lambda>() 58 interactor.setWallpaper( in <lambda>() 68 interactor.selectedWallpaperId(destination = WallpaperDestination.HOME), in <lambda>() 69 interactor.selectedWallpaperId(destination = WallpaperDestination.LOCK), in <lambda>() 104 return interactor.selectedWallpaperId(destination = destination).value in <lambda>()
|
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/picker/clock/ui/viewmodel/ |
D | ClockSectionViewModelTest.kt | 21 import com.android.customization.picker.clock.domain.interactor.ClockPickerInteractor 22 import com.android.customization.picker.clock.domain.interactor.ClockPickerSnapshotRestorer 47 private lateinit var interactor: ClockPickerInteractor variable in com.android.customization.picker.clock.ui.viewmodel.ClockSectionViewModelTest 56 interactor = in setUp() 60 ClockPickerSnapshotRestorer(interactor = interactor).apply { in setUp() 68 interactor, in setUp() 83 interactor.setClockColor( in <lambda>() 91 interactor.setClockSize(ClockSize.DYNAMIC) in <lambda>()
|
D | ClockCarouselViewModelTest.kt | 21 import com.android.customization.picker.clock.domain.interactor.ClockPickerInteractor 22 import com.android.customization.picker.clock.domain.interactor.ClockPickerSnapshotRestorer 63 private lateinit var interactor: ClockPickerInteractor variable in com.android.customization.picker.clock.ui.viewmodel.ClockCarouselViewModelTest 95 ClockPickerSnapshotRestorer(interactor = interactor).apply { in getClockPickerInteractor() 100 .also { interactor = it } in getClockPickerInteractor()
|
D | ClockSettingsViewModelTest.kt | 7 import com.android.customization.picker.clock.domain.interactor.ClockPickerInteractor in <lambda>() 8 import com.android.customization.picker.clock.domain.interactor.ClockPickerSnapshotRestorer in <lambda>() 12 import com.android.customization.picker.color.domain.interactor.ColorPickerInteractor in <lambda>() 13 import com.android.customization.picker.color.domain.interactor.ColorPickerSnapshotRestorer in <lambda>() 65 ClockPickerSnapshotRestorer(interactor = clockPickerInteractor).apply { in <lambda>() 74 ColorPickerSnapshotRestorer(interactor = colorPickerInteractor).apply { in <lambda>()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/notifications/ui/viewmodel/ |
D | NotificationSectionViewModel.kt | 24 import com.android.customization.picker.notifications.domain.interactor.NotificationsInteractor in <lambda>() 33 private val interactor: NotificationsInteractor, in <lambda>() constant in com.android.customization.picker.notifications.ui.viewmodel.NotificationSectionViewModel 38 interactor.settings.map { model -> model.isShowNotificationsOnLockScreenEnabled } in <lambda>() 42 viewModelScope.launch { interactor.toggleShowNotificationsOnLockScreenEnabled() } in <lambda>() 46 private val interactor: NotificationsInteractor, in <lambda>() constant in com.android.customization.picker.notifications.ui.viewmodel.NotificationSectionViewModel.Factory 51 interactor = interactor, in <lambda>()
|
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/picker/notifications/ui/viewmodel/ |
D | NotificationSectionViewModelTest.kt | 22 import com.android.customization.picker.notifications.domain.interactor.NotificationsInteractor 23 import com.android.customization.picker.notifications.domain.interactor.NotificationsSnapshotRestor… 50 private lateinit var interactor: NotificationsInteractor variable in com.android.customization.picker.notifications.ui.viewmodel.NotificationSectionViewModelTest 57 interactor = in setUp() 67 interactor = interactor, in setUp() 75 interactor = interactor, in setUp()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/viewmodel/ |
D | WallpaperQuickSwitchViewModel.kt | 22 import com.android.wallpaper.picker.customization.domain.interactor.WallpaperInteractor in <lambda>() 37 private val interactor: WallpaperInteractor, in <lambda>() constant in com.android.wallpaper.picker.customization.ui.viewmodel.WallpaperQuickSwitchViewModel 40 maxOptions: Int = interactor.maxOptions, in <lambda>() 44 interactor in <lambda>() 52 interactor in <lambda>() 61 interactor in <lambda>() 95 interactor.loadThumbnail( in <lambda>() 157 interactor.setWallpaper( in <lambda>() 178 val areRecentsAvailable: Boolean = interactor.areRecentsAvailable in <lambda>()
|
D | CustomizationPickerViewModel.kt | 28 import com.android.wallpaper.picker.customization.domain.interactor.WallpaperInteractor in <lambda>() 30 import com.android.wallpaper.picker.undo.domain.interactor.UndoInteractor in <lambda>() 48 interactor = undoInteractor, in <lambda>() 53 interactor = wallpaperInteractor, in <lambda>() 60 interactor = wallpaperInteractor, in <lambda>()
|
/packages/apps/ThemePicker/src/com/android/customization/module/ |
D | ThemePickerInjector.kt | 36 import com.android.customization.model.grid.domain.interactor.GridInteractor in <lambda>() 37 import com.android.customization.model.grid.domain.interactor.GridSnapshotRestorer in <lambda>() 45 import com.android.customization.model.themedicon.domain.interactor.ThemedIconInteractor in <lambda>() 46 import com.android.customization.model.themedicon.domain.interactor.ThemedIconSnapshotRestorer in <lambda>() 49 import com.android.customization.picker.clock.domain.interactor.ClockPickerInteractor in <lambda>() 50 import com.android.customization.picker.clock.domain.interactor.ClockPickerSnapshotRestorer in <lambda>() 58 import com.android.customization.picker.color.domain.interactor.ColorPickerInteractor in <lambda>() 59 import com.android.customization.picker.color.domain.interactor.ColorPickerSnapshotRestorer in <lambda>() 62 import com.android.customization.picker.notifications.domain.interactor.NotificationsInteractor in <lambda>() 63 import com.android.customization.picker.notifications.domain.interactor.NotificationsSnapshotRestor… in <lambda>() [all …]
|
D | CustomizationInjector.kt | 25 import com.android.customization.picker.clock.domain.interactor.ClockPickerInteractor 31 import com.android.customization.picker.color.domain.interactor.ColorPickerInteractor 33 import com.android.customization.picker.quickaffordance.domain.interactor.KeyguardQuickAffordancePi… 71 interactor: ClockPickerInteractor,
|
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/grid/ui/viewmodel/ |
D | GridScreenViewModelTest.kt | 23 import com.android.customization.model.grid.domain.interactor.GridInteractor in <lambda>() 24 import com.android.customization.model.grid.domain.interactor.GridSnapshotRestorer in <lambda>() 46 private lateinit var interactor: GridInteractor in <lambda>() variable in com.android.customization.model.grid.ui.viewmodel.GridScreenViewModelTest 53 interactor = in <lambda>() 63 interactor = interactor, in <lambda>() 72 interactor = interactor, in <lambda>()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/notifications/domain/interactor/ |
D | NotificationsSnapshotRestorer.kt | 18 package com.android.customization.picker.notifications.domain.interactor 21 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotRestorer 22 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotStore 27 private val interactor: NotificationsInteractor, constant in com.android.customization.picker.notifications.domain.interactor.NotificationsSnapshotRestorer 40 return snapshot(interactor.getSettings()) in setUpSnapshotRestorer() 46 interactor.setSettings( in restoreToSnapshot()
|
/packages/apps/ThemePicker/src/com/android/customization/model/grid/domain/interactor/ |
D | GridSnapshotRestorer.kt | 18 package com.android.customization.model.grid.domain.interactor in <lambda>() 22 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotRestorer in <lambda>() 23 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotStore in <lambda>() 27 private val interactor: GridInteractor, in <lambda>() constant in com.android.customization.model.grid.domain.interactor.GridSnapshotRestorer 35 val option = interactor.getSelectedOption() in <lambda>() 53 interactor.setSelectedOption(optionToRestore) in <lambda>()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/color/ui/viewmodel/ |
D | ColorPickerViewModel.kt | 24 import com.android.customization.picker.color.domain.interactor.ColorPickerInteractor in <lambda>() 45 private val interactor: ColorPickerInteractor, in <lambda>() constant 53 interactor.colorOptions, in <lambda>() 96 interactor.colorOptions in <lambda>() 109 interactor.activeColorOption in <lambda>() 144 interactor.select(colorOptionModel) in <lambda>() 207 private val interactor: ColorPickerInteractor, in <lambda>() constant in com.android.customization.picker.color.ui.viewmodel.Factory 213 interactor = interactor, in <lambda>()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/color/domain/interactor/ |
D | ColorPickerSnapshotRestorer.kt | 18 package com.android.customization.picker.color.domain.interactor in <lambda>() 22 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotRestorer in <lambda>() 23 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotStore in <lambda>() 28 private val interactor: ColorPickerInteractor, in <lambda>() constant in com.android.customization.picker.color.domain.interactor.ColorPickerSnapshotRestorer 42 originalOption = interactor.getCurrentColorOption() in <lambda>() 63 interactor.select(optionToRestore) in <lambda>()
|
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/undo/ui/viewmodel/ |
D | UndoViewModelTest.kt | 22 import com.android.wallpaper.picker.undo.domain.interactor.UndoInteractor 43 private lateinit var interactor: UndoInteractor variable in com.android.wallpaper.picker.undo.ui.viewmodel.UndoViewModelTest 49 interactor = in setUp() 58 interactor = interactor, in setUp() 71 interactor.startSession() in revert()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/domain/interactor/ |
D | ClockPickerSnapshotRestorer.kt | 18 package com.android.customization.picker.clock.domain.interactor in <lambda>() 23 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotRestorer in <lambda>() 24 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotStore in <lambda>() 28 class ClockPickerSnapshotRestorer(private val interactor: ClockPickerInteractor) : in <lambda>() constant in com.android.customization.picker.clock.domain.interactor.ClockPickerSnapshotRestorer 37 originalOption = interactor.getCurrentClockToRestore() in <lambda>() 61 interactor.setClockOption(optionToRestore) in <lambda>()
|
/packages/apps/ThemePicker/src/com/android/customization/model/grid/ui/viewmodel/ |
D | GridScreenViewModel.kt | 27 import com.android.customization.model.grid.domain.interactor.GridInteractor in <lambda>() 39 private val interactor: GridInteractor, in <lambda>() constant 46 interactor.options.map { model -> toViewModel(model) } in <lambda>() 92 private val interactor: GridInteractor, in <lambda>() constant 101 interactor = interactor, in <lambda>()
|
/packages/apps/ThemePicker/src/com/android/customization/model/themedicon/domain/interactor/ |
D | ThemedIconSnapshotRestorer.kt | 18 package com.android.customization.model.themedicon.domain.interactor 20 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotRestorer 21 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotStore 27 private val interactor: ThemedIconInteractor, constant in com.android.customization.model.themedicon.domain.interactor.ThemedIconSnapshotRestorer 40 interactor.setActivated(isActivated) in restoreToSnapshot()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/quickaffordance/domain/interactor/ |
D | KeyguardQuickAffordanceSnapshotRestorer.kt | 18 package com.android.customization.picker.quickaffordance.domain.interactor in <lambda>() 21 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotRestorer in <lambda>() 22 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotStore in <lambda>() 27 private val interactor: KeyguardQuickAffordancePickerInteractor, in <lambda>() constant in com.android.customization.picker.quickaffordance.domain.interactor.KeyguardQuickAffordanceSnapshotRestorer 53 interactor.select( in <lambda>()
|
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/picker/color/ui/viewmodel/ |
D | ColorPickerViewModelTest.kt | 23 import com.android.customization.picker.color.domain.interactor.ColorPickerInteractor in <lambda>() 24 import com.android.customization.picker.color.domain.interactor.ColorPickerSnapshotRestorer in <lambda>() 54 private lateinit var interactor: ColorPickerInteractor in <lambda>() variable in com.android.customization.model.picker.color.ui.viewmodel.ColorPickerViewModelTest 69 interactor = in <lambda>() 73 ColorPickerSnapshotRestorer(interactor = interactor).apply { in <lambda>() 80 ColorPickerViewModel.Factory(context = context, interactor = interactor) in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/undo/ui/viewmodel/ |
D | UndoViewModel.kt | 26 import com.android.wallpaper.picker.undo.domain.interactor.UndoInteractor 33 private val interactor: UndoInteractor, constant in com.android.wallpaper.picker.undo.ui.viewmodel.UndoViewModel 36 val isRevertButtonVisible: Flow<Boolean> = interactor.isUndoable 65 interactor.revertAll() in onRevertButtonClicked()
|
/packages/apps/ThemePicker/src/com/android/customization/model/themedicon/ |
D | ThemedIconSectionController.java | 25 import com.android.customization.model.themedicon.domain.interactor.ThemedIconInteractor; 26 import com.android.customization.model.themedicon.domain.interactor.ThemedIconSnapshotRestorer; 47 ThemedIconInteractor interactor, in ThemedIconSectionController() argument 51 mInteractor = interactor; in ThemedIconSectionController()
|